/* ==========================================================================
   E47 PERFORMANCE — LOGIN EXPERIENCE
   Split screen layout with athletic brand hero & minimalist sign-in card
   ========================================================================== */
body.login-page.t-auth-page {
    background: var(--t-bg);
    display: flex;
    min-height: 100vh;
    height: auto;
    align-items: stretch;
    padding: 0;
    margin: 0;
    font-family: var(--t-font);
}

.auth-shell {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* ---------------- LEFT BRAND PANE ---------------- */
.auth-brand-pane {
    flex: 1 1 52%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    color: #FFFFFF;
    background: linear-gradient(165deg, #102728 0%, #193435 45%, #0A1819 100%);
    overflow: hidden;
}
.auth-brand-pane::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: -150px;
    right: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 179, 108, 0.18) 0%, transparent 65%);
    pointer-events: none;
}
.auth-brand-pane::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    bottom: -120px;
    left: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.auth-brand-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 440px;
    animation: t-fade-in 500ms ease both;
}
.auth-brand-content .auth-logo-img {
    width: 180px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}
.auth-brand-content h1 {
    color: #FFFFFF;
    font-family: var(--t-font-display);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.auth-brand-content h1 .gold-word {
    color: var(--e47-primary);
}
.auth-brand-content p {
    color: rgba(240, 240, 229, 0.82);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.auth-disciplines {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}
.auth-discipline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--e47-primary);
    background: rgba(214, 179, 108, 0.12);
    border: 1px solid rgba(214, 179, 108, 0.28);
    padding: 0.35rem 0.85rem;
    border-radius: var(--t-radius-pill);
}

/* ---------------- RIGHT FORM PANE ---------------- */
.auth-form-pane {
    flex: 1 1 48%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    position: relative;
    background: var(--t-bg);
}

.auth-theme-toggle {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--t-card-bg);
    border: 1px solid var(--t-border);
    border-radius: var(--t-radius-card);
    box-shadow: var(--t-shadow-lg);
    padding: 2.5rem 2.2rem;
    animation: t-scale-in 320ms ease both;
}

.auth-card .login-logo,
.auth-card .login-box-msg { display: none; }

.auth-card-title {
    font-family: var(--t-font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--t-text);
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}
.auth-card-subtitle {
    color: var(--t-muted);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.auth-card .input-group {
    margin-bottom: 1.25rem;
}
.auth-card .input-group-text {
    background: var(--t-bg);
    border: 1px solid var(--t-border);
    border-right: none;
    color: var(--t-muted);
    border-radius: var(--t-radius-sm) 0 0 var(--t-radius-sm);
    padding: 0.6rem 0.85rem;
}
.auth-card .form-control {
    border: 1px solid var(--t-border);
    border-left: none;
    border-radius: 0 var(--t-radius-sm) var(--t-radius-sm) 0;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    background: var(--t-card-bg);
    color: var(--t-text);
}
.auth-card .input-group:focus-within .input-group-text,
.auth-card .input-group:focus-within .form-control {
    border-color: var(--e47-primary);
}
.auth-card .input-group:focus-within .input-group-text {
    color: var(--e47-primary);
}

.auth-card .btn-primary {
    padding: 0.7rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-top: 1rem;
}

/* Responsive collapse for tablet/mobile */
@media (max-width: 991px) {
    .auth-shell { flex-direction: column; }
    .auth-brand-pane { flex: 0 0 auto; padding: 2.5rem 1.5rem; min-height: auto; }
    .auth-brand-content h1 { font-size: 1.6rem; }
    .auth-brand-content .auth-logo-img { width: 140px; margin-bottom: 1.25rem; }
    .auth-brand-content p { margin-bottom: 1rem; }
    .auth-form-pane { flex: 1 1 auto; padding: 2rem 1rem; }
    .auth-card { padding: 1.75rem 1.4rem; box-shadow: var(--t-shadow-md); }
}
