/* ============================================================
   FEESPAY.NG — Main Stylesheet
   Brand: #026433 (dark green)
   Font: Poppins (headings) + Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ── CSS VARIABLES ────────────────────────────────────────── */
:root {
    --brand:        #026433;
    --brand-dark:   #014d27;
    --brand-light:  #e8f5ee;
    --brand-mid:    #039150;
    --accent:       #e8174a;
    --accent-light: #fde8ed;
    --warning-bg:   #fffbe6;
    --warning-text: #7d5a00;
    --warning-border:#f0c040;
    --text-dark:    #1a1a2e;
    --text-mid:     #4a4a6a;
    --text-light:   #8888aa;
    --border:       #e2e8f0;
    --bg-light:     #f8fafb;
    --white:        #ffffff;
    --sidebar-w:    220px;
    --topbar-h:     64px;
    --radius:       10px;
    --radius-sm:    6px;
    --shadow:       0 2px 12px rgba(0,0,0,0.08);
    --shadow-md:    0 4px 24px rgba(0,0,0,0.12);
    --transition:   0.2s ease;
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark);
       background: var(--bg-light); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
input, button, select, textarea { font-family: inherit; font-size: inherit; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 600;
                  color: var(--text-dark); line-height: 1.3; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 11px 22px; border-radius: var(--radius-sm);
    font-weight: 500; font-size: 0.9rem; cursor: pointer;
    border: 2px solid transparent; transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--brand); color: var(--white); border-color: var(--brand);
}
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-outline {
    background: transparent; color: var(--brand); border-color: var(--brand);
}
.btn-outline:hover { background: var(--brand-light); }
.btn-accent {
    background: var(--accent); color: var(--white); border-color: var(--accent);
}
.btn-accent:hover { background: #c0123d; }
.btn-ghost {
    background: transparent; color: var(--text-mid); border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-light); }
.btn-full { width: 100%; }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ── FORM ELEMENTS ────────────────────────────────────────── */
.form-group { margin-bottom: 18px; position: relative; }
.form-label {
    display: block; font-size: 0.82rem; font-weight: 500;
    color: var(--text-mid); margin-bottom: 6px;
}
.form-control {
    width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); background: var(--white);
    color: var(--text-dark); font-size: 0.9rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--brand); box-shadow: 0 0 0 3px rgba(2,100,51,0.1);
}
.form-control::placeholder { color: var(--text-light); }
.form-control.is-invalid { border-color: var(--accent); }
.invalid-feedback { color: var(--accent); font-size: 0.78rem; margin-top: 4px; }

/* Input with icon right */
.input-icon-wrap { position: relative; }
.input-icon-wrap .form-control { padding-right: 42px; }
.input-icon-wrap .input-icon {
    position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
    color: var(--text-light); cursor: pointer; font-size: 1rem;
    transition: color var(--transition);
}
.input-icon-wrap .input-icon:hover { color: var(--brand); }

/* Checkbox */
.form-check { display: flex; align-items: center; gap: 8px; }
.form-check input[type="checkbox"] {
    width: 16px; height: 16px; accent-color: var(--brand); cursor: pointer;
}
.form-check label { font-size: 0.85rem; color: var(--text-mid); cursor: pointer; }

/* Select */
select.form-control { cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238888aa' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 36px;
}

