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

:root {
    --primary: #BB0A1E;
    --primary-hover: #9A0818;
    --primary-light: rgba(187,10,30,0.08);
    --bg-body: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-primary: #1B2132;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --border-color: rgba(27, 33, 50, 0.08);
    --border-strong: rgba(27, 33, 50, 0.15);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --green: #16A34A;
    --green-bg: #F0FDF4;
    --green-border: #BBF7D0;
    --blue: #2563EB;
    --blue-bg: #EFF6FF;
    --blue-border: #BFDBFE;
    --amber: #D97706;
    --amber-bg: #FFFBEB;
    --amber-border: #FDE68A;
    --red: #DC2626;
    --red-bg: #FEF2F2;
    --red-border: #FECACA;
    --radius: 10px;
    --radius-lg: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--bg-body); color: var(--text-primary); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* ─── LOGIN ────────────────────────────────── */
.auth-bg {
    position: fixed; inset: 0;
    background-size: cover; background-position: center; background-color: #1B2132;
}
.auth-overlay {
    position: fixed; inset: 0;
    background: linear-gradient(135deg, rgba(27,33,50,0.92) 0%, rgba(187,10,30,0.22) 100%);
}
.auth-bg-footer {
    position: fixed; bottom: 20px; left: 0; right: 0;
    text-align: center; z-index: 10;
}
.auth-bg-footer p { color: rgba(255,255,255,0.3); font-size: 0.75rem; }
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.login-card, .auth-card {
    z-index: 10;
    width: 100%;
    max-width: 440px;
    margin: 0 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}
