/* account/auth.css */

body, html { margin: 0; padding: 0; overflow: hidden; height: 100vh; background: var(--bg-void); }

/* PRELOADER */
#preloader {
    position: fixed; inset: 0; background: var(--bg-void); z-index: 9999;
    display: flex; justify-content: center; align-items: center;
}
.preloader-text {
    font-family: var(--font-display); font-size: 28px; letter-spacing: 10px;
    color: var(--accent); text-shadow: var(--glow);
    animation: pulseGlow 1.4s ease-in-out infinite alternate;
}

/* LAYOUT */
.auth-layout { display: flex; height: 100vh; }

/* ── STÂNGA: VIZUAL ── */
.auth-visual {
    flex: 1.3; position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 60px 50px;
}
.vector-bg { position: absolute; inset: 0; z-index: 1; }
.vector-bg svg { width: 100%; height: 100%; object-fit: cover; }
.visual-overlay {
    position: absolute; inset: 0; z-index: 2;
    background:
        linear-gradient(to right, rgba(1,3,7,.2) 0%, rgba(4,10,23,.96) 100%),
        linear-gradient(to top, rgba(1,3,7,.95) 0%, transparent 55%);
}
.visual-content { position: relative; z-index: 3; }

.logo-visual {
    font-family: var(--font-display); font-size: 28px; letter-spacing: 2px;
    color: var(--text-heading); text-decoration: none;
    display: block; margin-bottom: 90px;
}
.logo-visual span { color: var(--accent); text-shadow: var(--glow-soft); }

.vis-line {
    font-family: var(--font-display);
    font-size: clamp(48px, 5.5vw, 80px);
    line-height: 1; letter-spacing: 1px; margin: 0;
    color: var(--text-heading);
    opacity: 0; transform: translateY(40px);
}
.vis-desc {
    font-size: 16px; color: var(--text-body); line-height: 1.6;
    margin-top: 22px; max-width: 440px; font-weight: 300;
    opacity: 0; transform: translateY(20px);
}
.vis-stats {
    display: flex; gap: 32px; margin-top: 32px;
    padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
    opacity: 0; transform: translateY(20px);
}
.vis-stats > div { display: flex; flex-direction: column; }
.vis-stats strong {
    font-family: var(--font-display); font-size: 32px; line-height: 1;
    text-shadow: var(--glow-soft);
}
.vis-stats span {
    font-family: var(--font-ui); font-size: 11px; letter-spacing: 3px;
    color: var(--text-muted); text-transform: uppercase; margin-top: 5px;
}

/* ── DREAPTA: PANEL ── */
.auth-panel {
    flex: 1; display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    padding: 40px; background: var(--bg-body);
    box-shadow: -20px 0 60px rgba(0,0,0,.7);
}
.mobile-logo {
    display: none; font-family: var(--font-display); font-size: 30px;
    letter-spacing: 2px; color: var(--text-heading); text-decoration: none;
    margin-bottom: 40px;
}
.mobile-logo span { color: var(--accent); }

.auth-box { width: 100%; max-width: 400px; opacity: 0; transform: translateY(30px); }

.auth-title { margin-bottom: 40px; }
.auth-title h1 {
    font-family: var(--font-display); font-size: 58px;
    line-height: .92; letter-spacing: 2px; margin-bottom: 12px;
    color: var(--text-heading);
}
.auth-title p { color: var(--text-muted); font-size: 15px; margin: 0; font-family: var(--font-ui); letter-spacing: 1px; }

/* GOOGLE BUTTON */
#google-btn {
    width: 100%; padding: 16px 24px;
    background: #fff; color: #1f1f1f;
    border: none; cursor: pointer;
    font-family: var(--font-ui); font-size: 15px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    display: flex; align-items: center; justify-content: center; gap: 14px;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    transition: background .2s, box-shadow .2s, transform .2s;
}
#google-btn:hover {
    background: #f1f1f1;
    box-shadow: 0 0 30px rgba(255,255,255,.18);
    transform: translateY(-2px);
}
#google-btn:active { transform: translateY(0); }
#google-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.auth-note {
    margin-top: 24px; text-align: center;
    font-family: var(--font-ui); font-size: 12px;
    letter-spacing: 1px; color: var(--text-muted); line-height: 1.7;
}

/* ── MOBILE ── */
@media (max-width: 880px) {
    body, html { overflow-y: auto; height: auto; }
    .auth-layout { flex-direction: column; height: auto; min-height: 100vh; }
    .auth-visual { display: none; }
    .auth-panel { padding: 60px 24px 50px; justify-content: flex-start; box-shadow: none; min-height: 100vh; }
    .mobile-logo { display: block; align-self: center; }
    .auth-box { max-width: 100%; }
    .auth-title h1 { font-size: 48px; }
}
