/* ── Login Page ─────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    display: flex;
    background: #f1f5f9;
}

/* ── Left Panel ──────────────────────────────────── */
.login-left {
    flex: 1;
    background: linear-gradient(135deg, #0d1b2a 0%, #1e3a5f 50%, #2d6a4f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(232,168,56,.08) 0%, transparent 60%);
    pointer-events: none;
}

.login-left-content {
    position: relative;
    z-index: 1;
}

.login-left h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -.03em;
}

.login-left h1 span { color: #e8a838; }

.login-left p {
    font-size: 1rem;
    color: #8899aa;
    line-height: 1.7;
    max-width: 420px;
}

.features {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.feat {
    display: flex;
    align-items: center;
    gap: .8rem;
    font-size: .85rem;
    color: #aab8c8;
}

.feat-dot {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Right Panel ─────────────────────────────────── */
.login-right {
    width: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.login-box {
    width: 100%;
    max-width: 360px;
}

.login-box h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0d1b2a;
    margin-bottom: .3rem;
}

.login-box .sub {
    font-size: .85rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* ── Tabs ────────────────────────────────────────── */
.login-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 3px;
}

.login-tab {
    flex: 1;
    padding: .55rem;
    text-align: center;
    font-size: .82rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    border-radius: 8px;
    transition: all .2s;
}

.login-tab.active {
    background: #fff;
    color: #0d1b2a;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.login-tab:hover:not(.active) { color: #334155; }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── Form ────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: .35rem;
}

.form-group input {
    width: 100%;
    padding: .7rem .9rem;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-size: .88rem;
    font-family: inherit;
    transition: border-color .2s;
}

.form-group input:focus {
    outline: none;
    border-color: #1e3a5f;
    box-shadow: 0 0 0 3px rgba(30,58,95,.08);
}

/* ── Remember + Forgot ───────────────────────────── */
.remember-row {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1.25rem;
}

.remember-row input { accent-color: #1e3a5f; }

.remember-row label {
    font-size: .78rem;
    color: #64748b;
    cursor: pointer;
}

.forgot-link {
    margin-left: auto;
    font-size: .78rem;
    color: #1e40af;
    text-decoration: none;
}

.forgot-link:hover { text-decoration: underline; }

/* ── Button ──────────────────────────────────────── */
.btn {
    width: 100%;
    padding: .75rem;
    background: linear-gradient(135deg, #1e3a5f, #2d6a4f);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s;
    font-family: inherit;
}

.btn:hover { opacity: .9; }

/* ── Alerts ──────────────────────────────────────── */
.alert {
    padding: .6rem .85rem;
    border-radius: 8px;
    font-size: .8rem;
    margin-bottom: 1rem;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ── Footer ──────────────────────────────────────── */
.otp-hint {
    text-align: center;
    margin-top: .75rem;
    font-size: .75rem;
    color: #94a3b8;
}

.footer-text {
    text-align: center;
    margin-top: 1.5rem;
    font-size: .75rem;
    color: #94a3b8;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
    .login-left { display: none; }
    .login-right { width: 100%; }
}
