/* ============================================================
   BizReview — Login Page Styles
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #f0f2f5;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

/* ── PAGE WRAPPER ── */
.page {
    display: flex;
    width: 100%;
    max-width: 900px;
    min-height: 580px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.08);
}

/* ── LEFT PANEL ── */
.left-panel {
    flex: 0 0 44%;
    background: #0F1923;
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    pointer-events: none;
}
.circle-1 { width: 320px; height: 320px; background: #4FC3F7; top: -80px;  right: -100px; }
.circle-2 { width: 200px; height: 200px; background: #80DEEA; bottom: 60px; left: -60px;  }
.circle-3 { width: 120px; height: 120px; background: #B2EBF2; top: 50%;    right: -30px; opacity: 0.08; }

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.brand-icon {
    width: 36px; height: 36px;
    background: #4FC3F7;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}

.brand-icon i { color: #0F1923; font-size: 18px; }

.brand-name { font-size: 17px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.brand-name span { color: #4FC3F7; }

/* Left content */
.left-content { position: relative; z-index: 1; }

.tagline {
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.tagline em { font-style: normal; color: #4FC3F7; }

.left-desc {
    font-size: 13.5px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin-bottom: 28px;
}

.stat-row { display: flex; gap: 12px; }

.stat-card {
    background: rgba(255,255,255,0.07);
    border: 0.5px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 12px 14px;
    flex: 1;
}

.stat-num { font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.stat-label { font-size: 10px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.07em; }

.left-footer { position: relative; z-index: 1; font-size: 11.5px; color: rgba(255,255,255,0.28); }

/* ── RIGHT PANEL ── */
.right-panel {
    flex: 1;
    background: #ffffff;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header */
.login-header { margin-bottom: 28px; }
.login-title  { font-size: 22px; font-weight: 600; color: #0F1923; margin-bottom: 6px; letter-spacing: -0.02em; }
.login-sub    { font-size: 14px; color: #6b7280; }

/* Alert */
.alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
}
.alert i { font-size: 16px; flex-shrink: 0; }

.alert-error {
    background: #fef2f2;
    border: 0.5px solid #fca5a5;
    color: #b91c1c;
}

/* Form */
.form-group  { margin-bottom: 18px; }
.form-label  { display: block; font-size: 13px; font-weight: 500; color: #374151; margin-bottom: 7px; }

.input-wrap  { position: relative; }

.input-wrap > i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #9ca3af;
    pointer-events: none;
}

#eye-toggle {
    left: auto !important;
    right: 12px;
    cursor: pointer;
    pointer-events: auto;
    transition: color 0.15s;
}
#eye-toggle:hover { color: #4FC3F7; }

.form-input {
    width: 100%;
    height: 44px;
    padding: 0 40px 0 40px;
    font-size: 14px;
    font-family: inherit;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    color: #111827;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.form-input:hover  { border-color: #9ca3af; }
.form-input:focus  { border-color: #4FC3F7; background: #fff; box-shadow: 0 0 0 3px rgba(79,195,247,0.15); }
.form-input::placeholder { color: #9ca3af; }

/* Remember / forgot row */
.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -4px;
    margin-bottom: 24px;
}

.remember-wrap  { display: flex; align-items: center; gap: 7px; cursor: pointer; }

.remember-check {
    width: 15px; height: 15px;
    border-radius: 4px;
    border: 1.5px solid #d1d5db;
    background: #fff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background 0.15s, border-color 0.15s;
    position: relative;
    flex-shrink: 0;
}
.remember-check:checked { background: #4FC3F7; border-color: #4FC3F7; }
.remember-check:checked::after {
    content: '';
    position: absolute;
    left: 3px; top: 1px;
    width: 7px; height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

.remember-label { font-size: 13px; color: #6b7280; user-select: none; }
.forgot-link    { font-size: 13px; color: #4FC3F7; text-decoration: none; }
.forgot-link:hover { text-decoration: underline; }

/* Login button */
.btn-login {
    width: 100%;
    height: 44px;
    background: #0F1923;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    letter-spacing: -0.01em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s, transform 0.1s;
}
.btn-login:hover  { background: #1e3044; }
.btn-login:active { transform: scale(0.99); }
.btn-login i      { font-size: 17px; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
    body { padding: 0; align-items: stretch; }
    .page { flex-direction: column; border-radius: 0; min-height: 100vh; }
    .left-panel { flex: 0 0 auto; padding: 32px 24px; }
    .stat-row   { display: none; }
    .tagline    { font-size: 22px; }
    .right-panel { padding: 36px 24px; }
}
