html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ── MinLink Splash Screen ── */
.splash {
    position: fixed;
    inset: 0;
    background: linear-gradient(150deg, #1a3042 0%, #254358 55%, #1e3d54 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    z-index: 9999;
}

.splash-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.splash-logo {
    width: 150px;
    height: auto;
    display: block;
    animation: splashPulse 2s ease-in-out infinite alternate;
}

@keyframes splashPulse {
    from { opacity: 0.65; transform: scale(0.96); }
    to   { opacity: 1;    transform: scale(1);    }
}

.splash-tagline {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.splash-bar-wrap {
    width: 160px;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.splash-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: #3E78A4;
    width: var(--blazor-load-percentage, 0%);
    transition: width 0.15s ease;
}

code {
    color: #c02d76;
}