/* ── ALERTS ───────────────────────────────────────────────── */
.alert {
    padding: 12px 18px; border-radius: var(--radius-sm); font-size: 0.88rem;
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.alert-success { background: #d4edda; color: #145a2e; border-left: 4px solid var(--brand); }
.alert-error   { background: #fde8ed; color: #7d0f2a; border-left: 4px solid var(--accent); }
.alert-warning { background: var(--warning-bg); color: var(--warning-text);
                  border-left: 4px solid var(--warning-border); }
.alert-info    { background: var(--brand-light); color: var(--brand-dark);
                  border-left: 4px solid var(--brand); }

/* ── CARDS ────────────────────────────────────────────────── */
.card {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 24px;
}
.card-sm { padding: 16px; }

/* ── BADGE ────────────────────────────────────────────────── */
.badge {
    display: inline-block; padding: 3px 10px; border-radius: 20px;
    font-size: 0.75rem; font-weight: 600;
}
.badge-pending  { background: #fff3cd; color: #856404; }
.badge-active   { background: #d4edda; color: #145a2e; }
.badge-danger   { background: #fde8ed; color: #7d0f2a; }

/* ── WARNING BANNER ───────────────────────────────────────── */
.warning-banner {
    background: var(--warning-bg); border-bottom: 1px solid var(--warning-border);
    padding: 10px 28px; font-size: 0.85rem; color: var(--warning-text);
    text-align: center;
}
.warning-banner a { color: var(--brand); font-weight: 600; text-decoration: underline; }

/* ── MODAL ────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999; opacity: 0; pointer-events: none;
    transition: opacity var(--transition);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
    background: var(--white); border-radius: var(--radius);
    padding: 32px; width: 90%; max-width: 520px; max-height: 90vh;
    overflow-y: auto; position: relative;
    transform: translateY(20px); transition: transform var(--transition);
    box-shadow: var(--shadow-md);
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--accent-light); color: var(--accent);
    border: none; cursor: pointer; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.modal-close:hover { background: var(--accent); color: var(--white); }
.modal h2 { font-size: 1.2rem; margin-bottom: 20px; text-align: center; }

/* ── SPLIT AUTH LAYOUT ────────────────────────────────────── */
.auth-wrap {
    min-height: 100vh; display: grid; grid-template-columns: 300px 1fr;
}
.auth-left {
    background: linear-gradient(160deg, #026433 0%, #014425 50%, #1a1a2e 100%);
    padding: 40px 32px; display: flex; flex-direction: column;
    justify-content: space-between; position: relative; overflow: hidden;
}
.auth-left::before {
    content: ''; position: absolute; width: 300px; height: 300px;
    border-radius: 50%; background: rgba(255,255,255,0.04);
    top: -80px; left: -80px;
}
.auth-left::after {
    content: ''; position: absolute; width: 200px; height: 200px;
    border-radius: 50%; background: rgba(255,255,255,0.03);
    bottom: 60px; right: -60px;
}
.auth-logo { display: flex; align-items: center; gap: 10px; z-index: 1; }
.auth-logo-icon {
    width: 38px; height: 38px; background: var(--white);
    border-radius: 8px; display: flex; align-items: center;
    justify-content: center;
}
.auth-logo-icon span { color: var(--brand); font-weight: 700; font-size: 1.1rem;
    font-family: 'Poppins', sans-serif; }
.auth-logo-text { color: var(--white); font-family: 'Poppins', sans-serif;
    font-weight: 700; font-size: 1.15rem; }
.auth-tagline { z-index: 1; }
.auth-tagline h2 { color: var(--white); font-size: 1.6rem; line-height: 1.3;
    margin-bottom: 12px; }
.auth-tagline p { color: rgba(255,255,255,0.7); font-size: 0.85rem;
    line-height: 1.7; margin-bottom: 20px; }
.auth-tagline .btn-contact {
    display: inline-block; padding: 9px 20px; border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: var(--radius-sm); color: var(--white); font-size: 0.85rem;
    transition: all var(--transition);
}
.auth-tagline .btn-contact:hover { background: rgba(255,255,255,0.1); }
.auth-trust { z-index: 1; }
.auth-trust p { color: rgba(255,255,255,0.55); font-size: 0.78rem; margin-bottom: 10px; }
.auth-trust-logos { display: flex; gap: 8px; flex-wrap: wrap; }
.auth-trust-logos span {
    width: 28px; height: 28px; background: rgba(255,255,255,0.12);
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
}

.auth-right {
    background: var(--white); padding: 28px 40px;
    display: flex; flex-direction: column;
}
.auth-right-top {
    display: flex; justify-content: flex-end; align-items: center;
    gap: 12px; margin-bottom: 40px;
}
.auth-right-top span { font-size: 0.85rem; color: var(--text-mid); }
.auth-content { flex: 1; max-width: 440px; margin: 0 auto; width: 100%; }
.auth-back {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--text-mid); font-size: 0.85rem; margin-bottom: 24px;
    transition: color var(--transition);
}
.auth-back:hover { color: var(--brand); }
.auth-content h1 { font-size: 1.7rem; margin-bottom: 6px; }
.auth-content .auth-sub { color: var(--text-mid); font-size: 0.88rem; margin-bottom: 28px; }

/* ── STEP CARDS (school type selection) ───────────────────── */
.option-card {
    border: 2px solid var(--border); border-radius: var(--radius);
    padding: 16px 20px; cursor: pointer; margin-bottom: 12px;
    display: flex; align-items: center; gap: 16px;
    transition: all var(--transition);
}
.option-card:hover { border-color: var(--brand); background: var(--brand-light); }
.option-card.selected { border-color: var(--brand); background: var(--brand-light); }
.option-card .option-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--brand-light); display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.option-card.selected .option-icon { background: var(--brand); }
.option-card .option-icon svg { width: 20px; height: 20px;
    fill: var(--brand); transition: fill var(--transition); }
.option-card.selected .option-icon svg { fill: var(--white); }
.option-card .option-check {
    margin-left: auto; width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid var(--border); display: flex; align-items: center;
    justify-content: center; flex-shrink: 0; transition: all var(--transition);
}
.option-card.selected .option-check {
    background: var(--brand); border-color: var(--brand);
}
.option-card.selected .option-check::after {
    content: ''; width: 8px; height: 8px; border-radius: 50%; background: white;
}
.option-label { font-weight: 600; font-size: 0.95rem; }
.option-sub   { font-size: 0.8rem; color: var(--text-mid); margin-top: 2px; }

/* ── OTP INPUTS ───────────────────────────────────────────── */
.otp-wrap { display: flex; gap: 12px; margin-bottom: 20px; }
.otp-input {
    width: 52px; height: 58px; border: 2px solid var(--border);
    border-radius: var(--radius-sm); text-align: center; font-size: 1.4rem;
    font-weight: 600; font-family: 'Poppins', sans-serif;
    transition: all var(--transition); outline: none;
}
.otp-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(2,100,51,0.1); }
.otp-input.filled { border-color: var(--brand); background: var(--brand-light); }

/* ── PROGRESS CIRCLE ──────────────────────────────────────── */
.progress-circle {
    width: 64px; height: 64px; position: relative;
    display: flex; align-items: center; justify-content: center;
}
.progress-circle svg { transform: rotate(-90deg); }
.progress-circle .pct {
    position: absolute; font-size: 0.75rem; font-weight: 700;
    color: var(--text-dark);
}

/* ── DASHBOARD LAYOUT ─────────────────────────────────────── */
.app-wrap { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar {
    width: var(--sidebar-w); background: var(--white);
    border-right: 1px solid var(--border); display: flex;
    flex-direction: column; position: fixed; top: 0; left: 0;
    height: 100vh; z-index: 100; transition: width var(--transition);
    overflow-y: auto;
}
.sidebar-top {
    padding: 18px 16px; border-bottom: 1px solid var(--border);
}
.sidebar-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.sidebar-logo-icon {
    width: 32px; height: 32px; background: var(--brand);
    border-radius: 7px; display: flex; align-items: center; justify-content: center;
}
.sidebar-logo-icon span { color: white; font-weight: 700; font-size: 0.9rem;
    font-family: 'Poppins', sans-serif; }
.sidebar-logo-text { color: var(--brand); font-family: 'Poppins', sans-serif;
    font-weight: 700; font-size: 1rem; }
.portal-id { font-size: 0.75rem; color: var(--text-light);
    margin-bottom: 10px; }
.portal-id strong { color: var(--text-mid); }
.btn-verify {
    width: 100%; padding: 9px; background: var(--brand); color: white;
    border: none; border-radius: var(--radius-sm); font-size: 0.82rem;
    font-weight: 600; cursor: pointer; display: flex; align-items: center;
    justify-content: center; gap: 6px; transition: background var(--transition);
}
.btn-verify:hover { background: var(--brand-dark); }

/* Nav */
.sidebar-nav { flex: 1; padding: 16px 0; }
.nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 18px; color: var(--text-mid);
    font-size: 0.88rem; font-weight: 500; cursor: pointer;
    transition: all var(--transition); border-left: 3px solid transparent;
    position: relative;
}
.nav-item:hover { color: var(--brand); background: var(--brand-light); }
.nav-item.active {
    color: var(--brand); background: var(--brand-light);
    border-left-color: var(--brand);
}
.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-arrow {
    margin-left: auto; transition: transform var(--transition);
    font-size: 0.75rem;
}
.nav-item.open .nav-arrow { transform: rotate(180deg); }
.nav-sub { display: none; background: var(--bg-light); }
.nav-sub.open { display: block; }
.nav-sub .nav-item { padding-left: 46px; font-size: 0.84rem; }

/* Sidebar bottom */
.sidebar-bottom {
    border-top: 1px solid var(--border); padding: 14px 16px;
}
.sidebar-user {
    display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
    cursor: pointer; padding: 6px 4px; border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.sidebar-user:hover { background: var(--brand-light); }
.sidebar-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--brand); color: white; display: flex;
    align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.8rem; flex-shrink: 0;
}
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name { font-size: 0.82rem; font-weight: 600;
    color: var(--text-dark); white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis; }
.sidebar-user-phone { font-size: 0.74rem; color: var(--text-light); }
.sidebar-user-arrow { color: var(--text-light); font-size: 0.8rem; }
.sidebar-logout {
    display: flex; align-items: center; gap: 8px;
    color: var(--text-mid); font-size: 0.84rem; cursor: pointer;
    padding: 7px 4px; transition: color var(--transition);
}
.sidebar-logout:hover { color: var(--accent); }
.sidebar-version { font-size: 0.7rem; color: var(--text-light); margin-top: 8px; }

/* Main content */
.main-content {
    margin-left: var(--sidebar-w); flex: 1; display: flex;
    flex-direction: column; min-height: 100vh;
}
.topbar {
    height: var(--topbar-h); background: var(--white);
    border-bottom: 1px solid var(--border); display: flex;
    align-items: center; justify-content: flex-end;
    padding: 0 28px; gap: 16px; position: sticky; top: 0; z-index: 50;
}
.topbar-icon {
    width: 36px; height: 36px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; cursor: pointer;
    transition: background var(--transition); position: relative;
    color: var(--text-mid);
}
.topbar-icon:hover { background: var(--bg-light); }
.topbar-notif-badge {
    position: absolute; top: 4px; right: 4px; width: 16px; height: 16px;
    background: var(--accent); color: white; border-radius: 50%;
    font-size: 0.65rem; font-weight: 700; display: flex;
    align-items: center; justify-content: center;
}
.page-body { padding: 28px; flex: 1; }
.page-greeting { font-size: 1.4rem; font-weight: 600; margin-bottom: 22px; }

/* ── STAT CARDS ───────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr);
    gap: 16px; margin-bottom: 24px; }
.stat-card {
    background: var(--white); border-radius: var(--radius);
    padding: 18px 20px; box-shadow: var(--shadow);
    border-top: 3px solid var(--brand);
}
.stat-label { font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--text-light); margin-bottom: 8px; }
.stat-value { font-size: 1.6rem; font-weight: 700;
    font-family: 'Poppins', sans-serif; color: var(--text-dark); }
.stat-change { font-size: 0.75rem; color: var(--brand); margin-top: 4px; }

/* ── CHART + INCOME GRID ──────────────────────────────────── */
.data-grid { display: grid; grid-template-columns: 1.5fr 1fr;
    gap: 20px; margin-bottom: 24px; }
.data-card { background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 20px; }
.data-card-title { font-size: 0.88rem; font-weight: 600;
    color: var(--text-mid); margin-bottom: 16px; }
.restricted-access {
    display: flex; align-items: center; justify-content: center;
    height: 160px; color: var(--text-light); font-size: 0.85rem;
    border: 1.5px dashed var(--border); border-radius: var(--radius-sm);
}
.income-gross { margin-bottom: 16px; }
.income-gross .label { font-size: 0.82rem; color: var(--text-mid);
    font-weight: 600; margin-bottom: 4px; }
.income-gross .amount { font-size: 1.5rem; font-weight: 700;
    color: var(--brand); font-family: 'Poppins', sans-serif; }
.income-gross .count { font-size: 0.82rem; color: var(--text-light); }
.income-breakdown { border-top: 1px solid var(--border); padding-top: 12px; }
.income-breakdown .ib-label { font-size: 0.8rem; font-weight: 600;
    color: var(--text-mid); margin-bottom: 8px; }
.income-row { display: flex; justify-content: space-between;
    font-size: 0.82rem; padding: 4px 0; color: var(--text-mid); }
.income-row span:last-child { color: var(--text-dark); font-weight: 500; }

/* ── TRANSACTIONS TABLE ───────────────────────────────────── */
.table-card { background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden; }
.table-head { padding: 18px 22px; border-bottom: 1px solid var(--border); }
.table-head h3 { font-size: 0.95rem; font-weight: 600; }
.table-head p { font-size: 0.78rem; color: var(--text-light); margin-top: 2px; }
table { width: 100%; border-collapse: collapse; }
thead th {
    padding: 11px 16px; text-align: left; font-size: 0.78rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--text-light); background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}
tbody td { padding: 13px 16px; font-size: 0.85rem;
    border-bottom: 1px solid var(--border); color: var(--text-dark); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg-light); }

/* ── BUSINESS PROFILE ─────────────────────────────────────── */
.profile-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border);
    margin-bottom: 28px; }
