:root {
	color-scheme: only light;
	
    --orange: #F97316;
    --navy: #0F172A;
    --light: #E5E7EB;
    --secondary: #3B82F6;
    --accent: #14B8A6;
    --soft-black: #1A1E23;
    --white: #ffffff;
    --bg: #f8fafc;
    --border: rgba(15, 23, 42, 0.08);
    --text: #0f172a;
    --muted: #64748b;
    --danger: #dc2626;
    --success: #059669;
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(59,130,246,0.10), transparent 30%),
        radial-gradient(circle at top right, rgba(20,184,166,0.10), transparent 30%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    color: var(--text);
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-shell {
    flex: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}
.auth-left {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: flex-start;
    padding-top: 56px;
    padding-bottom: 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #0b1120 0%, #0f172a 55%, #111827 100%);
}

.auth-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(11, 17, 32, 0.42), rgba(15, 23, 42, 0.58)),
        url('https://app.followupp.de/img/auth/auth-bg2.jpg') center center / cover no-repeat;
    transform: scale(1.03);
    z-index: 0;
}

.auth-left::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(59,130,246,0.18), transparent 30%),
        radial-gradient(circle at bottom left, rgba(20,184,166,0.12), transparent 26%);
    z-index: 1;
    pointer-events: none;
}

.auth-left-content,
.brand,
.auth-stats {
    position: relative;
    z-index: 2;
}

.brand {
    position: relative;
    z-index: 2;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(12px);
}

.brand h1 {
    margin: 28px 0 14px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.02;
}

.brand p {
    max-width: 560px;
    color: rgba(255,255,255,0.76);
    font-size: 18px;
    line-height: 1.6;
}

.brand-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.mobile-logo {
    display: none;
    text-align: center;
    padding: 40px 0 15px;
}

.mobile-logo img {
    height: 50px;
}

@media (max-width: 980px) {

    .auth-left {
        display: none;
    }

    .mobile-logo {
        display: block;
    }
}

@media (max-width: 768px) {

    .auth-right {
        padding-top: 0;
    }

    .auth-card {
        margin-top: 0;
    }
}

.auth-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.stat-card {
    min-width: 150px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
}

.stat-card strong {
    display: block;
    font-size: 24px;
    margin-bottom: 6px;
}

.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: var(--shadow);
    border-radius: 30px;
    padding: 34px;
}

.auth-card h2 {
    margin: 0 0 8px;
    font-size: 34px;
    line-height: 1.1;
}

.auth-card .subtitle {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 15px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.92);
    border-radius: 16px;
    padding: 15px 16px;
    font-size: 16px;
    outline: none;
    transition: 0.2s ease;
}

.form-input:focus {
    border-color: rgba(59,130,246,0.45);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
}

.input-hint {
    font-size: 13px;
    margin-top: 6px;
    color: #64748b;
}

.input-hint.ok {
    color: #059669;
}

.input-hint.error {
    color: #dc2626;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-row > * {
    flex: 1;
}

.password-rules {
    margin-top: 12px;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.password-rules div {
    color: #64748b;
    position: relative;
    padding-left: 22px;
    line-height: 1.5;
}

.password-rules .fail {
    color: #dc2626;
}

.password-rules .fail::before {
    content: "✖";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
}

.password-rules .ok {
    color: #059669;
}

.password-rules .ok::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

button:not(:disabled):hover {
    transform: translateY(-1px);
}

.verify-page button[type="submit"] {
    display: none;
}

.code-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
    width: 100%;
}

.code-inputs input {
    flex: 1;
    min-width: 0;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: rgba(255,255,255,0.92);
    outline: none;
    transition: all 0.2s ease;
}

/* Fokus (orange – deine Brandfarbe 👍) */
.code-inputs input:focus {
    border-color: rgba(249,115,22,0.7);
    box-shadow: 0 0 0 4px rgba(249,115,22,0.12);
}

/* ausgefüllt */
.code-inputs input.filled {
    border-color: #059669;
    background: rgba(5, 150, 105, 0.08);
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.15);
}

/* komplett fertig */
.code-inputs input.complete {
    border-color: #059669;
    background: rgba(5, 150, 105, 0.12);
}

/* Animation */
.code-inputs input.pulse {
    animation: pulseAnim 0.25s ease;
}

@keyframes pulseAnim {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .code-inputs {
        gap: 8px;
    }

    .code-inputs input {
        width: 44px;
        height: 56px;
        font-size: 22px;
    }
}

.checkbox-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin: 8px 0 22px;
    flex-wrap: wrap;
}

.checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
}

.checkbox-inline input {
    width: 18px;
    height: 18px;
}

.btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 16px;
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange), #fb923c);
    color: var(--white);
}

.btn-secondary {
    background: var(--navy);
    color: var(--white);
}

.auth-links {
    margin-top: 22px;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}

.auth-links a,
.inline-link {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
}

