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;
}

/* ── Splash / loading screen ─────────────────────────────────────────── */
.hbk-splash {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    font-family: 'Roboto', sans-serif;
}

.hbk-spinner {
    width: 72px;
    height: 72px;
    transform: rotate(-90deg);
}

.hbk-spinner-track {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 6;
}

.hbk-spinner-fill {
    fill: none;
    stroke: #006950;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: calc(263.9 * var(--blazor-load-percentage, 0%)), 1000;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.hbk-splash-title {
    margin: 1.5rem 0 0.25rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: #006950;
    letter-spacing: 0.02em;
}

.hbk-splash-hint {
    margin: 0;
    font-size: 0.8125rem;
    color: rgba(0, 0, 0, 0.54);
}

/* ── Error banner ────────────────────────────────────────────────────── */
#blazor-error-ui {
    color-scheme: light only;
    display: none;
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: #323232;
    color: #fff;
    border-left: 4px solid #006950;
    border-radius: 4px;
    box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12);
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    white-space: nowrap;
}

.hbk-error-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
}

.hbk-error-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: #ef5350;
}

#blazor-error-ui .reload {
    color: #80cbc4;
    text-decoration: none;
    font-weight: 500;
}

    #blazor-error-ui .reload:hover {
        text-decoration: underline;
    }

#blazor-error-ui .dismiss {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1;
    padding: 0 0.25rem;
}

    #blazor-error-ui .dismiss:hover {
        color: #fff;
    }

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1rem 1rem 1rem;
    color: white;
    border-left: 4px solid #006950;
    border-radius: 4px;
}

    .blazor-error-boundary::after {
        content: "Ein Fehler ist aufgetreten.";
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}