/**
 * ClockData Auth-Skin — eigenständiger, heller Produkt-Look (Zeiterfassung).
 *
 * Mechanik: reines Präsentations-Layer. Der gemeinsame Funktionskern (Login, 2FA, Passkey,
 * SSO, Magic-Link, Rate-Limits, Enumeration-Schutz) bleibt app/pages/auth/login.php bzw.
 * forgot-password.php — diese Datei wird dort automatisch geladen, wenn sie existiert
 * (public/assets/css/auth-skin-<slug>.css). Weitere Marken bekommen eigene Skins nach
 * demselben Muster, ohne dass Logik dupliziert wird.
 *
 * Gestaltung: ClockData richtet sich an Mitarbeitende, die sich täglich ein-/ausstempeln —
 * heller Arbeits-Look statt dunkler Kanzlei-Bühne. Links ein ruhiges Markenpanel mit Claim,
 * rechts die Anmeldekarte. Primärfarbe #2955A2 (aus dem offiziellen Logo abgeleitet) kommt aus web4data_brands (DB = Wahrheit)
 * und färbt die Hauptaktion über die bestehenden CSS-Variablen.
 */

body {
    background: #f1f5f9 !important;
}

/* Dunkle Bühnen-Elemente aus, dezente Zeit-Icons bleiben (rechts, sehr leise) */
.bg-canvas, .bg-grid { display: none !important; }
.bg-icons i { color: #2955A2 !important; opacity: .05 !important; }

/* Kopf-Wortmarke auf hellem Grund */
.logo-text { color: #0f172a !important; }
.logo-text em {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: currentColor !important;
    background-clip: initial !important;
    color: #2955A2 !important;
}
.logo-sub { color: #64748b !important; }

/* Karte: heller, ruhiger Schatten statt dunklem Glow */
.auth-card {
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 44px -18px rgba(15, 23, 42, .22) !important;
}

/* Footer auf hellem Grund */
.security-badge {
    background: #e2e8f0 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
}
.legal-links, .legal-links a { color: #64748b !important; }
.legal-links a:hover { color: #0f172a !important; }

/* Ab Desktop-Breite: Marken-Panel links, Anmeldung rechts */
@media (min-width: 1100px) {
    body { justify-content: flex-start !important; }

    body::before {
        content: "";
        position: fixed;
        top: 0; bottom: 0; left: 0;
        width: 44%;
        background-image:
            url(/assets/img/logos/clockdata-icon-white.svg),
            radial-gradient(900px 620px at 88% -12%, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 55%),
            linear-gradient(160deg, #2955a2 0%, #233363 55%, #0e1121 100%);
        background-repeat: no-repeat, no-repeat, no-repeat;
        background-position: 56px 56px, 0 0, 0 0;
        background-size: 44px 44px, cover, cover;
        z-index: 0;
    }

    body::after {
        content: "Zeit erfassen.\A Anwesenheit im Blick.\A Projekte auf die Minute.";
        white-space: pre-line;
        position: fixed;
        left: 56px;
        bottom: 13%;
        width: calc(44% - 112px);
        max-width: 440px;
        color: #ffffff;
        font-size: 30px;
        font-weight: 700;
        line-height: 1.35;
        letter-spacing: -0.3px;
        z-index: 1;
        text-wrap: balance;
    }

    /* Anmeldespalte mittig in der rechten Hälfte */
    .login-wrapper, .page-wrapper {
        margin-left: calc(44% + (56% - 420px) / 2) !important;
        margin-right: 0 !important;
    }
}