.profile-tab {
    padding: 11px 20px; font-size: 0.88rem; font-weight: 500;
    color: var(--text-mid); cursor: pointer; border-bottom: 3px solid transparent;
    margin-bottom: -2px; transition: all var(--transition);
}
.profile-tab:hover { color: var(--brand); }
.profile-tab.active { color: var(--brand); border-bottom-color: var(--brand); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.activation-box {
    background: var(--bg-light); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px 22px; margin-bottom: 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.activation-info h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.activation-info p { font-size: 0.8rem; color: var(--text-mid); max-width: 480px; }
.activation-meta {
    display: flex; align-items: center; gap: 16px; margin-top: 10px;
}
.activation-meta a { color: var(--brand); font-size: 0.82rem;
    font-weight: 600; text-decoration: underline; }

.logo-upload-wrap { text-align: center; margin-bottom: 28px; }
.logo-preview {
    width: 90px; height: 90px; border-radius: 50%;
    object-fit: cover; border: 3px solid var(--border);
    margin: 0 auto 8px;
}
.logo-change-btn { font-size: 0.8rem; color: var(--brand); cursor: pointer;
    font-weight: 600; }
.logo-change-btn:hover { text-decoration: underline; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Document upload zone */
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.doc-upload {
    border: 2px dashed var(--border); border-radius: var(--radius);
    padding: 22px; text-align: center; cursor: pointer;
    transition: all var(--transition);
}
.doc-upload:hover { border-color: var(--brand); background: var(--brand-light); }
.doc-upload.uploaded { border-color: var(--brand); border-style: solid;
    background: var(--brand-light); }
.doc-upload .doc-icon { font-size: 1.5rem; margin-bottom: 6px; }
.doc-upload .doc-label { font-size: 0.8rem; font-weight: 600;
    color: var(--text-mid); margin-bottom: 4px; }
.doc-upload .doc-hint { font-size: 0.72rem; color: var(--text-light); }
.doc-upload input[type="file"] { display: none; }

/* Director cards */
.director-card {
    border: 1.5px solid var(--border); border-radius: var(--radius);
    padding: 20px; margin-bottom: 16px; position: relative;
}
.director-actions { display: flex; gap: 10px; margin-top: 12px; }
.btn-add-director {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--brand); font-size: 0.85rem; font-weight: 600;
    cursor: pointer; border: none; background: none; padding: 0;
}
.btn-remove-director {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--accent); font-size: 0.85rem; font-weight: 600;
    cursor: pointer; border: none; background: none; padding: 0;
}

/* ── SUCCESS MODAL ────────────────────────────────────────── */
.success-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: #d4edda; display: flex; align-items: center;
    justify-content: center; margin: 0 auto 16px;
}
.success-icon svg { width: 32px; height: 32px; fill: var(--brand); }

/* ── FLASH MESSAGES ───────────────────────────────────────── */
.flash-bar {
    padding: 12px 24px; text-align: center; font-size: 0.88rem;
    font-weight: 500; display: flex; align-items: center;
    justify-content: center; gap: 8px;
}
.flash-bar.success { background: var(--brand); color: white; }
.flash-bar.error   { background: var(--accent); color: white; }

/* ── UTILITIES ────────────────────────────────────────────── */
.text-brand  { color: var(--brand); }
.text-accent { color: var(--accent); }
.text-mid    { color: var(--text-mid); }
.text-light  { color: var(--text-light); }
.text-center { text-align: center; }
.font-bold   { font-weight: 600; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0  { margin-bottom: 0; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-left { display: none; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .data-grid  { grid-template-columns: 1fr; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .doc-grid    { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .sidebar { transform: translateX(-100%); }
    .main-content { margin-left: 0; }
    .stats-grid { grid-template-columns: 1fr; }
    .otp-wrap { gap: 8px; }
    .otp-input { width: 44px; height: 50px; font-size: 1.2rem; }
    .auth-right { padding: 24px 20px; }
}
