/* ═══════════════════════════════════════════════════════════
   PflegePur Azubi · Auth-Pages (Register + Login)
   Baut auf landing.css auf (nutzt dieselben CSS-Variablen)
   ═══════════════════════════════════════════════════════════ */

/* ─── HEADER ─── */
.auth-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 24px;
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
.auth-header-link {
    font-size: 14px;
    color: var(--text-2);
    font-weight: 500;
    transition: color 0.15s;
    text-align: right;
}
.auth-header-link:hover { color: var(--text-1); }
.auth-header-link strong {
    color: var(--brand-400);
    font-weight: 700;
}
html[data-theme="light"] .auth-header-link strong { color: var(--brand-700); }

/* ─── MAIN: Split-Layout ─── */
.auth-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: calc(100vh - 72px);
    position: relative;
}

/* ─── LEFT: Info-Bereich ─── */
.auth-left {
    display: flex;
    align-items: center;
    padding: 60px 48px 60px 80px;
    background:
        radial-gradient(ellipse 60% 80% at 10% 20%, rgba(139, 92, 246, 0.18), transparent 60%),
        radial-gradient(ellipse 60% 60% at 80% 80%, rgba(251, 113, 133, 0.15), transparent 60%),
        var(--bg);
    position: relative;
    overflow: hidden;
}
.auth-left::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 30% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 50%, black 30%, transparent 80%);
    pointer-events: none;
}

.auth-left-inner {
    max-width: 460px;
    position: relative;
    z-index: 1;
}

.auth-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-400);
    margin-bottom: 16px;
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.12);
    border-radius: 99px;
}
html[data-theme="light"] .auth-eyebrow { color: var(--brand-700); }

.auth-left h1 {
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-1);
    margin-bottom: 20px;
}

.auth-lead {
    font-size: 17px;
    color: var(--text-2);
    line-height: 1.55;
    margin-bottom: 32px;
}

.auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}
.auth-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.5;
}
.auth-benefit strong {
    color: var(--text-1);
    font-weight: 700;
}
.auth-benefit-icon {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-500), var(--accent-400));
    color: white;
    display: grid; place-items: center;
    font-size: 12px; font-weight: 800;
    margin-top: 1px;
}

.auth-trust {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}
.auth-trust-stars {
    font-size: 18px;
    letter-spacing: 1px;
    color: #f59e0b;
    flex-shrink: 0;
}
.auth-trust-text {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.45;
}

/* ─── RIGHT: Form-Bereich ─── */
.auth-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 80px 60px 48px;
    background: var(--bg-2);
    border-left: 1px solid var(--border);
}

.auth-card {
    width: 100%;
    max-width: 460px;
    padding: 36px 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* ─── STEPPER ─── */
.auth-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
}
.auth-step {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.auth-step-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text-3);
    display: grid; place-items: center;
    font-size: 13px; font-weight: 800;
    border: 2px solid var(--border);
    transition: all 0.2s;
    flex-shrink: 0;
}
.auth-step-label {
    font-size: 12px;
    color: var(--text-3);
    font-weight: 700;
    transition: color 0.2s;
    white-space: nowrap;
}
.auth-step.active .auth-step-num {
    background: linear-gradient(135deg, var(--brand-500), var(--accent-400));
    color: white;
    border-color: transparent;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}
.auth-step.active .auth-step-label {
    color: var(--text-1);
}
.auth-step.done .auth-step-num {
    background: var(--success);
    color: white;
    border-color: transparent;
}
.auth-step.done .auth-step-num::before {
    content: '✓';
}
.auth-step.done .auth-step-num {
    font-size: 0;
}
.auth-step.done .auth-step-num::before {
    font-size: 14px;
}
.auth-step-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    border-radius: 99px;
    min-width: 16px;
}

