:root {
    --primary: #22d3ee;
    --primary-hover: #06b6d4;
    --bg-dark: #070b14;
    --bg-card: rgba(15, 23, 42, 0.85);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --card-bg: rgba(15, 23, 42, 0.92);
    --border: rgba(34, 211, 238, 0.2);
    --gold: #fbbf24;
}
* { box-sizing: border-box; margin: 0; padding: 0; }

body.een-auth-page,
.een-auth-page .page-wrapper {
    min-height: 100vh;
    font-family: 'Outfit', system-ui, sans-serif;
    color: var(--text-main);
    background: var(--bg-dark);
}

.een-auth-page .page-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 0;
    position: relative;
    overflow: hidden;
}

@media (min-width: 960px) {
    .een-auth-page .page-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.een-auth-page .page-wrapper::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 10% 20%, rgba(34, 211, 238, 0.15), transparent),
        radial-gradient(ellipse 50% 40% at 90% 80%, rgba(251, 191, 36, 0.08), transparent),
        var(--bg-dark);
    z-index: 0;
}

.een-auth-side {
    display: none;
    position: relative;
    padding: 3rem;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border);
    z-index: 1;
}

@media (min-width: 960px) {
    .een-auth-side {
        display: flex;
    }
}

.een-auth-side h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.een-auth-side h2 span {
    background: linear-gradient(135deg, #22d3ee, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.een-auth-side p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 22rem;
}

.een-auth-side__features {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.een-auth-side__feat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.een-auth-side__feat i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(34, 211, 238, 0.12);
    display: grid;
    place-items: center;
    color: #22d3ee;
    font-style: normal;
}

.een-auth-page .auth-card-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    z-index: 1;
    position: relative;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 60px rgba(34, 211, 238, 0.06);
    padding: 2.5rem 2rem;
}

.auth-header { text-align: center; margin-bottom: 1.75rem; }
.auth-logo { display: inline-block; margin-bottom: 1.25rem; }
.auth-logo img { height: 44px; width: auto; }
.auth-title { font-size: 1.75rem; font-weight: 800; color: #f8fafc; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.auth-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; }

.g-btn-wrapper { margin-bottom: 1.25rem; display: flex; justify-content: center; width: 100%; }
.g_id_signin { display: flex; justify-content: center; margin: 0 auto; width: 100%; }

.divider {
    display: flex; align-items: center; margin: 1.25rem 0;
    color: #475569; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: rgba(51, 65, 85, 0.8); }
.divider span { padding: 0 0.75rem; }

.alert-error, #ajax-error-container {
    display: none; background: rgba(239, 68, 68, 0.12); color: #fca5a5;
    padding: 0.85rem; border-radius: 12px; margin-bottom: 1rem;
    font-size: 0.85rem; font-weight: 500; border: 1px solid rgba(239, 68, 68, 0.25);
    text-align: center;
}
.alert-error.active, #ajax-error-container.active { display: block; }

.form-group { margin-bottom: 1rem; }
.form-group label {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.8rem; font-weight: 600; margin-bottom: 0.45rem; color: #94a3b8;
}
.form-group input {
    width: 100%; padding: 0.85rem 1rem; border-radius: 12px;
    border: 1px solid rgba(51, 65, 85, 0.8); background: rgba(15, 23, 42, 0.8);
    color: #f1f5f9; font-size: 0.95rem; transition: all 0.2s; outline: none;
}
.form-group input::placeholder { color: #64748b; }
.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}
.forgot-link { font-size: 0.8rem; color: var(--primary); text-decoration: none; font-weight: 600; }
.forgot-link:hover { text-decoration: underline; }
.captcha-box { margin: 1.25rem 0; display: flex; justify-content: center; }

.btn-primary {
    width: 100%; background: linear-gradient(135deg, #22d3ee, #06b6d4);
    color: #0f172a; border: none; padding: 0.95rem; border-radius: 14px;
    font-size: 1rem; font-weight: 800; cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(34, 211, 238, 0.35);
}

.auth-footer { margin-top: 1.5rem; text-align: center; font-size: 0.9rem; color: var(--text-muted); }
.auth-footer a { color: var(--primary); text-decoration: none; font-weight: 700; }
.auth-footer a:hover { text-decoration: underline; }

@keyframes shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.shake-effect { animation: shake 0.4s ease-in-out; }

.alert-msg {
    display: none; padding: 0.85rem; border-radius: 12px; margin-bottom: 1rem;
    font-size: 0.85rem; font-weight: 500; text-align: center;
    align-items: center; justify-content: center; gap: 0.5rem;
}
.alert-msg.active { display: flex; }
.alert-msg.error { background: rgba(239, 68, 68, 0.12); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.25); }
.alert-msg.success { background: rgba(34, 211, 238, 0.1); color: #a5f3fc; border: 1px solid rgba(34, 211, 238, 0.25); }

.bg-blob { display: none; }

@media (max-width: 480px) {
    .auth-card { padding: 2rem 1.25rem; border-radius: 20px; }
    .auth-title { font-size: 1.5rem; }
}