.alert {
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-error {
    background: rgba(220,38,38,0.08);
    color: var(--danger);
    border: 1px solid rgba(220,38,38,0.12);
}

.alert-success {
    background: rgba(5,150,105,0.08);
    color: var(--success);
    border: 1px solid rgba(5,150,105,0.12);
}

.top-link {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.password-hint {
    margin-top: 8px;
    font-size: 13px;
    color: var(--muted);
}

@media (max-width: 980px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        padding: 18px;
    }

    .auth-card {
        padding: 26px 20px;
        border-radius: 24px;
    }

    .auth-card h2 {
        font-size: 28px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {

    .auth-right {
        align-items: flex-start;   /* statt center */
        padding-top: 0;
    }

    .auth-card {
        margin-top: 10px;
    }
}

.checkbox-group {
    margin-top: 6px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.checkbox-label a {
    color: #f97316;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* =========================
   AUTH LEFT – LAYOUT FIX
========================= */

.auth-left {
    justify-content: center !important;
    align-items: center;
}

/* neuer Wrapper optional (falls vorhanden) */
.auth-left-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 620px;
}

/* =========================
   BRAND BLOCK
========================= */

.brand {
    max-width: 620px;
}

.brand h1 {
    margin-bottom: 14px;
}

.brand p {
    margin-bottom: 0;
    color: rgba(255,255,255,0.78);
}

/* =========================
   STAT CARDS – NEUES LAYOUT
========================= */

.auth-stats {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 30px;
    max-width: 460px;
}

/* einzelne Card */
.stat-card {
    width: 100%;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-left: 4px solid var(--orange);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.14);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* leichter Hover-Effekt */
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.18);
}

/* Überschrift */
.stat-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 1.3;
    color: var(--orange);
    font-weight: 800;
}

/* Text */
.stat-card span {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.78);
}

/* =========================
   MOBILE FIX (optional)
========================= */

@media (max-width: 980px) {
    .auth-stats {
        max-width: 100%;
    }
}

/* =========================================
   AUTH GLOBAL ALIGNMENT (LOGIN + REGISTER)
========================================= */

/* gesamtes Layout nicht mehr zentrieren */
.auth-left {
    justify-content: flex-start !important;
    align-items: flex-start;
    padding-top: 56px;
    padding-bottom: 40px;
}

/* Content Block links */
.auth-left-content {
    margin-top: 0;
}

/* rechter Bereich (Form) */
.auth-right {
    align-items: flex-start;
    padding-top: 48px;
    padding-bottom: 32px;
}

/* Form Card */
.auth-card {
    margin-top: 0;
}

/* Stats leicht nach unten vom Text lösen */
.auth-stats {
    margin-top: 28px;
}

/* Mobile leicht kompakter */
@media (max-width: 980px) {
    .auth-right {
        padding-top: 20px;
    }
}

.start-benefits {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.start-benefit {
    padding: 16px 18px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.start-benefit strong {
    display: block;
    font-size: 15px;
    line-height: 1.35;
    color: #0f172a;
    margin-bottom: 4px;
}

.start-benefit span {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
}

.form-input.is-error {
    border-color: rgba(220,38,38,0.55);
    background: rgba(220,38,38,0.03);
}

.form-input.is-error:focus {
    border-color: rgba(220,38,38,0.65);
    box-shadow: 0 0 0 4px rgba(220,38,38,0.12);
}

.form-input.is-valid {
    border-color: rgba(5,150,105,0.55);
    background: rgba(5,150,105,0.04);
}

.form-input.is-valid:focus {
    border-color: rgba(5,150,105,0.65);
    box-shadow: 0 0 0 4px rgba(5,150,105,0.12);
}

.auth-footer-desktop {
    position: absolute;
    left: 32px;
    bottom: 24px;
    z-index: 3;
}

.auth-footer-mobile {
    display: none;
}

.footer-right {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* DESKTOP (links unten im Bild) */
.auth-footer-desktop .footer-right a {
    font-size: 13px;
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.auth-footer-desktop .footer-right a:hover {
    color: #ffffff;
    opacity: 1;
}
@media (max-width: 980px) {
    .auth-footer-desktop {
        display: none;
    }

    .auth-footer-mobile {
        display: block;
        padding: 10px 18px 28px;
        text-align: center;
        font-size: 13px; /* 👈 globale Schrift kleiner */
    }

    .auth-footer-mobile .footer-right {
        justify-content: center;
        gap: 12px 18px;
    }

    .auth-footer-mobile .footer-right a {
        color: #64748b;
        font-size: 13px; /* optional nochmal explizit */
    }

    .auth-footer-mobile .footer-right a:hover {
        color: #0f172a;
    }
}

.register-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: 12px;

    /* 👇 mehr Kontrast + Brand */
    background: linear-gradient(135deg, rgba(249,115,22,0.10), rgba(249,115,22,0.04));
    border: 1px solid rgba(249,115,22,0.25);

    color: #7c2d12;
    font-size: 14px;
    line-height: 1.5;

    /* 👇 leichtes Highlight */
    box-shadow: 0 8px 24px rgba(249,115,22,0.08);
}
.register-info-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    color: #f97316; /* Brandfarbe */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.register-info-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}