/**
 * JuristData Auth-Skin — klassische Kanzlei (Rechtsanwältinnen und Rechtsanwälte).
 *
 * Mechanik: reines Präsentations-Layer über dem gemeinsamen Funktionskern
 * (login.php / forgot-password.php laden public/assets/css/auth-skin-<slug>.css
 * automatisch). Formulare, Buttons, View-Transitions bleiben unberührt.
 *
 * Gestaltung: Mandat und Vertrauen — warmes Papier statt dunkler Bühne, eine
 * Serifen-Wortmarke wie auf einem Schriftsatz, rechts ein tiefes Kanzlei-Panel
 * in der Markenfarbe (#7C2D12, aus dem offiziellen Logo-Verlauf). Spiegelt
 * bewusst das ClockData-Muster (Panel links) — gleiche Qualität, eigener Aufbau.
 */

body {
    background: #f8f5f0 !important;
}

/* Dunkle Bühnen-Elemente aus; Fach-Icons (Waage, Gesetz, Feder) als warmer Unterton */
.bg-canvas, .bg-grid { display: none !important; }
.bg-icons i { color: #7c2d12 !important; opacity: .05 !important; }

/* Wortmarke wie ein Kanzleibriefkopf: Serife, Trennstrich in Markenfarbe */
.logo-text {
    font-family: Georgia, 'Times New Roman', serif !important;
    color: #1c1917 !important;
    letter-spacing: 0 !important;
}
.logo-text em {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: currentColor !important;
    background-clip: initial !important;
    color: #7c2d12 !important;
}
.logo-sub { color: #6b6257 !important; }
.logo-area::after {
    content: "";
    display: block;
    width: 56px;
    margin: 12px auto 0;
    border-top: 2px solid #7c2d12;
}

/* Karte: warmes Papier, ruhiger Schatten, Serifen-Überschrift */
.auth-card {
    border: 1px solid #e7e0d6;
    box-shadow: 0 18px 48px -20px rgba(64, 38, 18, 0.28) !important;
}
.card-header h1 { font-family: Georgia, 'Times New Roman', serif !important; }

/* Footer auf hellem Grund lesbar halten */
.security-badge {
    background: #efe9df !important;
    border: 1px solid #e0d7c8 !important;
    color: #57534e !important;
}
.legal-links, .legal-links a { color: #6b6257 !important; }
.legal-links a:hover { color: #1c1917 !important; }

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

    body::before {
        content: "";
        position: fixed;
        top: 0; bottom: 0; right: 0;
        width: 42%;
        background-image:
            url(/assets/img/logos/juristdata-icon-white.svg),
            radial-gradient(860px 600px at 10% -12%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 55%),
            linear-gradient(200deg, #96400f 0%, #7c2d12 48%, #2f1107 100%);
        background-repeat: no-repeat, no-repeat, no-repeat;
        background-position: calc(100% - 56px) 56px, 0 0, 0 0;
        background-size: 44px 44px, cover, cover;
        z-index: 0;
    }

    body::after {
        content: "Mandat für Mandat.\A Frist für Frist.\A Verlässlich.";
        white-space: pre-line;
        position: fixed;
        right: 56px;
        bottom: 13%;
        width: calc(42% - 112px);
        max-width: 440px;
        text-align: right;
        color: #ffffff;
        font-family: Georgia, 'Times New Roman', serif;
        font-size: 30px;
        font-weight: 400;
        line-height: 1.4;
        letter-spacing: 0.2px;
        z-index: 1;
        text-wrap: balance;
    }

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