/* ─── PANELS ─── */
.auth-panel {
    display: none;
    animation: authFadeIn 0.3s ease-out;
}
.auth-panel.active {
    display: block;
}
@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-panel h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-1);
    margin-bottom: 6px;
}
.auth-panel-sub {
    font-size: 14px;
    color: var(--text-3);
    line-height: 1.55;
    margin-bottom: 24px;
}

/* ─── FIELDS ─── */
.auth-field {
    display: block;
    margin-bottom: 16px;
}
.auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}
.auth-field-row .auth-field { margin-bottom: 0; }

.auth-field-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-2);
    margin-bottom: 6px;
}
.auth-optional {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    font-size: 11px;
    color: var(--text-3);
    font-style: italic;
}
.auth-field-small {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    font-size: 11px;
    color: var(--text-3);
}

.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"],
.auth-field input[type="date"],
.auth-field input[type="tel"],
.auth-field input[type="number"],
.auth-field select,
.auth-field textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg-2);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-1);
    font-family: var(--font-sans);
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
    outline: none;
    border-color: var(--brand-500);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}
.auth-field input::placeholder {
    color: var(--text-3);
    opacity: 0.7;
}

.auth-field-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.5;
}

/* ─── RADIO-BOX (Ausbildungsjahr) ─── */
.auth-segment {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.auth-radio {
    display: block;
    cursor: pointer;
}
.auth-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.auth-radio-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 14px 8px;
    background: var(--bg-2);
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: all 0.15s;
    min-height: 72px;
}
.auth-radio:hover .auth-radio-box {
    border-color: var(--border-2);
    background: var(--surface);
}
.auth-radio input[type="radio"]:checked + .auth-radio-box {
    background: color-mix(in srgb, var(--brand-500) 12%, var(--bg-2));
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}
.auth-radio-num {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-1);
    letter-spacing: -0.02em;
    line-height: 1;
}
.auth-radio input[type="radio"]:checked + .auth-radio-box .auth-radio-num {
    color: var(--brand-400);
}
html[data-theme="light"] .auth-radio input[type="radio"]:checked + .auth-radio-box .auth-radio-num { color: var(--brand-700); }
.auth-radio-sub {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ─── PASSWORD-FELD mit Toggle ─── */
.auth-password-wrap {
    position: relative;
}
.auth-password-wrap input {
    padding-right: 72px !important;
}
.auth-password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px 10px;
    background: var(--surface-2);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.15s, color 0.15s;
}
.auth-password-toggle:hover {
    background: var(--border-2);
    color: var(--text-1);
}

.auth-password-strength {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}
.auth-pw-bar {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 99px;
    overflow: hidden;
}
.auth-pw-bar-fill {
    height: 100%;
    width: 0%;
    background: transparent;
    border-radius: 99px;
    transition: width 0.25s, background 0.25s;
}
.auth-pw-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    transition: color 0.25s;
}

/* ─── CHECKBOXEN ─── */
.auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.5;
    cursor: pointer;
}
.auth-checkbox input[type="checkbox"] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    accent-color: var(--brand-500);
    cursor: pointer;
}
.auth-checkbox a {
    color: var(--brand-400);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
html[data-theme="light"] .auth-checkbox a { color: var(--brand-700); }

/* ─── ERROR ─── */
.auth-error {
    padding: 11px 14px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 10px;
    font-size: 13px;
    color: var(--danger);
    font-weight: 600;
    margin-top: 14px;
    margin-bottom: 14px;
}

/* ─── PANEL-ACTIONS (Buttons unten) ─── */
.auth-panel-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}
.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 22px;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    cursor: pointer;
}
.auth-btn-primary {
    flex: 1;
    background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
    color: white;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}
.auth-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.5);
}
.auth-btn-secondary {
    flex-shrink: 0;
    background: var(--bg-2);
    color: var(--text-2);
    border: 1px solid var(--border);
}
.auth-btn-secondary:hover {
    background: var(--surface-2);
    color: var(--text-1);
}

