:root {
    --primary: #0f4c81;
    --primary-strong: #0b3b65;
    --primary-soft: #eaf3fb;
    --secondary: #5f6fff;
    --success: #16865f;
    --warning: #d98217;
    --danger: #d64f59;
    --ink: #183247;
    --muted: #6e8294;
    --line: #e4ebf1;
    --surface: #ffffff;
    --surface-soft: #f6f9fc;
    --sidebar: #0c3152;
    --sidebar-2: #0f446f;
    --shadow-sm: 0 8px 24px rgba(25, 59, 88, .07);
    --shadow-md: 0 18px 48px rgba(17, 52, 81, .11);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #f3f7fb;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: .94rem;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }
button, input, select, textarea { font: inherit; }

/* Layout */
.app-shell { min-height: 100vh; }
.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1040;
    display: flex;
    width: 278px;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 22px 18px 18px;
    color: #fff;
    background:
        radial-gradient(circle at 20% 0%, rgba(77, 157, 220, .28), transparent 34%),
        linear-gradient(180deg, var(--sidebar-2), var(--sidebar));
    box-shadow: 14px 0 34px rgba(13, 42, 66, .09);
    transition: transform .25s ease;
}
.sidebar::after {
    content: "";
    position: absolute;
    inset: auto -120px -140px auto;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
    box-shadow: 0 0 0 44px rgba(255, 255, 255, .025), 0 0 0 90px rgba(255, 255, 255, .02);
    pointer-events: none;
}
.sidebar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark {
    display: inline-grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.08));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
    font-size: 1.22rem;
}
.brand-copy { display: flex; flex-wrap: wrap; align-items: baseline; color: #fff; font-size: 1.26rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.brand-copy em { color: #7ed0ff; font-style: normal; }
.brand-copy small { width: 100%; margin-top: 5px; color: rgba(255,255,255,.56); font-size: .61rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.sidebar-close { border: 0; color: #fff; background: transparent; font-size: 1.1rem; }
.sidebar-profile {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    background: rgba(255,255,255,.075);
    backdrop-filter: blur(8px);
}
.profile-avatar {
    display: inline-grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 13px;
    color: #0d416d;
    background: linear-gradient(145deg, #eaf7ff, #aee0ff);
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.sidebar-profile div { min-width: 0; }
.sidebar-profile strong, .sidebar-profile span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-profile strong { color: #fff; font-size: .88rem; }
.sidebar-profile span { margin-top: 3px; color: rgba(255,255,255,.62); font-size: .73rem; }
.sidebar-nav { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; gap: 4px; }
.nav-section-label { margin: 17px 12px 7px; color: rgba(255,255,255,.4); font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 45px;
    padding: 10px 12px;
    border-radius: 13px;
    color: rgba(239,248,255,.76);
    font-size: .88rem;
    font-weight: 600;
    transition: .2s ease;
}
.sidebar .nav-link i { width: 20px; color: rgba(194,228,250,.8); font-size: 1.04rem; text-align: center; }
.sidebar .nav-link:hover { color: #fff; background: rgba(255,255,255,.09); transform: translateX(2px); }
.sidebar .nav-link.active { color: #fff; background: linear-gradient(135deg, rgba(111,191,241,.34), rgba(255,255,255,.12)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 8px 18px rgba(4,27,46,.13); }
.sidebar .nav-link.active i { color: #aee1ff; }
.nav-counter { min-width: 24px; margin-left: auto; padding: 3px 6px; border-radius: 999px; color: #fff; background: #ef5a68; font-size: .67rem; font-weight: 800; text-align: center; }
.sidebar-footer { position: relative; z-index: 1; display: grid; gap: 4px; margin-top: 22px; padding: 13px 14px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.55); font-size: .68rem; }
.sidebar-footer span { display: flex; align-items: center; gap: 7px; }
.sidebar-footer small { color: rgba(255,255,255,.34); }
.sidebar-backdrop { display: none; }

.main-panel { min-height: 100vh; margin-left: 278px; }
.topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px;
    border-bottom: 1px solid rgba(223,232,240,.8);
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(14px);
}
.topbar-left, .topbar-actions { display: flex; align-items: center; gap: 14px; }
.topbar-eyebrow { display: block; color: #8b9cab; font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.topbar h2 { margin: 2px 0 0; color: var(--ink); font-size: 1.18rem; font-weight: 800; letter-spacing: -.02em; }
.mobile-menu-btn, .topbar-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    color: var(--ink);
    background: #fff;
}
.mobile-menu-btn { font-size: 1.28rem; }
.topbar-icon { position: relative; font-size: 1.04rem; }
.topbar-icon:hover { color: var(--primary); border-color: #c7ddeb; background: var(--primary-soft); }
.topbar-icon span { position: absolute; top: -4px; right: -3px; display: grid; min-width: 19px; height: 19px; place-items: center; padding: 0 4px; border: 2px solid #fff; border-radius: 999px; color: #fff; background: var(--danger); font-size: .6rem; font-weight: 800; }
.profile-button { display: flex; align-items: center; gap: 10px; padding: 5px 8px 5px 5px; border: 1px solid transparent; border-radius: 14px; color: var(--ink); background: transparent; }
.profile-button:hover { border-color: var(--line); background: #fff; }
.profile-avatar--small { width: 38px; height: 38px; flex-basis: 38px; border-radius: 12px; box-shadow: none; }
.profile-button__copy { display: grid; min-width: 120px; text-align: left; }
.profile-button__copy strong { overflow: hidden; max-width: 150px; color: var(--ink); font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.profile-button__copy small { margin-top: 1px; color: var(--muted); font-size: .68rem; }
.profile-button > i { color: #91a0ad; font-size: .75rem; }
.profile-menu { min-width: 230px; padding: 8px; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow-md); }
.profile-menu__header { display: grid; margin: -2px -2px 7px; padding: 12px; border-radius: 11px; background: var(--surface-soft); }
.profile-menu__header strong { color: var(--ink); font-size: .78rem; }
.profile-menu__header span { margin-top: 3px; color: var(--muted); font-size: .68rem; }
.profile-menu .dropdown-item { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 9px; font-size: .79rem; }
.content-area { max-width: 1680px; margin: 0 auto; padding: 28px 30px 42px; }

/* Shared UI */
.card { border: 1px solid rgba(226,234,241,.82); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.card-body { padding: 22px; }
.card-header { padding: 18px 22px; border-bottom: 1px solid var(--line); background: transparent; }
.btn { border-radius: 11px; font-weight: 700; }
.btn-primary { border-color: var(--primary); background: var(--primary); }
.btn-primary:hover, .btn-primary:focus { border-color: var(--primary-strong); background: var(--primary-strong); }
.btn-outline-primary { color: var(--primary); border-color: #b8d2e5; }
.btn-outline-primary:hover { border-color: var(--primary); background: var(--primary); }
.btn-soft-primary { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; color: var(--primary); border: 1px solid #d4e5f1; background: var(--primary-soft); font-size: .77rem; }
.btn-soft-primary:hover { color: #fff; border-color: var(--primary); background: var(--primary); }
.btn-icon-text { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; color: var(--primary); border: 1px solid #d6e4ee; background: #f9fcfe; }
.btn-icon-text:hover { color: #fff; border-color: var(--primary); background: var(--primary); }
.form-control, .form-select { min-height: 43px; border-color: #dbe5ec; border-radius: 11px; color: var(--ink); background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: #6ca9d2; box-shadow: 0 0 0 .22rem rgba(15,76,129,.11); }
.form-label { color: #425a6c; font-size: .78rem; font-weight: 700; }
textarea.form-control { min-height: 110px; }
.modal-content { border: 0; border-radius: 20px; box-shadow: var(--shadow-md); }
.alert.app-alert { display: flex; align-items: center; gap: 10px; border: 0; border-radius: 14px; box-shadow: var(--shadow-sm); }
.alert.app-alert .btn-close { margin-left: auto; }
.badge { padding: .48em .72em; border-radius: 999px; font-size: .68rem; font-weight: 700; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.status-badge i { font-size: .72rem; }
.text-bg-warning { color: #77500b !important; background: #fff1c9 !important; }
.text-bg-info { color: #0c6075 !important; background: #d8f4fb !important; }
.text-bg-danger { color: #9d3039 !important; background: #ffe0e3 !important; }
.text-bg-primary { color: #2249a6 !important; background: #e2e8ff !important; }
.text-bg-success { color: #126547 !important; background: #d9f5e9 !important; }
.text-bg-secondary { color: #526475 !important; background: #e9eef3 !important; }
.text-bg-dark { color: #fff !important; background: #42505d !important; }

.card h2.h5, .card h3.h5 { color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.card .text-muted { color: var(--muted) !important; }
.list-group-item { padding: 15px 18px; border-color: var(--line); }

/* Dashboard */
.dashboard-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    color: #fff;
    background:
        radial-gradient(circle at 92% 12%, rgba(126,208,255,.32), transparent 28%),
        radial-gradient(circle at 68% 100%, rgba(95,111,255,.22), transparent 34%),
        linear-gradient(125deg, #0d3b63, #12659d 62%, #167aac);
    box-shadow: 0 20px 46px rgba(14,74,118,.19);
}
.dashboard-hero::before, .dashboard-hero::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.dashboard-hero::before { width: 340px; height: 340px; right: -110px; top: -210px; box-shadow: 0 0 0 48px rgba(255,255,255,.028), 0 0 0 98px rgba(255,255,255,.018); }
.dashboard-hero::after { width: 170px; height: 170px; right: 30%; bottom: -130px; }
.dashboard-hero__content { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: center; padding: 30px 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.72); font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.dashboard-hero h1 { max-width: 760px; margin: 10px 0 8px; color: #fff; font-size: clamp(1.55rem, 2.2vw, 2.3rem); font-weight: 800; letter-spacing: -.035em; }
.dashboard-hero p { max-width: 720px; margin: 0; color: rgba(238,248,255,.72); font-size: .91rem; }
.hero-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: rgba(255,255,255,.88); background: rgba(255,255,255,.08); font-size: .7rem; font-weight: 650; }
.hero-progress-card { padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.hero-progress-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.hero-progress-card__top span { color: rgba(255,255,255,.72); font-size: .75rem; font-weight: 700; }
.hero-progress-card__top strong { color: #fff; font-size: 1.4rem; }
.progress-modern { height: 9px; border-radius: 999px; background: rgba(255,255,255,.16); }
.progress-modern .progress-bar { border-radius: inherit; background: linear-gradient(90deg, #7ed0ff, #d6f2ff); }
.hero-progress-card__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 13px; color: rgba(255,255,255,.68); font-size: .69rem; }
.hero-progress-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.stat-card { position: relative; display: flex; min-height: 132px; align-items: center; gap: 15px; overflow: hidden; padding: 20px; border: 1px solid rgba(225,234,241,.9); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-card::after { content: ""; position: absolute; right: -28px; bottom: -38px; width: 96px; height: 96px; border-radius: 50%; opacity: .08; background: currentColor; }
.stat-icon { display: inline-grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; border-radius: 16px; font-size: 1.32rem; }
.stat-content { min-width: 0; }
.stat-content span, .stat-content strong, .stat-content small { display: block; }
.stat-content span { color: var(--muted); font-size: .74rem; font-weight: 700; }
.stat-content strong { margin-top: 3px; color: var(--ink); font-size: 1.85rem; line-height: 1.15; letter-spacing: -.04em; }
.stat-content small { margin-top: 4px; color: #93a1ad; font-size: .66rem; }
.stat-card--blue { color: #1679ba; }
.stat-card--blue .stat-icon { color: #0f6fae; background: #e4f3fd; }
.stat-card--violet { color: #6c63d9; }
.stat-card--violet .stat-icon { color: #6558d2; background: #edeaff; }
.stat-card--green { color: #1a9369; }
.stat-card--green .stat-icon { color: #14845d; background: #e1f7ee; }
.stat-card--orange { color: #db8a21; }
.stat-card--orange .stat-icon { color: #c9780e; background: #fff1dc; }
.chart-card, .table-card { overflow: hidden; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-heading h2 { margin: 3px 0 4px; color: var(--ink); font-size: 1rem; font-weight: 800; letter-spacing: -.015em; }
.section-heading p { margin: 0; color: var(--muted); font-size: .72rem; }
.section-heading--compact { align-items: center; }
.section-kicker { color: var(--primary); font-size: .63rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.section-icon { display: inline-grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 13px; color: var(--primary); background: var(--primary-soft); font-size: 1.08rem; }
.chart-wrap { position: relative; width: 100%; }
.chart-wrap--doughnut { height: 310px; }
.chart-wrap--bar { height: 310px; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); text-align: center; }
.empty-state i { margin-bottom: 10px; color: #b4c4d0; font-size: 2rem; }
.empty-state strong { color: #536a7c; font-size: .83rem; }
.empty-state span { margin-top: 4px; font-size: .7rem; }
.empty-state--chart { min-height: 310px; border: 1px dashed #dce7ef; border-radius: 16px; background: #fbfdff; }
.table-modern thead th { padding: 12px 14px; border: 0; color: #8495a3; background: #f7fafc; font-size: .65rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.table-modern thead th:first-child { border-radius: 11px 0 0 11px; }
.table-modern thead th:last-child { border-radius: 0 11px 11px 0; }
.table-modern tbody td { padding: 14px; border-color: #edf2f6; color: #41596b; font-size: .76rem; }
.table-modern tbody tr:last-child td { border-bottom: 0; }
.table-modern tbody tr:hover { background: #fbfdff; }
.table-identity { display: flex; min-width: 220px; align-items: center; gap: 10px; }
.table-avatar { display: inline-grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 10px; color: #0e659f; background: #e8f4fb; font-size: .75rem; font-weight: 800; }
.table-identity strong, .table-identity small { display: block; }
.table-identity strong { color: #2c4558; font-size: .76rem; }
.table-identity small { margin-top: 2px; color: #8b9aa6; font-size: .65rem; }
.document-title { display: block; max-width: 300px; overflow: hidden; color: #334e62; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.date-cell { display: inline-flex; align-items: center; gap: 6px; color: #81919e; white-space: nowrap; }

/* General tables/pages */
.table-responsive { border-radius: 12px; }
.table:not(.table-modern) th { padding: 12px; color: #758797; background: #f6f9fb; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.table:not(.table-modern) td { padding: 12px; border-color: #edf1f5; color: #42596b; font-size: .78rem; }
.pagination .page-link { color: var(--primary); border-color: var(--line); }
.pagination .active > .page-link { border-color: var(--primary); background: var(--primary); }

/* Login */
.login-shell { min-height: 100vh; background: #eef4f8; }
.login-container { max-width: none; min-height: 100vh; padding: 0; }
.login-page { display: grid; min-height: 100vh; grid-template-columns: minmax(460px, 1.15fr) minmax(420px, .85fr); }
.login-showcase { position: relative; flex-direction: column; overflow: hidden; padding: 42px 54px; color: #fff; background: radial-gradient(circle at 20% 16%, rgba(95,182,235,.28), transparent 30%), radial-gradient(circle at 90% 92%, rgba(111,102,219,.24), transparent 33%), linear-gradient(145deg, #0c3356, #0e5c91); }
.login-showcase::before { content: ""; position: absolute; width: 520px; height: 520px; right: -280px; top: -260px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 145px rgba(255,255,255,.018); }
.brand--login .brand-mark { width: 48px; height: 48px; flex-basis: 48px; }
.login-showcase__top, .login-showcase__content, .login-showcase__footer { position: relative; z-index: 1; }
.login-showcase__content { max-width: 650px; margin: auto 0; }
.eyebrow--light { color: #a9dfff; }
.login-showcase h1 { margin: 17px 0 15px; color: #fff; font-size: clamp(2.1rem, 4vw, 4.2rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.03; }
.login-showcase__content > p { max-width: 590px; margin: 0; color: rgba(235,247,255,.72); font-size: 1rem; line-height: 1.7; }
.login-features { display: grid; max-width: 620px; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.login-features > div { display: flex; gap: 10px; padding: 14px; border: 1px solid rgba(255,255,255,.11); border-radius: 15px; background: rgba(255,255,255,.07); }
.login-features > div > i { color: #9cddff; font-size: 1.1rem; }
.login-features strong, .login-features small { display: block; }
.login-features strong { color: #fff; font-size: .72rem; }
.login-features small { margin-top: 3px; color: rgba(255,255,255,.56); font-size: .61rem; line-height: 1.45; }
.login-showcase__footer { color: rgba(255,255,255,.48); font-size: .7rem; }
.login-showcase__footer span { display: inline-flex; align-items: center; gap: 7px; }
.login-form-panel { display: grid; place-items: center; padding: 38px; background: #f8fbfd; }
.login-card { width: min(100%, 430px); }
.login-kicker { color: var(--primary); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.login-card h2 { margin: 8px 0 7px; color: var(--ink); font-size: 1.85rem; font-weight: 800; letter-spacing: -.04em; }
.login-subtitle { margin: 0 0 25px; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.login-alert { position: relative; display: grid; grid-template-columns: 42px minmax(0,1fr) 28px; gap: 12px; align-items: start; margin: -6px 0 19px; padding: 14px 12px 14px 14px; overflow: hidden; border: 1px solid #f2c9cd; border-radius: 15px; color: #71323a; background: linear-gradient(135deg,#fff8f8,#fffdfd); box-shadow: 0 12px 28px rgba(151,47,61,.08); animation: loginAlertIn .34s cubic-bezier(.2,.7,.2,1) both; }
.login-alert::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(#dc4d5d,#b92d40); }
.login-alert__icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: #c63e4f; background: #fde9eb; font-size: 1.12rem; }
.login-alert__content { min-width: 0; padding-top: 1px; }
.login-alert__content > strong { display: block; color: #7d2e38; font-size: .78rem; font-weight: 800; }
.login-alert__content > p { margin: 3px 0 0; color: #8d4c54; font-size: .72rem; line-height: 1.5; }
.login-alert__content > small { display: flex; gap: 6px; align-items: flex-start; margin-top: 7px; color: #9a656b; font-size: .65rem; line-height: 1.45; }
.login-alert__content > small i { margin-top: 1px; flex: 0 0 auto; }
.login-alert__attempts { display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; padding: 5px 8px; border-radius: 8px; color: #8b414a; background: #fcecee; font-size: .62rem; line-height: 1.35; }
.login-alert__attempts b { font-size: .7rem; }
.login-alert__close { position: relative; z-index: 3; display: grid; cursor: pointer; width: 28px; height: 28px; place-items: center; border: 0; border-radius: 8px; color: #a96a72; background: transparent; font-size: .72rem; transition: background .2s ease,color .2s ease; }
.login-alert__close:hover { color: #7d2e38; background: #fbe7e9; }
.login-alert.is-closing { animation: loginAlertOut .18s ease forwards; }
@keyframes loginAlertIn { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes loginAlertOut { to { opacity: 0; transform: translateY(-5px); } }
.login-form { display: grid; gap: 17px; }
.form-group-modern label { display: block; margin-bottom: 7px; color: #42596b; font-size: .75rem; font-weight: 750; }
.input-icon-wrap { position: relative; }
.input-icon-wrap > i { position: absolute; top: 50%; left: 15px; z-index: 2; color: #8ba0af; transform: translateY(-50%); }
.input-icon-wrap .form-control { min-height: 50px; padding-left: 44px; padding-right: 42px; border: 1px solid #dbe5ec; border-radius: 13px; background: #fff; }
.input-icon-wrap .form-control::placeholder { color: #a7b4be; }
.password-toggle { position: absolute; top: 50%; right: 12px; border: 0; color: #8ba0af; background: transparent; transform: translateY(-50%); }
.btn-login { display: flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; margin-top: 3px; border-radius: 13px; box-shadow: 0 10px 24px rgba(15,76,129,.18); }
.btn-login i { transition: transform .2s ease; }
.btn-login:hover i { transform: translateX(3px); }
.demo-credential { display: flex; gap: 10px; margin-top: 24px; padding: 13px 14px; border: 1px solid #d9e8f2; border-radius: 13px; color: #42677e; background: #eef7fc; }
.demo-credential > i { color: var(--primary); }
.demo-credential strong, .demo-credential span { display: block; }
.demo-credential strong { font-size: .71rem; }
.demo-credential span { margin-top: 3px; color: #688093; font-size: .67rem; }
.demo-credential code { color: #0d5f98; }
.login-copyright { margin: 24px 0 0; color: #9aa8b3; font-size: .66rem; text-align: center; }
.brand--mobile .brand-copy { color: var(--ink); }
.brand--mobile .brand-copy em { color: var(--primary); }
.brand--mobile .brand-mark { color: #fff; background: var(--primary); }

@media (max-width: 1199.98px) {
    .dashboard-hero__content { grid-template-columns: 1fr 300px; }
    .login-features { grid-template-columns: 1fr; }
}

@media (max-width: 991.98px) {
    body.sidebar-open { overflow: hidden; }
    .sidebar { transform: translateX(-105%); }
    body.sidebar-open .sidebar { transform: translateX(0); }
    .sidebar-backdrop { position: fixed; inset: 0; z-index: 1030; background: rgba(8,31,49,.46); backdrop-filter: blur(2px); }
    body.sidebar-open .sidebar-backdrop { display: block; }
    .main-panel { margin-left: 0; }
    .topbar { padding: 10px 18px; }
    .content-area { padding: 22px 18px 34px; }
    .dashboard-hero__content { grid-template-columns: 1fr; }
    .hero-progress-card { max-width: 520px; }
    .login-page { grid-template-columns: 1fr; }
    .login-form-panel { min-height: 100vh; }
}

@media (max-width: 767.98px) {
    .topbar-eyebrow, .profile-button__copy, .profile-button > i { display: none; }
    .topbar-actions { gap: 7px; }
    .dashboard-hero__content { padding: 24px 21px; }
    .dashboard-hero h1 { font-size: 1.5rem; }
    .dashboard-hero p { font-size: .78rem; }
    .hero-progress-card__meta { flex-direction: column; }
    .section-heading { align-items: flex-start; }
    .section-heading--compact { flex-direction: column; }
    .section-heading--compact .btn { width: 100%; justify-content: center; }
    .chart-wrap--bar { height: 340px; }
    .card-body { padding: 18px; }
    .login-form-panel { padding: 26px 20px; }
}

@media (max-width: 575.98px) {
    .sidebar { width: min(88vw, 300px); }
    .content-area { padding-inline: 13px; }
    .topbar { padding-inline: 13px; }
    .topbar h2 { font-size: 1rem; }
    .dashboard-hero { border-radius: 19px; }
    .stat-card { min-height: 112px; }
    .table-card .card-body { padding-inline: 12px; }
    .btn-icon-text span { display: none; }
}

/* Modern reports and export center */
.report-hero { position: relative; overflow: hidden; border-radius: 22px; color: #fff; background: radial-gradient(circle at 88% 10%, rgba(87,190,223,.26), transparent 28%), linear-gradient(135deg, #0b3558, #0f6491); box-shadow: 0 18px 44px rgba(18,67,101,.16); }
.report-hero::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -160px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.035), 0 0 0 95px rgba(255,255,255,.02); }
.report-hero__content { position: relative; z-index: 1; display: grid; min-height: 210px; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 34px 38px; }
.report-hero__eyebrow { display: inline-flex; align-items: center; gap: 7px; color: #a9dfff; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.report-hero h1 { max-width: 660px; margin: 13px 0 10px; color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.55rem); font-weight: 800; letter-spacing: -.045em; }
.report-hero p { max-width: 650px; margin: 0; color: rgba(235,247,255,.72); font-size: .82rem; line-height: 1.7; }
.report-ring { display: grid; width: 132px; height: 132px; place-items: center; align-content: center; border: 10px solid rgba(255,255,255,.13); border-radius: 50%; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); backdrop-filter: blur(8px); }
.report-ring strong, .report-ring span { display: block; text-align: center; }
.report-ring strong { color: #fff; font-size: 1.45rem; font-weight: 800; }
.report-ring span { margin-top: 2px; color: #b9d9ec; font-size: .62rem; }
.report-kpi { display: flex; min-height: 92px; align-items: center; gap: 14px; padding: 18px; border: 1px solid #e5edf2; border-radius: 17px; background: #fff; box-shadow: 0 8px 24px rgba(32,75,102,.055); }
.report-kpi > span { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border-radius: 14px; font-size: 1.15rem; }
.report-kpi small, .report-kpi strong { display: block; }
.report-kpi small { color: #82929f; font-size: .66rem; font-weight: 700; }
.report-kpi strong { margin-top: 3px; color: #263f51; font-size: 1.35rem; }
.report-kpi--blue > span { color: #176b87; background: #ddf0f5; }
.report-kpi--green > span { color: #14805e; background: #ddf4e9; }
.report-kpi--gold > span { color: #ad7118; background: #fff0d4; }
.report-kpi--red > span { color: #a84454; background: #fbe3e7; }
.report-control-card { border: 0; box-shadow: 0 12px 32px rgba(31,73,98,.065); }
.report-control-grid { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(430px, 1.1fr); align-items: center; gap: 22px; }
.report-filter-form { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(170px, 1fr) auto auto; align-items: center; gap: 10px; }
.report-filter-copy { display: flex; grid-column: 1 / -1; align-items: center; gap: 11px; margin-bottom: 2px; }
.report-filter-copy strong, .report-filter-copy small { display: block; }
.report-filter-copy strong { color: #294356; font-size: .78rem; }
.report-filter-copy small { margin-top: 2px; color: #8797a3; font-size: .65rem; }
.report-control-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: #176b87; background: #e6f3f7; }
.report-export-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.export-button { display: grid; min-height: 82px; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid #e1e9ef; border-radius: 16px; color: inherit; background: #fbfdfe; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.export-button:hover { color: inherit; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(39,78,102,.1); }
.export-button__icon { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 13px; font-size: 1.25rem; }
.export-button strong, .export-button small { display: block; }
.export-button strong { color: #294356; font-size: .77rem; }
.export-button small { margin-top: 3px; color: #8797a3; font-size: .61rem; line-height: 1.4; }
.export-button__arrow { color: #9aabb6; }
.export-button--pdf:hover { border-color: #efbec7; }
.export-button--pdf .export-button__icon { color: #b13e51; background: #fbe4e8; }
.export-button--excel:hover { border-color: #b7dfce; }
.export-button--excel .export-button__icon { color: #157451; background: #dff4ea; }
.report-result-count { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid #dde8ef; border-radius: 10px; color: #607786; background: #f8fbfd; font-size: .67rem; font-weight: 700; }

@media (max-width: 1199.98px) {
    .report-control-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .report-hero__content { grid-template-columns: 1fr; padding: 27px 23px; }
    .report-hero__progress { display: none; }
    .report-filter-form { grid-template-columns: 1fr auto; }
    .report-filter-form .form-select { grid-column: 1 / -1; }
    .report-export-actions { grid-template-columns: 1fr; }
}

/* RENJA V4: laporan sesuai rancangan JPG, adaptif untuk 6 atau 1 slot dokumen. */
.renja-report-page { color: #20344c; }
.renja-report-heading { padding: 0 4px; }
.renja-report-eyebrow { display:block; margin-bottom:6px; color:#8798ad; font-size:.72rem; font-weight:800; letter-spacing:.12em; }
.renja-report-heading h1 { margin:0 0 4px; color:#102b49; font-size:clamp(1.4rem,2.35vw,2rem); font-weight:800; letter-spacing:-.035em; }
.renja-report-heading p { margin:0; font-size:.83rem; color:#647b93; }
.renja-report-filter, .renja-report-results { border:1px solid #e1ebf4; border-radius:18px; box-shadow:0 11px 32px rgba(16,55,88,.055); overflow:hidden; }
.renja-report-filter .card-body { padding:24px; }
.renja-report-filter-fields { display:grid; grid-template-columns:1.25fr .75fr 1fr 1fr 1fr; gap:13px; }
.renja-report-filter-fields label { display:block; margin-bottom:8px; font-size:.73rem; font-weight:750; color:#1f3650; }
.renja-report-filter-fields .form-select { min-width:0; border-color:#d6e2ef; border-radius:10px; min-height:42px; color:#314861; font-size:.81rem; }
.renja-report-toolbar { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.renja-report-toolbar .btn { border-radius:10px; padding:10px 17px; font-size:.78rem; font-weight:700; }
.renja-report-stat { min-height:122px; height:100%; padding:18px; border:1px solid #d7e6fa; border-radius:12px; background:#edf5ff; }
.renja-report-stat-icon { display:grid; flex:0 0 43px; width:43px; height:43px; place-items:center; border-radius:50%; color:#277de4; background:#d5eafe; font-size:1.2rem; }
.renja-report-stat strong { display:block; color:#142b48; font-size:1.65rem; line-height:1.12; }
.renja-report-stat small { display:block; margin-top:4px; color:#50657a; font-size:.74rem; }
.renja-report-stat-footer { display:flex; align-items:center; gap:8px; margin-top:17px; color:#4b6075; font-size:.73rem; }
.renja-report-stat-track { display:block; flex:1; height:7px; border-radius:9px; background:rgba(34,106,191,.13); overflow:hidden; }
.renja-report-stat-track span { display:block; height:100%; background:#3d8bf5; border-radius:9px; }
.renja-report-stat--green { background:#eafaf2; border-color:#cdeede; }
.renja-report-stat--green .renja-report-stat-icon { color:#088653; background:#d3f4e1; }
.renja-report-stat--green .renja-report-stat-track { background:#d4efdf; }
.renja-report-stat--green .renja-report-stat-track span { background:#0f9560; }
.renja-report-stat--gold { background:#fff8e9; border-color:#ffe7b2; }
.renja-report-stat--gold .renja-report-stat-icon { color:#e5a200; background:#ffedc1; }
.renja-report-stat--gold .renja-report-stat-track { background:#faedce; }
.renja-report-stat--gold .renja-report-stat-track span { background:#f1aa12; }
.renja-report-stat--red { background:#fff0f1; border-color:#ffdade; }
.renja-report-stat--red .renja-report-stat-icon { color:#da3544; background:#ffdadf; }
.renja-report-stat--red .renja-report-stat-track { background:#f9d5db; }
.renja-report-stat--red .renja-report-stat-track span { background:#e34250; }
.renja-report-results-header { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:19px 20px 15px; }
.renja-report-results-header h2 { margin:0; color:#142d49; font-size:1.02rem; font-weight:800; }
.renja-report-results-header p { margin:5px 0 0; color:#8090a3; font-size:.73rem; }
.renja-report-count { white-space:nowrap; background:#ecf3fb; color:#486682; padding:6px 12px; border-radius:20px; font-size:.7rem; font-weight:700; }
.renja-report-table { min-width:1170px; border-top:1px solid #e3edf6; font-size:.72rem; }
.renja-report-table thead th { color:#344d68; background:#f3f7fb; border:1px solid #e1e9f0; text-align:center; vertical-align:middle; white-space:normal; line-height:1.4; font-size:.65rem; }
.renja-report-table thead .renja-report-table-group th { background:#eef4fb; font-weight:800; }
.renja-report-table td { border:1px solid #e5edf4; padding:11px 8px; color:#314b65; vertical-align:middle; }
.renja-report-table td strong { font-weight:750; white-space:nowrap; }
.renja-report-file-cell { text-align:center; min-width:58px; }
.renja-report-file-icon { font-size:1.12rem; display:inline-flex; justify-content:center; width:27px; }
.renja-report-file-icon--success { color:#11915d; }
.renja-report-file-icon--muted { color:#a3b1bf; }
.renja-report-file-icon--pending { color:#efac13; }
.renja-report-file-icon--danger { color:#dc3545; }
.renja-report-period { min-width:110px; font-weight:650; line-height:1.4; }
.renja-report-table .status-badge { font-size:.64rem; white-space:nowrap; }
.renja-report-progress { display:flex; align-items:center; gap:7px; min-width:103px; }
.renja-report-progress .progress { height:8px; flex:1; min-width:48px; background:#e1eaf3; border-radius:10px; }
.renja-report-progress .progress-bar { background:#398bf4; }
.renja-report-progress small { white-space:nowrap; font-size:.68rem; }
.renja-report-progress-sub { display:block; margin-top:3px; text-align:center; color:#8a9cad; font-size:.62rem; }
.renja-report-ba { display:inline-flex; align-items:center; gap:4px; padding:5px 8px; border-radius:9px; color:#a26b10; background:#fff3d8; font-size:.72rem; white-space:nowrap; font-weight:800; }
.renja-report-ba--complete { color:#137650; background:#dff6e8; }
.renja-report-detail { white-space:nowrap; border-radius:8px; font-weight:700; }
.renja-report-pagination { display:flex; justify-content:space-between; flex-wrap:wrap; align-items:center; gap:10px; padding:15px 20px; border-top:1px solid #e4ecf4; color:#648098; font-size:.72rem; }
.renja-report-legend { display:flex; flex-wrap:wrap; gap:8px 15px; color:#667d91; font-size:.72rem; }
.renja-report-legend strong { color:#344e68; }
@media(max-width:1200px) { .renja-report-filter-fields { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:767px) { .renja-report-filter-fields { grid-template-columns:1fr; } .renja-report-heading h1 { font-size:1.5rem; } .renja-report-toolbar .btn { flex:1; } }

/* Ringkasan tahapan Renja: pengumpulan, verifikasi per slot, dan paket dengan BA. */
.dashboard-metric { min-height: 176px; height: 100%; padding: 18px; border: 1px solid #e3edf4; border-radius: 15px; background: #f8fbfd; }
.dashboard-metric__header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.dashboard-metric__header span { font-size: .81rem; font-weight: 750; color: #42596b; }
.dashboard-metric__header span i { margin-right: 5px; }
.dashboard-metric__header strong { font-size: 1.25rem; color: #243e50; white-space: nowrap; }
.dashboard-metric .progress { height: 9px; border-radius: 10px; background: #e6eef4; }
.dashboard-metric .progress-bar { border-radius: 10px; }
.dashboard-metric--collection .progress-bar { background: #2a80bd; }
.dashboard-metric--verification .progress-bar { background: #6b61cc; }
.dashboard-metric--completion .progress-bar { background: #23946d; }
.dashboard-metric p { margin: 14px 0 4px; font-size: .77rem; color: #4d6575; }
.dashboard-metric small { display: block; font-size: .69rem; line-height: 1.5; color: #7d909e; }

/* Dashboard ringkas, minim elemen dekoratif agar mudah dipahami pengguna baru. */
.dashboard-simple-header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.dashboard-simple-header h1{font-size:clamp(1.45rem,2vw,1.85rem);font-weight:750;letter-spacing:-.025em;margin:4px 0 6px;color:var(--ink)}
.dashboard-simple-header p{margin:0;color:var(--muted);font-size:.91rem}
.dashboard-eyebrow{font-size:.78rem;letter-spacing:.06em;color:var(--primary);font-weight:700;text-transform:uppercase}
.dashboard-period-form{flex:0 1 360px;width:360px;max-width:100%}
.dashboard-period-form .form-label,.dashboard-monitor-filters .form-label{font-size:.8rem;color:#4b6277;font-weight:650;margin-bottom:5px}
.dashboard-simple-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dashboard-simple-stat{min-width:0;padding:18px;background:#fff;border:1px solid var(--line);border-radius:15px}
.dashboard-simple-stat__name{display:flex;gap:9px;align-items:center;font-size:.84rem;color:#4c6374;min-height:24px}
.dashboard-simple-stat__name i{font-size:1.04rem;color:var(--primary)}
.dashboard-simple-stat strong{display:block;font-size:1.85rem;line-height:1.25;margin:9px 0 5px;font-weight:750;color:var(--ink)}
.dashboard-simple-stat small{display:block;font-size:.76rem;color:var(--muted);line-height:1.45}
.dashboard-simple-section{border:1px solid var(--line);box-shadow:none;border-radius:16px}
.dashboard-simple-section .card-body{padding:22px}
.dashboard-simple-section-head{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:20px}
.dashboard-simple-section-head h2{font-size:1.08rem;margin:0 0 4px;font-weight:750}
.dashboard-simple-section-head p{font-size:.81rem;color:var(--muted);margin:0}
.dashboard-simple-section-head>i{color:var(--muted);font-size:1.25rem}
.dashboard-simple-progress+.dashboard-simple-progress{margin-top:25px}
.dashboard-simple-progress strong{font-size:.87rem;font-weight:680}
.dashboard-simple-progress span{font-weight:700;font-size:.87rem}
.dashboard-simple-progress .progress,.dashboard-simple-group .progress{height:9px;background:#e9eff3;border-radius:999px;margin:10px 0 6px}
.dashboard-simple-progress .progress-bar,.dashboard-simple-group .progress-bar{background:#257a9f;border-radius:999px}
.dashboard-simple-progress small,.dashboard-simple-group small{font-size:.78rem;color:var(--muted)}
.dashboard-simple-clear{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.86rem;min-height:95px}
.dashboard-simple-clear i{font-size:1.28rem;color:#2b936d}
.dashboard-simple-table{font-size:.85rem}
.dashboard-simple-table thead th{color:#586c7b;font-size:.77rem;font-weight:690;white-space:nowrap}
.dashboard-simple-table td{vertical-align:middle}
.dashboard-back{font-size:.82rem;display:inline-block;margin-bottom:10px}
.dashboard-simple-group{border:1px solid var(--line);border-radius:12px;padding:15px;height:100%}
.dashboard-simple-group strong{font-size:.87rem}
.dashboard-simple-group span{font-size:.88rem;font-weight:700}
.dashboard-monitor-filters{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:12px;margin:0 0 18px}
.dashboard-status-label{display:inline-block;font-size:.82rem}
.dashboard-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding-top:12px;font-size:.81rem;color:var(--muted)}
.dashboard-pagination button{white-space:nowrap}
.dashboard-extension summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:14px;list-style:none}
.dashboard-extension summary::-webkit-details-marker{display:none}
.dashboard-extension summary strong,.dashboard-extension summary small{display:block}
.dashboard-extension summary strong{font-size:.94rem}
.dashboard-extension summary small{font-size:.8rem;color:var(--muted);margin-top:4px}
.dashboard-extension[open] summary>i{transform:rotate(180deg)}
@media(max-width:1100px){.dashboard-simple-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.dashboard-simple-header{align-items:stretch;flex-direction:column}.dashboard-period-form{flex-basis:auto;width:100%}.dashboard-monitor-filters{grid-template-columns:1fr}.dashboard-simple-section .card-body{padding:16px}.dashboard-simple-stats{gap:9px}.dashboard-simple-stat{padding:13px}.dashboard-simple-stat strong{font-size:1.55rem}.dashboard-simple-stat__name{font-size:.77rem}.dashboard-simple-stat small{font-size:.72rem}.dashboard-pagination{justify-content:center}}
@media(prefers-reduced-motion:reduce){.dashboard-extension summary>i{transition:none}}


/* Pusat notifikasi: ringkas, mudah dipindai, dan konsisten pada semua peran. */
.notification-preview-menu{width:min(390px,calc(100vw - 28px));max-height:min(520px,calc(100vh - 110px));overflow-y:auto;padding:0;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow-md)}
.notification-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);background:#fff}
.notification-preview-head strong{font-size:.88rem;color:var(--ink)}
.notification-preview-head span{font-size:.7rem;color:var(--muted)}
.notification-preview-item{display:grid;gap:4px;padding:12px 16px;border-bottom:1px solid #edf1f4;text-decoration:none;white-space:normal}
.notification-preview-item:hover{background:#f5f9fc}
.notification-preview-item strong{font-size:.78rem;color:var(--ink)}
.notification-preview-item span{font-size:.72rem;line-height:1.45;color:#65798a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.notification-preview-item small{font-size:.65rem;color:#91a0ad}
.notification-preview-empty{padding:24px 16px;text-align:center;color:var(--muted);font-size:.78rem}
.notification-preview-empty i{color:#20936a;margin-right:5px}
.notification-preview-all{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;font-size:.77rem;font-weight:700;text-decoration:none;color:var(--primary)}
.notification-filter-bar{display:flex;flex-wrap:wrap;gap:8px}
.notification-filter-bar a{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#536b7d;text-decoration:none;font-size:.78rem;font-weight:650}
.notification-filter-bar a.active{border-color:#b8d5e8;background:#edf6fc;color:var(--primary)}
.notification-filter-bar a span{display:inline-grid;min-width:20px;height:20px;place-items:center;padding:0 5px;border-radius:999px;background:#edf1f4;color:#536b7d;font-size:.66rem}
.notification-filter-bar a.active span{background:#d8eafa;color:var(--primary)}
.notification-list-card{border:1px solid var(--line);border-radius:15px;overflow:hidden}
.notification-item{padding:16px 18px;border-color:#edf1f4}
.notification-item--unread{background:#f5f9fd;border-left:3px solid var(--primary)}
.notification-item__main{min-width:0;flex:1}
.notification-item__main strong{font-size:.85rem;color:var(--ink)}
.notification-item__main p{margin:7px 0 5px;color:#5e7282;font-size:.8rem;line-height:1.55}
.notification-item__main small{font-size:.68rem;color:#91a0ad}
.notification-item__actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
@media(max-width:575px){.notification-preview-menu{position:fixed!important;top:72px!important;right:10px!important;left:10px!important;width:auto;transform:none!important}.notification-item__actions{width:100%}.notification-item__actions .btn{flex:1}}
.topbar-icon span[hidden]{display:none}
