/* ======================================================
   ARONION ACADEMY – LOGIN (Grün/Weiß Split-Screen)
   Design: Links dunkel-grün (Brand) / rechts weiß (Formular)
====================================================== */

:root {
    --green-900:   #0a2e22;
    --green-800:   #0d3b2b;
    --green-700:   #1a5c41;
    --green-600:   #1e6b4a;
    --green-accent: #2d9b68;
    /* semantic aliases */
    --login-dark:   var(--green-900);
    --login-mid:    var(--green-800);
    --login-hover:  var(--green-700);
    --login-brand:  var(--green-600);
    --login-accent: var(--green-accent);
}

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    display: flex;
    background: var(--green-900);
}

/* ======================================================
   SPLIT LAYOUT
====================================================== */

.split-left {
    width: 45%;
    background: linear-gradient(150deg, var(--green-800) 0%, var(--green-900) 60%, #061a12 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-12) var(--space-10);
    overflow: hidden;
}

.split-right {
    width: 55%;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-12) var(--space-12);
    position: relative;
}

/* ======================================================
   LEFT – DEKORATIVE KREISE (wie im Screenshot)
====================================================== */

.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(30, 107, 74, 0.08);
    border: 1px solid rgba(30, 107, 74, 0.14);
    pointer-events: none;
}

.deco-circle-1 {
    width: 450px;
    height: 450px;
    top: -120px;
    right: -160px;
}

.deco-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -100px;
}

.deco-circle-3 {
    width: 180px;
    height: 180px;
    bottom: 60px;
    right: 30px;
    opacity: 0.5;
}

/* ======================================================
   LEFT – BRAND CONTENT
====================================================== */

.brand-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 340px;
}

.brand-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-6);
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.brand-headline {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: var(--space-4);
}

.brand-tagline {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: var(--space-8);
}

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1px solid rgba(30, 107, 74, 0.4);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(30, 107, 74, 0.12);
}

.secure-badge::before {
    content: "●";
    color: var(--login-accent);
    font-size: 8px;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* ======================================================
   RIGHT – FORMULAR
====================================================== */

.login-panel {
    width: 100%;
    max-width: 400px;
}

.form-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-primary-600);
    margin-bottom: var(--space-2);
}

.form-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: var(--space-2);
}

.form-subtitle {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

/* ======================================================
   FORM FELDER
====================================================== */

.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.input-field {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-muted);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    outline: none;
}

.input-field::placeholder {
    color: var(--text-secondary);
}

.input-field:focus {
    border-color: var(--color-primary-500);
    background: var(--bg-surface);
    box-shadow: 0 0 0 4px rgba(30, 107, 74, 0.12);
}

/* ======================================================
   FEHLERBOX
====================================================== */

.error-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--color-danger-50);
    border: 1px solid var(--color-danger-200);
    color: var(--color-danger-700);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-5);
    line-height: 1.4;
}

.error-box svg {
    flex-shrink: 0;
    margin-top: 1px;
}

/* ======================================================
   PASSWORT VERGESSEN
====================================================== */

.forgot-link-wrap {
    text-align: center;
    margin-top: var(--space-5);
}

.forgot-link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.forgot-link:hover {
    color: var(--color-primary-600);
}

/* ======================================================
   SPINNER ANIMATION
====================================================== */

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* ======================================================
   HONEYPOT – für Bots absolut unsichtbar
====================================================== */

.hp-field {
    display: none !important;
    opacity: 0;
    position: absolute;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 860px) {
    .split-left {
        display: none;
    }

    .split-right {
        width: 100%;
        padding: 40px 24px;
    }
}