/* =============================================================================
 * HubdexPay — Auth screens (login, forgot, reset)
 *
 * Split-screen layout. Form on left, branded panel on right.
 * On mobile, brand panel hides.
 * =========================================================================== */

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 980px) {
    .auth-shell { grid-template-columns: 1fr; }
}

/* ----- Form panel ---------------------------------------------------------- */
.auth-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 56px;
    background: var(--bg-0);
    position: relative;
    z-index: 2;
}
@media (max-width: 720px) {
    .auth-form-panel { padding: 32px 24px; }
}
.auth-form-inner {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.auth-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--fg-3);
}
.auth-foot a {
    color: var(--fg-2);
    transition: color 0.2s;
}
.auth-foot a:hover { color: var(--accent); }

.auth-form-inner h1 {
    font-size: 2rem;
    margin-bottom: 12px;
}
.auth-form-inner .subtitle {
    color: var(--fg-2);
    margin-bottom: 32px;
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form-stack .form-field { margin: 0; }
.form-stack .form-field input {
    padding: 13px 14px;
}
.form-stack button[type="submit"] {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    padding: 14px;
}
.form-stack .form-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--fg-2);
}
.form-stack .form-meta a {
    color: var(--accent);
}

.tab-switcher {
    display: inline-flex;
    padding: 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    margin-bottom: 32px;
}
.tab-switcher a {
    padding: 8px 18px;
    font-size: 13px;
    color: var(--fg-2);
    border-radius: 6px;
    transition: all 0.2s;
    font-weight: 500;
}
.tab-switcher a.active {
    background: rgba(110, 231, 255, 0.08);
    color: var(--fg-0);
    box-shadow: 0 1px 0 rgba(110, 231, 255, 0.15);
}

/* ----- Brand panel --------------------------------------------------------- */
.auth-brand-panel {
    position: relative;
    background: var(--bg-1);
    border-left: 1px solid var(--line);
    overflow: hidden;
    padding: 64px;
    display: flex;
    align-items: center;
}
@media (max-width: 980px) {
    .auth-brand-panel { display: none; }
}
.auth-brand-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(110, 231, 255, 0.18), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(167, 139, 250, 0.18), transparent 50%);
    z-index: 0;
}
.auth-brand-mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(110, 231, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(110, 231, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
}
.auth-brand-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
}
.auth-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 56px;
    padding: 24px;
    border-radius: 12px;
    background: rgba(7, 9, 15, 0.6);
    border: 1px solid var(--line-2);
    backdrop-filter: blur(8px);
}
.auth-stats .stat .num {
    font-family: var(--font-display);
    font-size: 1.85rem;
    color: var(--fg-0);
    margin-bottom: 4px;
}
.auth-stats .stat .lbl {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fg-3);
}