.login-card-bar, .auth-card-bar { height: 5px; background: var(--primary); }
.login-card-body, .auth-card-body { padding: 40px; }
.auth-logo { display: flex; flex-direction: column; align-items: center; margin-bottom: 28px; }
.auth-logo img { width: 120px; height: 120px; margin-bottom: 14px; object-fit: contain; }
.auth-logo h1 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--text-primary); letter-spacing: 0.03em; text-transform: uppercase; }
.auth-logo p { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.72rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.form-group input { width: 100%; padding: 11px 14px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 0.88rem; font-family: 'Inter', sans-serif; background: #F8F9FC; color: var(--text-primary); transition: all 0.15s ease; }
.form-group input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(187,10,30,0.08); background: #fff; }
.input-wrapper { position: relative; }
.input-wrapper input { padding-right: 44px; }
.toggle-pw { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 8px; font-size: 1rem; min-width: 36px; min-height: 36px; display: flex; align-items: center; justify-content: center; }
.btn-primary { width: 100%; padding: 11px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; transition: all 0.15s ease; }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 4px 12px rgba(187,10,30,0.25); }
.btn-login { width: 100%; padding: 12px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; cursor: pointer; transition: all 0.15s ease; }
.btn-login:hover { background: var(--primary-hover); box-shadow: 0 4px 12px rgba(187,10,30,0.25); }
.form-options { display: flex; justify-content: flex-end; margin-bottom: 24px; }
.forgot-link { font-size: 0.8rem; font-weight: 500; color: var(--primary); text-decoration: none; }
.forgot-link:hover { text-decoration: underline; }
.alert-error { padding: 10px 14px; border-radius: 8px; font-size: 0.82rem; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.alert-success { padding: 10px 14px; border-radius: 8px; font-size: 0.82rem; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }
.login-footer { text-align: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.login-footer p { color: var(--text-muted); font-size: 0.78rem; }
.login-footer a { color: var(--primary); font-weight: 500; }
.login-footer a:hover { text-decoration: underline; }

/* ─── COUNTRY SELECT ───────────────────────── */
.country-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-body);
    padding: 24px 16px;
}
.country-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px 32px;
    text-align: center;
}
.country-card h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 6px; }
.country-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 28px; }
.country-list { display: flex; flex-direction: column; gap: 10px; }
.country-option { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1.5px solid var(--border-color); border-radius: var(--radius); cursor: pointer; transition: all 0.15s ease; text-align: left; background: #fff; width: 100%; }
.country-option:hover { border-color: var(--primary); background: var(--primary-light); }
.country-option .flag { font-size: 1.5rem; flex-shrink: 0; }
.country-option .info { flex: 1; }
.country-option .info .name { font-weight: 600; font-size: 0.92rem; color: var(--text-primary); }
.country-option .info .desc { font-size: 0.78rem; color: var(--text-muted); margin-top: 1px; }
.country-option .check { color: var(--primary); opacity: 0; transition: opacity 0.15s ease; flex-shrink: 0; }
.country-option:hover .check { opacity: 0.4; }

/* ─── APP SHELL ────────────────────────────── */
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.page-content { flex: 1; padding: 0; overflow-y: auto; overflow-x: hidden; }

/* ─── TOP HEADER ───────────────────────────── */
.top-header {
    height: 52px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.header-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.header-logo-img { height: 26px; width: auto; object-fit: contain; }
.header-logo-text { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; color: #000000; text-transform: uppercase; letter-spacing: 0.03em; }
.header-spacer { flex: 1; }

/* ─── HEADER CONTROLS ──────────────────────── */
.header-icon-btn {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px; border: none; background: transparent;
    color: var(--text-muted); cursor: pointer; transition: all 0.15s ease;
}
.header-icon-btn:hover { background: #F1F5F9; color: var(--text-primary); }

/* ─── COUNTRY SWITCHER ─────────────────────── */
.country-switcher { position: relative; margin-left: 10px; }
.country-btn {
    display: flex; align-items: center; gap: 7px;
    padding: 5px 10px; border: 1px solid var(--border-color); border-radius: 8px;
    background: #fff; cursor: pointer; font-family: 'Inter', sans-serif; font-size: 0.82rem;
    color: var(--text-primary); transition: all 0.15s ease;
}
.country-btn:hover { border-color: var(--border-strong); }
.country-name-text { font-weight: 500; }

/* ─── USER MENU ────────────────────────────── */
.user-menu { position: relative; margin-left: 12px; }
.user-menu-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 4px 8px 4px 4px; border: none; border-radius: 8px;
    background: transparent; cursor: pointer; transition: all 0.15s ease;
}
.user-menu-btn:hover { background: #F1F5F9; }
.user-avatar {
    width: 30px; height: 30px; border-radius: 8px;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.68rem; font-weight: 700; flex-shrink: 0;
}
.user-info { text-align: left; }
.user-name { font-size: 0.78rem; font-weight: 600; color: var(--text-primary); line-height: 1.2; }
.user-email { font-size: 0.68rem; color: var(--text-muted); line-height: 1.2; }
.flex-1 { flex: 1; }

/* ─── DROPDOWN MENU ────────────────────────── */
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    z-index: 200;
    overflow: hidden;
}
.dropdown-menu.show { display: block; }
.dropdown-right { right: 0; left: auto; }
.dropdown-header { padding: 12px 14px; border-bottom: 1px solid var(--border-color); }
.dropdown-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; font-size: 0.82rem; color: var(--text-primary);
    transition: background 0.1s; cursor: pointer;
}
.dropdown-item:hover { background: #F8FAFC; }
.dropdown-item.active { background: var(--primary-light); color: var(--primary); font-weight: 500; }
.dropdown-item svg { flex-shrink: 0; }

/* ─── PAGE TITLE BAR ───────────────────────── */
.emp-page, .dash-page { padding: 0; }
.page-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
}
.page-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.page-subtitle { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.title-actions { display: flex; gap: 8px; align-items: center; }

/* ─── BUTTONS ──────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: 8px;
    font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 500;
    cursor: pointer; transition: all 0.15s ease; border: none; white-space: nowrap;
}
.btn-primary-app { background: var(--primary); color: #fff; }
.btn-primary-app:hover { background: var(--primary-hover); box-shadow: 0 2px 8px rgba(187,10,30,0.2); }
.btn-outline { background: #fff; color: var(--text-primary); border: 1px solid var(--border-color); }
.btn-outline:hover { border-color: var(--border-strong); background: #F8FAFC; }
.btn-sm { padding: 6px 12px; font-size: 0.78rem; }

/* ─── FILTER BAR ───────────────────────────── */
.filter-bar {
    display: flex; align-items: center; gap: 10px;
    padding: 0 24px 16px; flex-wrap: wrap;
}
.search-input {
    display: flex; align-items: center; gap: 8px;
    padding: 0 12px; height: 36px;
    border: 1px solid var(--border-color); border-radius: 8px;
    background: #fff; min-width: 180px; flex: 1; max-width: 380px;
}
.search-input svg { color: var(--text-muted); flex-shrink: 0; }
.search-input input {
    border: none; outline: none; background: none;
    font-family: 'Inter', sans-serif; font-size: 0.82rem;
    color: var(--text-primary); width: 100%;
}
.search-input input::placeholder { color: var(--text-muted); }
.filter-select {
    height: 36px; padding: 0 28px 0 10px;
    border: 1px solid var(--border-color); border-radius: 8px;
    background: #fff; font-family: 'Inter', sans-serif; font-size: 0.8rem;
    color: var(--text-primary); 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 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

/* ─── TABLE ────────────────────────────────── */
.table-card {
    margin: 0 24px 24px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow-x: auto;
    overflow-y: hidden;
    box-shadow: var(--shadow-sm);
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}
.data-table thead { border-bottom: 1px solid var(--border-color); }
.data-table th {
    padding: 11px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    background: #FAFBFC;
    white-space: nowrap;
}
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border-color); vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background 0.1s; cursor: pointer; }
.data-table tbody tr:hover { background: #FAFBFC; }
.emp-row { }
.td-mono { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.8rem; color: var(--text-primary); }
.td-muted { color: var(--text-secondary); }
.td-nowrap { white-space: nowrap; }

/* ─── EMPLOYEE CELL ────────────────────────── */
.emp-cell { display: flex; align-items: center; gap: 10px; }
.avatar {
    width: 32px; height: 32px; border-radius: 8px;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.68rem; font-weight: 700; flex-shrink: 0;
}
.emp-name { font-weight: 600; color: var(--text-primary); white-space: nowrap; }
.emp-cell-sm { display: flex; align-items: center; gap: 8px; }
.avatar-sm {
    width: 28px; height: 28px; border-radius: 7px;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.62rem; font-weight: 700; flex-shrink: 0;
}
.emp-name-sm { font-weight: 600; font-size: 0.82rem; color: var(--text-primary); }
.emp-code-sm { font-size: 0.72rem; color: var(--text-muted); }

/* ─── BADGES ───────────────────────────────── */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 9px; border-radius: 6px;
    font-size: 0.72rem; font-weight: 500; white-space: nowrap;
}
.badge-green { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.badge-blue { background: var(--blue-bg); color: var(--blue); border: 1px solid var(--blue-border); }
.badge-amber { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-border); }
.badge-red { background: var(--red-bg); color: var(--red); border: 1px solid var(--red-border); }

/* ─── KYC CHIPS ────────────────────────────── */
.kyc-chip {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: 20px;
    font-size: 0.72rem; font-weight: 600; white-space: nowrap;
}
.kyc-verified { background: var(--green-bg); color: var(--green); }
.kyc-pending { background: var(--amber-bg); color: var(--amber); }
.kyc-review { background: var(--blue-bg); color: var(--blue); }
.kyc-rejected { background: var(--red-bg); color: var(--red); }

/* ─── BTN ICON ─────────────────────────────── */
.btn-icon {
    width: 30px; height: 30px; border: none; background: transparent;
    border-radius: 6px; cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    color: var(--text-muted); transition: all 0.15s ease;
}
.btn-icon:hover { background: #F1F5F9; color: var(--text-primary); }

/* ─── EMPTY STATE ──────────────────────────── */
.empty-state { padding: 48px 24px; text-align: center; color: var(--text-muted); font-size: 0.88rem; }

/* ─── DELETE MODAL ─────────────────────────── */
.modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 500;
    background: rgba(15,23,42,0.5); backdrop-filter: blur(4px);
    align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-dialog {
    width: 100%; max-width: 440px; background: #fff;
    border-radius: var(--radius-lg); box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    overflow: hidden; animation: modalIn 0.2s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-header { text-align: center; padding: 24px 24px 16px; }
.modal-header-danger { background: #FEF2F2; border-bottom: 1px solid var(--border-color); }
.modal-header-success { background: #F0FDF4; border-bottom: 1px solid var(--border-color); }
.modal-header-info { background: #EFF6FF; border-bottom: 1px solid var(--border-color); }
.modal-icon-danger { margin-bottom: 8px; }
.modal-title {
    font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem;
    font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.04em;
}
.modal-subtitle { font-size: 0.8rem; color: var(--text-muted); margin-top: 3px; }
.modal-body { padding: 20px 24px; }
.modal-emp-info {
    display: flex; align-items: center; gap: 12px;
    padding: 12px; background: #F8FAFC; border-radius: var(--radius);
    margin-bottom: 14px;
}
.modal-emp-avatar {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.82rem; font-weight: 700; flex-shrink: 0;
}
.modal-emp-name { font-weight: 600; font-size: 0.9rem; color: var(--text-primary); }
.modal-emp-meta { font-size: 0.75rem; color: var(--text-muted); margin-top: 1px; }
.modal-warning {
    display: flex; align-items: flex-start; gap: 8px;
    padding: 10px 12px; background: var(--amber-bg); border: 1px solid var(--amber-border);
    border-radius: 8px; font-size: 0.78rem; color: #92400E; line-height: 1.4; margin-bottom: 16px;
}
.modal-warning svg { flex-shrink: 0; margin-top: 1px; }
.modal-captcha-display { text-align: center; margin-bottom: 14px; }
.modal-captcha-label { font-size: 0.78rem; color: var(--text-secondary); display: block; margin-bottom: 8px; }
.modal-captcha-box {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; background: #F1F5F9; border: 2px dashed var(--border-strong);
    border-radius: var(--radius);
}
.modal-captcha-code {
    font-family: 'Barlow Condensed', monospace; font-size: 1.5rem;
    font-weight: 700; letter-spacing: 0.2em; color: var(--text-primary); user-select: all;
}
.modal-captcha-refresh {
    width: 30px; height: 30px; border-radius: 8px; border: none;
    background: #fff; cursor: pointer; display: flex;
    align-items: center; justify-content: center; color: var(--text-muted);
    transition: all 0.15s; box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.modal-captcha-refresh:hover { background: var(--primary-light); color: var(--primary); }
.modal-captcha-input-wrap { margin-bottom: 14px; }
.modal-captcha-input-wrap label {
    display: block; font-size: 0.72rem; font-weight: 600;
    color: var(--text-secondary); text-transform: uppercase;
    letter-spacing: 0.06em; margin-bottom: 5px;
}
.modal-captcha-input-wrap input {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border-color);
    border-radius: 8px; font-size: 1.1rem; font-weight: 700;
    text-align: center; letter-spacing: 0.15em;
    font-family: 'Barlow Condensed', monospace; text-transform: uppercase;
    background: #fff; color: var(--text-primary); transition: all 0.15s;
}
.modal-captcha-input-wrap input:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(187,10,30,0.08);
}
.modal-error {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: 8px;
    background: var(--red-bg); border: 1px solid var(--red-border);
    color: #991B1B; font-size: 0.82rem; margin-bottom: 14px;
}
.modal-footer {
    display: flex; gap: 10px; padding: 16px 24px;
    border-top: 1px solid var(--border-color); background: #FAFBFC;
}
.modal-footer .btn { flex: 1; justify-content: center; padding: 10px; font-size: 0.85rem; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #B91C1C; box-shadow: 0 2px 8px rgba(220,38,38,0.25); }
.btn-danger:disabled { background: #E5E7EB; color: #9CA3AF; box-shadow: none; cursor: not-allowed; }
.btn-delete-emp { color: var(--red); border: 1px solid var(--red-border); background: var(--red-bg); }
.btn-delete-emp:hover { background: var(--red); color: #fff; }

/* ─── DASHBOARD ────────────────────────────── */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 0 24px 20px;
}
.stat-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
}
.stat-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stat-blue { background: var(--blue-bg); color: var(--blue); }
.stat-green { background: var(--green-bg); color: var(--green); }
.stat-amber { background: var(--amber-bg); color: var(--amber); }
.stat-red { background: var(--red-bg); color: var(--red); }
.stat-value { font-size: 1.4rem; font-weight: 700; color: var(--text-primary); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; padding: 0 24px 24px; }
.card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.card-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 18px 12px;
}
.card-header h3 { font-size: 0.92rem; font-weight: 600; color: var(--text-primary); }
.card-link { font-size: 0.78rem; font-weight: 500; color: var(--primary); }
.card-link:hover { text-decoration: underline; }
.card-body { padding: 0 18px 18px; }

/* ─── MINI TABLE ───────────────────────────── */
.mini-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.mini-table th {
    text-align: left; padding: 8px 10px;
    font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--text-muted); background: #FAFBFC;
}
.mini-table td { padding: 10px; border-top: 1px solid var(--border-color); }

/* ─── QUICK ACTIONS ────────────────────────── */
.quick-actions { display: flex; flex-direction: column; gap: 8px; }
.quick-action {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; border-radius: 8px;
    border: 1px solid var(--border-color); font-size: 0.85rem;
    font-weight: 500; color: var(--text-primary); transition: all 0.15s ease;
}
.quick-action:hover { border-color: var(--primary); background: var(--primary-light); }

/* ─── EMPLOYEE ROW CLICK ────────────────────── */
.emp-row td:first-child { cursor: pointer; }

/* ─── EMPLOYEE PROFILE ──────────────────────── */
.profile-page { padding: 0; }
.profile-header { background: #fff; border-bottom: 1px solid var(--border-color); }
.profile-header-inner { padding: 0 24px; }
.back-link {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.78rem; color: var(--text-muted); padding: 14px 0 10px;
    transition: color 0.15s;
}
.back-link:hover { color: var(--text-primary); }
.profile-hero {
    display: flex; align-items: center; gap: 16px; padding-bottom: 16px;
    flex-wrap: wrap;
}
.profile-avatar-lg {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 700; flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(187,10,30,0.2);
}
.profile-hero-info { flex: 1; min-width: 0; }
.profile-hero-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.profile-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem; font-weight: 700; color: var(--text-primary);
}
.profile-hero-meta {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; flex-wrap: wrap;
}
.meta-dot { color: var(--text-muted); }
.profile-hero-actions { flex-shrink: 0; }

/* ─── PROFILE TABS ──────────────────────────── */
.profile-tabs {
    display: flex; gap: 2px; overflow-x: auto;
    border-top: 1px solid var(--border-color); margin-top: 4px;
}
.profile-tab {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 16px; font-size: 0.82rem; font-weight: 500;
    color: var(--text-secondary); white-space: nowrap;
    border-bottom: 2px solid transparent; transition: all 0.15s;
    text-decoration: none;
}
.profile-tab:hover { color: var(--text-primary); background: #FAFBFC; }
.profile-tab.active {
    color: var(--primary); border-bottom-color: var(--primary);
    background: var(--primary-light);
}

/* ─── PROFILE CONTENT ───────────────────────── */
.profile-content { padding: 20px 24px; }
.profile-tab-panel { max-width: 900px; }

/* ─── DETAIL CARDS ──────────────────────────── */
.detail-card {
    background: #fff; border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); margin-bottom: 14px;
}
.detail-card-header {
    padding: 14px 18px; font-size: 0.92rem; font-weight: 600;
    color: var(--text-primary); border-bottom: 1px solid var(--border-color);
    background: #FAFBFC;
}
.detail-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.detail-field {
    padding: 12px 18px; border-bottom: 1px solid var(--border-color);
}
.detail-field:last-child { border-bottom: none; }
.detail-label {
    font-size: 0.72rem; font-weight: 600; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px;
}
.detail-value { font-size: 0.88rem; color: var(--text-primary); }
.detail-empty { color: var(--text-muted); }

/* ─── KYC STATUS BANNER ─────────────────────── */
.kyc-status-banner {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 18px; border-bottom: 1px solid var(--border-color);
}
.kyc-bg-green { background: var(--green-bg); }
.kyc-bg-red { background: var(--red-bg); }
.kyc-bg-blue { background: var(--blue-bg); }
.kyc-bg-amber { background: var(--amber-bg); }
.kyc-status-text { font-size: 0.82rem; }
.kyc-text-green { color: #166534; }
.kyc-text-red { color: #991B1B; }
.kyc-text-blue { color: #1E40AF; }
.kyc-text-amber { color: #92400E; }
.kyc-actions { display: flex; gap: 8px; padding: 14px 0; }

/* ─── DOCUMENT LIST ─────────────────────────── */
.doc-list { padding: 8px 0; }
.doc-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 18px; border-bottom: 1px solid var(--border-color);
    transition: background 0.1s;
}
.doc-item:last-child { border-bottom: none; }
.doc-item:hover { background: #FAFBFC; }
.doc-icon {
    width: 40px; height: 48px; border-radius: 8px;
    background: var(--red-bg); display: flex;
    align-items: center; justify-content: center; flex-shrink: 0;
}
.doc-info { flex: 1; }
.doc-name { font-size: 0.88rem; font-weight: 600; color: var(--text-primary); }
.doc-meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* ─── ADD EMPLOYEE ──────────────────────────── */
.add-emp-page { padding: 0; }
.add-emp-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 24px; background: #fff; border-bottom: 1px solid var(--border-color);
}
.add-emp-header-left { display: flex; align-items: center; gap: 12px; }
.back-btn {
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
    border-radius: 8px; border: none; background: transparent;
    color: var(--text-secondary); cursor: pointer; transition: all 0.15s;
}
.back-btn:hover { background: #F1F5F9; color: var(--text-primary); }
.add-emp-body {
    display: flex; flex: 1; overflow: hidden;
}

/* ─── STEP SIDEBAR ──────────────────────────── */
.step-sidebar {
    width: 220px; flex-shrink: 0; background: #fff;
    border-right: 1px solid var(--border-color);
    padding: 24px 16px; display: flex; flex-direction: column;
    justify-content: space-between;
}
.step-list { display: flex; flex-direction: column; gap: 4px; }
.step-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 10px; cursor: default; transition: all 0.15s;
}
.step-circle {
    width: 28px; height: 28px; border-radius: 50%;
    background: #E5E7EB; color: var(--text-secondary);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 700; flex-shrink: 0; transition: all 0.2s;
}
.step-circle.active { background: var(--primary); color: #fff; }
.step-circle.done { background: var(--green); color: #fff; }
.step-label { font-size: 0.78rem; font-weight: 500; color: var(--text-secondary); }
.step-label.active { color: var(--primary); font-weight: 600; }

.step-progress { margin-top: 24px; }
.step-progress-label {
    display: flex; justify-content: space-between;
    font-size: 0.72rem; color: var(--text-muted); margin-bottom: 6px;
}
.step-progress-bar { height: 6px; background: #F1F5F9; border-radius: 3px; overflow: hidden; }
.step-progress-fill {
    height: 100%; background: var(--primary); border-radius: 3px;
    transition: width 0.4s ease;
}

/* ─── FORM STEPS ────────────────────────────── */
.add-emp-form-wrap { flex: 1; overflow-y: auto; padding: 24px; }
.form-step { display: none; max-width: 720px; }
.form-step.visible { display: block; }
.form-step-heading { margin-bottom: 20px; }
.form-step-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem; font-weight: 700; color: var(--text-primary);
    text-transform: uppercase; letter-spacing: 0.02em;
}
.form-step-desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.form-card {
    background: #fff; border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 24px;
    box-shadow: var(--shadow-sm);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.form-col-span-2 { grid-column: span 2; }
.form-group { margin-bottom: 14px; }
.form-group:last-child { margin-bottom: 0; }
.form-group label {
    display: block; font-size: 0.72rem; font-weight: 600;
    color: var(--text-secondary); text-transform: uppercase;
    letter-spacing: 0.06em; margin-bottom: 5px;
}
.req { color: var(--primary); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 9px 12px; border: 1px solid var(--border-color);
    border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 0.85rem;
    color: var(--text-primary); background: #fff; transition: all 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(187,10,30,0.08);
}
.form-group textarea { resize: vertical; min-height: 60px; }
.form-group select { appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center;
    padding-right: 30px;
}
.form-divider { height: 1px; background: var(--border-color); margin: 14px 0; }
.form-section-label {
    font-size: 0.72rem; font-weight: 600; color: var(--text-secondary);
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px;
}

/* ─── FORM ALERTS ───────────────────────────── */
.form-alert {
    padding: 10px 14px; border-radius: 8px; font-size: 0.82rem;
    margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.form-alert-amber { background: var(--amber-bg); border: 1px solid var(--amber-border); color: #92400E; }
.form-alert-blue { background: var(--blue-bg); border: 1px solid var(--blue-border); color: #1E40AF; }

/* ─── FORM NAVIGATION ───────────────────────── */
.form-nav {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 20px; max-width: 720px;
}
.form-nav-dots { display: flex; gap: 6px; }
.nav-dot { width: 8px; height: 8px; border-radius: 50%; transition: background 0.2s; }

/* ─── DOCUMENT UPLOAD LIST ──────────────────── */
.doc-upload-list { display: flex; flex-direction: column; gap: 8px; }
.doc-upload-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 16px; border: 1px solid var(--border-color);
    border-radius: 10px; background: #fff; transition: border-color 0.15s;
}
.doc-upload-item:hover { border-color: var(--border-strong); }

/* ─── REVIEW ────────────────────────────────── */
.review-banner {
    display: flex; align-items: center; gap: 14px;
    padding: 16px; background: #F8FAFC; border: 1px solid var(--border-color);
    border-radius: var(--radius); margin-bottom: 14px;
}
.profile-avatar-sm {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.88rem; font-weight: 700; flex-shrink: 0;
}
.review-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem; font-weight: 700; color: var(--text-primary);
}
.review-meta { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.review-card {
    background: #fff; border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); overflow: hidden;
}
.review-card-header {
    padding: 10px 16px; background: #FAFBFC;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--text-muted);
}
.review-card-body { padding: 8px 16px; }
.review-row {
    display: flex; align-items: start; gap: 12px;
    padding: 6px 0; border-bottom: 1px solid #F8FAFC;
}
.review-row:last-child { border-bottom: none; }
.review-label {
    font-size: 0.78rem; color: var(--text-muted); width: 110px; flex-shrink: 0;
}
.review-value { font-size: 0.85rem; color: var(--text-primary); font-weight: 500; }

/* ─── RESPONSIVE ───────────────────────────── */
.mobile-step-bar { display: none; background: #fff; border-bottom: 1px solid var(--border-color); padding: 10px 16px; overflow-x: auto; }
.mobile-step-bar-inner { display: flex; gap: 4px; min-width: max-content; }
.mobile-step-pill { padding: 5px 12px; border-radius: 20px; font-size: 0.72rem; font-weight: 500; color: var(--text-muted); background: #F1F5F9; white-space: nowrap; flex-shrink: 0; }
.mobile-step-pill.active { background: var(--primary); color: #fff; }
.mobile-step-pill.done { background: var(--green); color: #fff; }
@media (max-width: 900px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-grid { grid-template-columns: 1fr; }
    .user-info { display: none; }
    .detail-grid { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .step-sidebar { display: none; }
    .add-emp-form-wrap { padding: 16px; }
    .profile-content { padding: 16px; }
    .table-card { margin: 0 12px 16px; }
    .filter-bar { padding: 0 12px 12px; }
    .page-title-bar { padding: 16px 12px 12px; }
    .stat-grid { padding: 0 12px 12px; }
    .dash-grid { padding: 0 12px 16px; }
}
@media (max-width: 640px) {
    .stat-grid { grid-template-columns: 1fr; }
    .filter-bar { flex-direction: column; align-items: stretch; }
    .search-input { max-width: none; min-width: 0; }
    .filter-select { width: 100%; }
    .page-title-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
    .title-actions { width: 100%; display: flex; gap: 6px; }
    .title-actions .btn { flex: 1; justify-content: center; }
    .profile-hero { flex-direction: column; align-items: flex-start; gap: 12px; }
    .profile-hero-actions { width: 100%; }
    .profile-hero-actions .btn { width: 100%; justify-content: center; }
    .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
    .form-col-span-2 { grid-column: span 1; }
    .country-name-text { display: none; }
    .country-btn { padding: 5px 8px; }
    .country-switcher { margin-left: 6px; }
    .user-menu { margin-left: 6px; }
    .header-logo-text { font-size: 0.88rem; }
    .top-header { padding: 0 10px; }
    .page-title { font-size: 1.2rem; }
    .page-subtitle { font-size: 0.75rem; }
    .profile-name { font-size: 1.15rem; }
    .profile-tabs { gap: 0; }
    .profile-tab { padding: 8px 10px; font-size: 0.75rem; gap: 4px; }
    .profile-tab svg { width: 11px; height: 11px; }
    .detail-card-header { padding: 10px 14px; font-size: 0.85rem; }
    .detail-field { padding: 10px 14px; }
    .doc-item { padding: 10px 14px; gap: 10px; }
    .doc-icon { width: 34px; height: 40px; }
    .add-emp-header { padding: 12px 14px; flex-wrap: wrap; gap: 8px; }
    .add-emp-header .page-title { font-size: 1.1rem; }
    .add-emp-form-wrap { padding: 14px; }
    .form-card { padding: 16px; }
    .form-step-title { font-size: 1.15rem; }
    .review-banner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px; }
    .review-label { width: 90px; font-size: 0.72rem; }
    .review-value { font-size: 0.8rem; }
    .form-nav { padding: 0 14px 14px; position: sticky; bottom: 0; background: var(--bg-body); z-index: 10; margin-top: 12px; }
    .form-nav .btn { padding: 10px 14px; font-size: 0.82rem; }

    /* Employee table → card view on mobile */
    .data-table thead { display: none; }
    .data-table, .data-table tbody, .data-table tr, .data-table td {
        display: block;
    }
    .data-table tr {
        border: 1px solid var(--border-color);
        border-radius: var(--radius);
        margin: 0 0 10px;
        padding: 0;
        background: #fff;
        overflow: hidden;
    }
    .data-table td {
        padding: 8px 14px;
        border-bottom: 1px solid #F1F5F9;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        text-align: right;
    }
    .data-table td:last-child { border-bottom: none; }
    .data-table td::before {
        content: attr(data-label);
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--text-muted);
        text-align: left;
        min-width: 80px;
        flex-shrink: 0;
    }
    .data-table td:first-child { font-weight: 600; color: var(--text-primary); }
    .data-table td:nth-child(2) { padding-top: 12px; }
    .emp-cell { justify-content: flex-start; }
    .data-table td .badge,
    .data-table td .kyc-chip { justify-content: flex-end; }
    .data-table td .btn-icon { margin-left: auto; }

    /* Dashboard mini-table → card view */
    .mini-table thead { display: none; }
    .mini-table, .mini-table tbody, .mini-table tr, .mini-table td {
        display: block;
    }
    .mini-table tr {
        border: 1px solid var(--border-color);
        border-radius: var(--radius);
        margin-bottom: 8px;
        padding: 10px 14px;
        background: #fff;
    }
    .mini-table td {
        padding: 4px 0;
        border-top: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        text-align: right;
    }
    .mini-table td::before {
        content: attr(data-label);
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--text-muted);
        text-align: left;
    }
    .mini-table td:first-child { justify-content: flex-start; }
    .mini-table td:first-child::before { display: none; }

    /* Header icon button touch targets */
    .header-icon-btn { width: 44px; height: 44px; }
    .user-menu-btn { padding: 8px; }
    .user-avatar { width: 36px; height: 36px; }
    .btn-icon { width: 40px; height: 40px; }
    .back-btn { width: 44px; height: 44px; }

    /* KYC actions stack */
    .kyc-actions { flex-direction: column; gap: 6px; }
    .kyc-actions .btn { width: 100%; justify-content: center; }
    .modal-dialog { margin: 10px; max-width: none; }
    .modal-header { padding: 18px 18px 12px; }
    .modal-body { padding: 16px 18px; }
    .modal-footer { padding: 14px 18px; flex-direction: column-reverse; }
    .modal-footer .btn { width: 100%; }

    /* Upload modal form grid */
    .upload-form-grid { grid-template-columns: 1fr !important; }
    .upload-form-grid .upload-form-footer { flex-direction: column; }
    .upload-form-grid .upload-form-footer .btn { width: 100%; justify-content: center; }

    /* Doc items: stack action row */
    .doc-item { flex-wrap: wrap; }
    .doc-actions { width: 100%; justify-content: flex-end; }

    /* Renew form responsive */
    .renew-form-wrap { width: 100% !important; max-width: 280px; }

    /* Expiry alerts button: abbreviate text */
    .alert-btn-text { display: none; }

    /* Add employee: horizontal step indicators on mobile */
    .step-sidebar { display: none; }
    .add-emp-form-wrap { padding: 16px; }
    .mobile-step-bar { display: flex !important; }

    /* Doc header flex layout */
    .doc-header-flex { flex-direction: column; align-items: flex-start !important; gap: 10px; }
    .doc-header-flex .btn { width: 100%; justify-content: center; }

    /* Upload modal full width */
    .upload-form-footer { flex-direction: column-reverse; gap: 8px; }
    .upload-form-footer .btn { width: 100%; justify-content: center; }

    /* Profile header inner padding */
    .profile-header-inner { padding: 0 14px; }
    .profile-hero-meta { font-size: 0.72rem; }
    .profile-hero-row .badge { font-size: 0.68rem; padding: 2px 7px; }

    /* Document items on mobile: stack renewal form */
    .doc-item { flex-wrap: wrap; gap: 8px; }

    /* Alert dropdown on mobile */
    .alert-dropdown { width: calc(100vw - 20px); right: -40px; }
    .alert-item { padding: 12px 14px; gap: 10px; }
    .alert-item .alert-right .badge { font-size: 10px; padding: 2px 6px; }

    /* Dashboard quick actions full width */
    .dash-grid .card { min-width: 0; }
}

.toast-success {
    margin-bottom: 16px;
}
.toast-success-inner {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px;
    background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 8px;
    color: #166534; font-size: 0.875rem; font-weight: 500;
    animation: toastSlideIn 0.3s ease;
}
.toast-close {
    margin-left: auto; background: none; border: none; cursor: pointer;
    color: #166534; padding: 2px; display: flex; align-items: center;
}
.toast-close:hover { opacity: 0.6; }
@keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Expiry Alerts Dropdown */
.alert-dropdown {
    display: none;
    position: absolute;
    right: 0;
    margin-top: 8px;
    width: 520px;
    max-width: 90vw;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    z-index: 50;
    overflow: hidden;
}
.alert-dropdown.show { display: block; }
.alert-dropdown-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #F3F4F6;
}
.alert-dropdown-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}
.alert-dropdown-sub {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 2px;
}
.alert-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    transition: all 0.15s;
}
.alert-close:hover { background: #F3F4F6; color: #6B7280; }
.alert-dropdown-list {
    max-height: 380px;
    overflow-y: auto;
}
.alert-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #F9FAFB;
    transition: background 0.15s;
    cursor: pointer;
}
.alert-item:hover { background: #F9FAFB; }
.alert-item:last-child { border-bottom: none; }
.alert-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #BB0A1E;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.alert-info { flex: 1; min-width: 0; }
.alert-name {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}
.alert-doc {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 1px;
}
.alert-review {
    font-size: 12px;
    color: #6B7280;
    margin-top: 4px;
}
.alert-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}
.alert-right .badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}
.alert-expiry, .alert-next {
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 6px;
    white-space: nowrap;
}
.alert-dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: #F9FAFB;
    border-top: 1px solid #F3F4F6;
}
.alert-dropdown-footer span {
    font-size: 12px;
    color: #9CA3AF;
}
.alert-dismiss {
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 600;
    color: #BB0A1E;
    cursor: pointer;
}
.alert-dismiss:hover { opacity: 0.7; }