/* ─── Footer-Note unter der Karte ─── */
.auth-footer-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-3);
    text-align: center;
}
.auth-footer-note a {
    color: var(--brand-400);
    font-weight: 700;
}
html[data-theme="light"] .auth-footer-note a { color: var(--brand-700); }

/* ─── MOBILE ─── */
@media (max-width: 960px) {
    .auth-main {
        grid-template-columns: 1fr;
    }
    .auth-left {
        padding: 40px 24px;
    }
    .auth-left-inner {
        max-width: 100%;
    }
    .auth-left h1 { font-size: 30px; }
    .auth-lead { font-size: 15px; margin-bottom: 24px; }
    .auth-benefits { gap: 10px; margin-bottom: 24px; }
    .auth-right {
        padding: 40px 24px;
        border-left: none;
        border-top: 1px solid var(--border);
    }
}

@media (max-width: 520px) {
    .auth-header {
        padding: 12px 16px;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    .auth-header-link {
        font-size: 13px;
    }
    .auth-card {
        padding: 24px 20px;
    }
    .auth-field-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .auth-segment {
        grid-template-columns: repeat(2, 1fr);
    }
    .auth-panel-actions {
        flex-direction: column-reverse;
    }
    .auth-btn-secondary {
        width: 100%;
    }
    .auth-stepper {
        gap: 4px;
    }
    .auth-step-label {
        display: none;
    }
    .auth-step-line {
        min-width: 20px;
    }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ─── Login-spezifische Zusatz-Styles ─── */
.auth-login-head {
    margin-bottom: 24px;
}
.auth-login-head h2 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-1);
    margin-bottom: 6px;
}

.auth-field-forgot {
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-400);
    text-transform: none;
    letter-spacing: 0;
    transition: color 0.15s;
}
.auth-field-forgot:hover { color: var(--accent-400); }
html[data-theme="light"] .auth-field-forgot { color: var(--brand-700); }

.auth-checkbox-remember {
    margin-top: -4px;
    margin-bottom: 20px;
    font-size: 13px;
}

.auth-panel-actions-solo {
    flex-direction: column;
}
.auth-panel-actions-solo .auth-btn { width: 100%; }

.auth-btn-full {
    width: 100%;
    justify-content: center;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 16px;
    color: var(--text-3);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ═══════════════════════════════════════════════════════════
   DSGVO-Alter-Consent-Boxes (Step 1 der Registrierung)
   ═══════════════════════════════════════════════════════════ */
.auth-consent-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    margin: 4px 0 12px;
}
.auth-consent-box.auth-consent-info {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}
.auth-consent-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    padding-top: 2px;
}
.auth-consent-body {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: var(--text-1, #fff);
    line-height: 1.5;
}
.auth-consent-body strong {
    display: block;
    font-weight: 800;
    margin-bottom: 4px;
    font-size: 13px;
    letter-spacing: -0.005em;
}
.auth-consent-body p {
    margin: 0 0 10px;
    font-size: 12px;
    color: var(--text-2, rgba(255,255,255,0.8));
    line-height: 1.5;
}
.auth-consent-body p:last-child { margin-bottom: 0; }
.auth-consent-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.4;
}
.auth-consent-check input[type="checkbox"] {
    margin: 2px 0 0;
    accent-color: #ef4444;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   Date-Picker · vollständiges Custom-Styling
   Die nativen <input type="date"> Elemente werden von WebKit/Blink
   mit 5 Pseudo-Elementen gestylt — wir überschreiben jedes einzelne,
   damit Picker + Input zum Auth-Theme passen.
   ═══════════════════════════════════════════════════════════ */

/* Color-scheme sagt dem Browser Picker-Popup-Dark/Light an */
html[data-theme="dark"]  { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }

/* iOS-Touch-Target + Font-Family */
.auth-field input[type="date"] {
    min-height: 44px;
    font-family: inherit;
    letter-spacing: 0;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

/* Alle Teile des Datetime-Edit-Feldes (Tag/Monat/Jahr + Trennzeichen) */
.auth-field input[type="date"]::-webkit-datetime-edit,
.auth-field input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.auth-field input[type="date"]::-webkit-datetime-edit-text,
.auth-field input[type="date"]::-webkit-datetime-edit-day-field,
.auth-field input[type="date"]::-webkit-datetime-edit-month-field,
.auth-field input[type="date"]::-webkit-datetime-edit-year-field {
    color: var(--text-1);
    font-family: inherit;
    padding: 0 1px;
}

/* Platzhalter (tt.mm.jjjj wenn leer) deutlich heller */
.auth-field input[type="date"]:not(.has-value):invalid::-webkit-datetime-edit,
.auth-field input[type="date"]:not(.has-value):invalid::-webkit-datetime-edit-fields-wrapper,
.auth-field input[type="date"]:not(.has-value):invalid::-webkit-datetime-edit-text,
.auth-field input[type="date"]:not(.has-value):invalid::-webkit-datetime-edit-day-field,
.auth-field input[type="date"]:not(.has-value):invalid::-webkit-datetime-edit-month-field,
.auth-field input[type="date"]:not(.has-value):invalid::-webkit-datetime-edit-year-field {
    color: var(--text-3);
    opacity: 0.85;
}

/* Fallback: Wenn der Browser :invalid nicht so wie wir nutzt */
html[data-theme="dark"] .auth-field input[type="date"]::-webkit-datetime-edit-day-field[aria-valuetext=""],
html[data-theme="dark"] .auth-field input[type="date"]::-webkit-datetime-edit-month-field[aria-valuetext=""],
html[data-theme="dark"] .auth-field input[type="date"]::-webkit-datetime-edit-year-field[aria-valuetext=""] {
    color: rgba(255, 255, 255, 0.55);
}

/* Hover auf einzelnen Feldern */
.auth-field input[type="date"]::-webkit-datetime-edit-day-field:hover,
.auth-field input[type="date"]::-webkit-datetime-edit-month-field:hover,
.auth-field input[type="date"]::-webkit-datetime-edit-year-field:hover {
    background: rgba(139, 92, 246, 0.2);
    border-radius: 3px;
}

/* Fokussierte Felder (Pfeiltasten-Navigation) */
.auth-field input[type="date"]::-webkit-datetime-edit-day-field:focus,
.auth-field input[type="date"]::-webkit-datetime-edit-month-field:focus,
.auth-field input[type="date"]::-webkit-datetime-edit-year-field:focus {
    background: var(--brand-500);
    color: white;
    outline: none;
    border-radius: 3px;
}

/* Spin-Buttons (die kleinen Pfeile) ausblenden — stören das Layout */
.auth-field input[type="date"]::-webkit-inner-spin-button,
.auth-field input[type="date"]::-webkit-clear-button {
    -webkit-appearance: none;
    display: none;
}

/* Calendar-Icon rechts — custom background statt filter-invert */
html[data-theme="dark"] .auth-field input[type="date"]::-webkit-calendar-picker-indicator {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    opacity: 0.9;
    padding: 4px;
    width: 24px;
    height: 24px;
    filter: none;
}
html[data-theme="dark"] .auth-field input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
}
html[data-theme="light"] .auth-field input[type="date"]::-webkit-calendar-picker-indicator {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    opacity: 0.8;
    padding: 4px;
    width: 24px;
    height: 24px;
    filter: none;
}
html[data-theme="light"] .auth-field input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Firefox: kein pseudo-element; braucht aber auch nichts weiter, Input-Styles greifen */

/* Error-Banner vor Form */
.auth-error-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #fecaca;
    line-height: 1.5;
}
html[data-theme="light"] .auth-error-banner {
    background: rgba(239, 68, 68, 0.08);
    color: #991b1b;
}
.auth-error-icon {
    font-size: 16px;
    line-height: 1.2;
    flex-shrink: 0;
}
