/* ==========================================================
   Root
========================================================== */
:root {
    /* Government Theme */
    --primary: #0b6b46;
    --primary-dark: #084d33;
    --primary-light: #eaf5f0;
    --success: #198754;
    --warning: #d39e00;
    --danger: #c0392b;
    --secondary: #6c757d;
    --info: #0d6efd;
    /* Backgrounds */
    --bg: #f4f6f7;
    --card: #ffffff;
    /* Borders */
    --border: #d8dee3;
    --border-light: #e9edf1;
    /* Text */
    --text: #25323d;
    --muted: #6b7280;
    /* Radius */
    --radius: 8px;
    /* Shadows */
    --shadow: 0 2px 10px rgba(0, 0, 0, .05);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, .08);
    /* Animation */
    --transition: all .25s ease;
    /* Font */
    --font: "Segoe UI", Tahoma, Arial, sans-serif;
}
/* ==========================================================
   Reset
========================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}
/* ==========================================================
   Links
========================================================== */
a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}
/* ==========================================================
   Container
========================================================== */
.container {
    width: min(1400px, 96%);
    margin: 25px auto;
}
/* ==========================================================
   Header
========================================================== */
.bar {
    background: var(--primary);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-bottom: 3px solid rgba(255, 255, 255, .15);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
}
.brand {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #fff;
}
.brand small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: .9;
}
/* ==========================================================
   Navigation
========================================================== */
.nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.nav a {
    color: #fff;
    padding: 9px 15px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}
.nav a:hover {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}
.nav a.active {
    background: #fff;
    color: var(--primary);
}
/* ==========================================================
   Headings
========================================================== */
h1 {
    font-size: 30px;
    margin-bottom: 18px;
    color: #183028;
    font-weight: 700;
}
h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #204032;
    font-weight: 700;
}
h3 {
    font-size: 19px;
    margin-bottom: 12px;
    color: #2d3c45;
}
h4 {
    margin-bottom: 8px;
    color: #334155;
}
/* ==========================================================
   Cards
========================================================== */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
    margin-bottom: 22px;
    transition: var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-hover);
}
.card h2:first-child,
.card h3:first-child {
    margin-top: 0;
}
/* ==========================================================
   Grid
========================================================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.grid .wide {
    grid-column: 1 / -1;
}
/* ==========================================================
   Labels
========================================================== */
label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}
/* ==========================================================
   Inputs
========================================================== */
input,
select,
textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}
input:hover,
select:hover,
textarea:hover {
    border-color: #b8c6bf;
}
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 107, 70, .12);
    background: #fff;
}
textarea {
    resize: vertical;
    min-height: 100px;
}
input::placeholder,
textarea::placeholder {
    color: #9aa4af;
}
input[type="file"] {
    padding: 8px;
}
input[type="checkbox"],
input[type="radio"] {
    width: auto;
    accent-color: var(--primary);
    cursor: pointer;
}
input[readonly],
select:disabled {
    background: #f4f6f8;
    color: #6b7280;
    cursor: not-allowed;
    border-color: #d9dee2;
}
/* ==========================================================
   Buttons
========================================================== */
button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    margin-bottom: 2px;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}
button:hover,
.button:hover {
    background: var(--primary-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, .12);
}
button:active,
.button:active {
    transform: translateY(0);
}
button:disabled,
.button:disabled {
    opacity: .65;
    cursor: not-allowed;
    box-shadow: none;
}
/* ---------- Secondary ---------- */
.button.secondary {
    background: #6c757d;
}
.button.secondary:hover {
    background: #5c636a;
}
/* ---------- Success ---------- */
.button.success {
    background: var(--success);
}
.button.success:hover {
    background: #157347;
}
/* ---------- Warning ---------- */
.button.warning {
    background: var(--warning);
    color: #fff;
}
.button.warning:hover {
    background: #b8860b;
}
/* ---------- Danger ---------- */
.button.danger {
    background: var(--danger);
}
.button.danger:hover {
    background: #a5281b;
}
/* ---------- Info ---------- */
.button.info {
    background: var(--info);
}
.button.info:hover {
    background: #0b5ed7;
}
/* ==========================================================
   Notices
========================================================== */
.notice {
    padding: 14px 16px;
    margin-bottom: 20px;
    border-radius: 6px;
    border-left: 5px solid;
    font-weight: 600;
    line-height: 1.5;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
}
.notice.success {
    background: #edf8f1;
    color: #146c43;
    border-color: var(--success);
}
.notice.error {
    background: #fdeeee;
    color: #9f1d1d;
    border-color: var(--danger);
}
.notice.warning {
    background: #fff8e6;
    color: #8b6508;
    border-color: var(--warning);
}
.notice.info {
    background: #edf5ff;
    color: #0b5ed7;
    border-color: var(--info);
}
/* ==========================================================
   Pills
========================================================== */
.pill {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
}
.pill.success {
    background: #e8f6ee;
    color: #146c43;
}
.pill.warning {
    background: #fff5db;
    color: #946200;
}
.pill.danger {
    background: #fdeaea;
    color: #b42318;
}
.pill.info {
    background: #e8f2ff;
    color: #0b5ed7;
}
/* ==========================================================
   HR
========================================================== */
hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 24px 0;
}
/* ==========================================================
   Empty State
========================================================== */
.empty {
    text-align: center;
    padding: 35px 20px;
    color: var(--muted);
    background: #fafbfc;
    border: 1px dashed var(--border);
    border-radius: 8px;
}
/* ==========================================================
   Tables
========================================================== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
table thead {
    background: var(--primary-light);
}
table th {
    padding: 13px 15px;
    text-align: left;
    color: (--primary-dark);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: none;
    letter-spacing: .2px;
}
table td {
    padding: 12px 15px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    vertical-align: top;
}
table tbody tr {
    transition: var(--transition);
}
table tbody tr:nth-child(even) {
    background: #fbfcfc;
}
table tbody tr:hover {
    background: var(--primary-light);
}
table tbody tr:last-child td {
    border-bottom: none;
}
table small {
    color: var(--muted);
}
/* ==========================================================
   Detail Table
========================================================== */
.detail-table {
    width: 100%;
    border: none;
    box-shadow: none;
    margin: 0;
}
.detail-table th {
    color: var(--primary-dark);
}
.detail-table td {
    padding: 10px 4px;
    border: none;
    border-bottom: 1px dashed var(--border-light);
    line-height: 1.6;
}
.detail-table tr:last-child td {
    border-bottom: none;
}
.detail-table strong {
    color: var(--primary);
    font-weight: 600;
}
/* ==========================================================
   Action Buttons
========================================================== */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.action-buttons form {
    display: inline;
}
.action-buttons .button,
.action-buttons button {
    margin: 0;
}
/* ==========================================================
   Verification Message
========================================================== */
.verification-message {
    margin-top: 10px;
    padding: 14px 16px;
    background: #fff6f6;
    border-left: 4px solid var(--danger);
    border-radius: 6px;
    color: #8d1f1f;
    line-height: 1.6;
    font-size: 13px;
}
/* ==========================================================
   Badges
========================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.25rem 0.6rem;

    border-radius: 999px;

    font-size: 0.75rem;
    font-weight: 600;

    line-height: 1.2;

    white-space: nowrap;

    border: 1px solid transparent;
}


/* ----------------------------------------------------------
   Success
---------------------------------------------------------- */

.badge.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-color: #c8e6c9;
}


/* ----------------------------------------------------------
   Warning
---------------------------------------------------------- */

.badge.warning {
    background-color: #fff8e1;
    color: #f57f17;
    border-color: #ffecb3;
}


/* ----------------------------------------------------------
   Danger
---------------------------------------------------------- */

.badge.danger {
    background-color: #ffebee;
    color: #c62828;
    border-color: #ffcdd2;
}


/* ----------------------------------------------------------
   Info
---------------------------------------------------------- */

.badge.info {
    background-color: #e3f2fd;
    color: #1565c0;
    border-color: #bbdefb;
}


/* ----------------------------------------------------------
   Neutral / Secondary
---------------------------------------------------------- */

.badge.secondary {
    background-color: #f5f5f5;
    color: #616161;
    border-color: #e0e0e0;
}


/* ----------------------------------------------------------
   Dark
---------------------------------------------------------- */

.badge.dark {
    background-color: #eeeeee;
    color: #212121;
    border-color: #bdbdbd;
}
/* ==========================================================
   Alerts
========================================================== */
.alert {
    padding: 15px 18px;
    margin-bottom: 20px;
    border-radius: 6px;
    border-left: 5px solid;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
}
.alert.success {
    background: #edf8f1;
    color: #166534;
    border-color: var(--success);
}
.alert.warning {
    background: #fff8e5;
    color: #8a6508;
    border-color: var(--warning);
}
.alert.danger {
    background: #fdeeee;
    color: #9f1d1d;
    border-color: var(--danger);
}
.alert.info {
    background: #edf5ff;
    color: #0b5ed7;
    border-color: var(--info);
}
/* ==========================================================
   Dashboard Stats
========================================================== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}
.stat {
    background: #fff;
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
.stat {
    font-size: 34px;
    font-weight: 700;
    color: var(--primary);
}
.stat small {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}
/* ==========================================================
   Profile Summary
========================================================== */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    width: 100%;
    margin-bottom: 8px;
}
.summary-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px 10px;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.summary-card:hover {
    box-shadow: var(--shadow-hover);
}
.summary-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 18px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 8px;
}
.summary-card table {
    margin: 0;
    border: none;
    box-shadow: none;
}
.summary-card td {
    padding: 8px 0;
    border: none;
}
.summary-card td:first-child {
    color: var(--muted);
    width: 45%;
}
.summary-card td:last-child {
    font-weight: 600;
}
.summary-card span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}
.summary-card strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}
/* ==========================================================
   Qualification Summary
========================================================== */
.qualification-group {
    margin-bottom: 25px;
}
.qualification-group h3 {
    background: var(--primary-light);
    color: var(--primary);
    padding: 12px 15px;
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 17px;
    font-weight: 600;
}
/* ==========================================================
   Service Timeline
========================================================== */
.service-item {
    padding: 18px 20px;
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 5px solid var(--primary);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.service-item:hover {
    box-shadow: var(--shadow-hover);
}
.service-item h4 {
    margin-bottom: 6px;
    color: var(--primary);
    font-size: 17px;
}
.service-item small {
    color: var(--muted);
    display: block;
    margin-bottom: 8px;
}
/* ==========================================================
   Verification Remarks
========================================================== */
textarea.verifier-remarks {
    min-height: 90px;
    margin-bottom: 10px;
}
/* ==========================================================
   Statistics Cards
========================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}
.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    border-top: 4px solid var(--primary);
    padding: 22px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.stat-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.stat-card h3 {
    margin: 0;
    font-size: 34px;
    color: var(--primary);
}
.stat-card p {
    margin-top: 10px;
    color: var(--muted);
}
.stat-card.success {
    border-top-color: var(--success);
}
.stat-card.warning {
    border-top-color: var(--warning);
}
.stat-card.danger {
    border-top-color: var(--danger);
}
.stat-card.info {
    border-top-color: var(--info);
}
/* ==========================================================
   Search / Filter
========================================================== */
.search-bar {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}
.search-bar>div {
    flex: 1;
    min-width: 180px;
}
.search-bar button {
    min-width: 130px;
}
/* ==========================================================
   Inline Forms
========================================================== */
.inline-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.inline-form input,
.inline-form select {
    width: auto;
}
/* ==========================================================
   Pagination
========================================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 30px 0;
}
.pagination a,
.pagination span {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    color: var(--text);
    transition: var(--transition);
}
.pagination a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.pagination .active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.pagination .disabled {
    opacity: .5;
    pointer-events: none;
}
/* ==========================================================
   Utility Classes
========================================================== */
.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.bold {
    font-weight: 700;
}
.small {
    font-size: 13px;
}
.muted {
    color: var(--muted);
}
.w-100 {
    width: 100%;
}
.d-none {
    display: none;
}
.d-flex {
    display: flex;
}
.flex-wrap {
    flex-wrap: wrap;
}
.justify-between {
    justify-content: space-between;
}
.align-center {
    align-items: center;
}
.gap-1 {
    gap: 6px;
}
.gap-2 {
    gap: 12px;
}
.mt-0 {
    margin-top: 0;
}
.mt-1 {
    margin-top: 10px;
}
.mt-2 {
    margin-top: 20px;
}
.mt-3 {
    margin-top: 30px;
}
.mb-0 {
    margin-bottom: 0;
}
.mb-1 {
    margin-bottom: 10px;
}
.mb-2 {
    margin-bottom: 20px;
}
.mb-3 {
    margin-bottom: 30px;
}
.ml-auto {
    margin-left: auto;
}
/* ==========================================================
   Documents
========================================================== */
.document-preview {
    width: 100%;
    min-height: 700px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}
/* ==========================================================
   Tom Select
========================================================== */
.ts-wrapper {
    width: 100%;
}
.ts-control {
    border: 1px solid var(--border) !important;
    border-radius: 6px !important;
    min-height: 43px !important;
    padding: 8px 10px !important;
    box-shadow: none !important;
}
.ts-control.focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(11, 107, 70, .12) !important;
}
.ts-dropdown {
    border-radius: 6px !important;
    border: 1px solid var(--border) !important;
}
.ts-dropdown .active {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
}
/* ==========================================================
   Login
========================================================== */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
}
.auth-card {
    width: 100%;
    max-width: 540px;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 5px solid var(--primary);
    border-radius: 10px;
    padding: 38px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}
.auth-card h1 {
    text-align: center;
    color: var(--primary);
    font-size: 42px;
    margin-bottom: 30px;
}
.auth-card button {
    width: 100%;
}
/* ==========================================================
   Footer
========================================================== */
.footer-strip {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 14px 20px;
    font-size: 14px;
}
.footer-strip a {
    color: #fff;
}
.footer-strip a:hover {
    text-decoration: underline;
}
/* ==========================================================
   Responsive
========================================================== */
@media (max-width:900px) {
    .bar {
        flex-wrap: wrap;
    }
    .menu-toggle {
        display: block;
        margin-left: auto;
        color: #fff;
    }
    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, .20);
    }
    .nav.show {
        display: flex;
    }
    .nav a {
        width: 100%;
    }
}
@media (max-width:768px) {
    .container {
        width: 98%;
    }
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .grid,
    .stats,
    .stats-grid,
    .summary-grid {
        grid-template-columns: 1fr;
    }
    .search-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .search-bar>div {
        width: 100%;
    }
    .action-buttons {
        flex-direction: column;
    }
    .action-buttons>* {
        width: 100%;
    }
    button,
    .button {
        width: 100%;
    }
}
@media (max-width:480px) {
    h1 {
        font-size: 25px;
    }
    h2 {
        font-size: 21px;
    }
    .card {
        padding: 16px;
    }
}
/* ==========================================================
   Print
========================================================== */
@media print {
    body {
        background: #fff;
    }
    .bar,
    .nav,
    .search-bar,
    .pagination,
    .button,
    button {
        display: none !important;
    }
    .card {
        border: 1px solid #ccc;
        box-shadow: none;
    }
    table {
        page-break-inside: auto;
    }
    tr {
        page-break-inside: avoid;
    }
    .summary-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    .summary-card {
        padding: 10px 6px;
    }
    .summary-card span {
        font-size: 12px;
    }
    .summary-card strong {
        font-size: 20px;
    }
    .no-print{
        display: none !important;
    }
}
/* ==========================================================
   DataTables Report Styling
========================================================== */

.report-dt-top {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    margin-bottom: 12px;

}

.report-dt-buttons {

    display: flex;

    align-items: center;

}

.report-dt-search {

    margin-left: auto;

}

.report-dt-search label {

    display: flex;

    align-items: center;

    gap: 8px;

    font-weight: 600;

}

.report-dt-search input {

    width: 300px;

    min-height: 40px;

    padding: 8px 12px;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: var(--card);

    color: var(--text);

    outline: none;

}

.report-dt-search input:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(13, 110, 253, .12);

}


/* ----------------------------------------------------------
   Excel Button
---------------------------------------------------------- */

.dt-excel-button {

    border: none !important;

    border-radius: 7px !important;

    padding: 9px 16px !important;

    font-weight: 600 !important;

    cursor: pointer !important;

}


/* ----------------------------------------------------------
   Bottom Information Row
---------------------------------------------------------- */

.report-dt-bottom {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 14px;

    gap: 20px;

}

.report-dt-summary {

    font-size: 14px;

    color: var(--muted);

}

.report-dt-length {

    margin-left: auto;

}

.report-dt-length label {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 14px;

}

.report-dt-length select {

    min-width: 80px;

    padding: 6px 10px;

    border: 1px solid var(--border);

    border-radius: 6px;

    background: var(--card);

}


/* ----------------------------------------------------------
   Pagination
---------------------------------------------------------- */

.report-dt-paging {

    display: flex;

    justify-content: center;

    margin-top: 8px;

}

.report-dt-paging .dt-paging {

    display: flex;

    justify-content: center;

}

.report-dt-paging button {

    min-width: 38px;

    min-height: 36px;

    margin: 0 2px;

    border-radius: 6px !important;

    border: 1px solid var(--border) !important;

    background: var(--card) !important;

    cursor: pointer;

}

.report-dt-paging button.current {

    font-weight: 700;

}


/* ----------------------------------------------------------
   Report Table
---------------------------------------------------------- */

.report-table {

    width: 100% !important;

}

.report-table thead th {

    white-space: nowrap;

}

.report-table tbody td {

    vertical-align: middle;

}


/* ----------------------------------------------------------
   Mobile
---------------------------------------------------------- */

@media (max-width: 768px) {

    .report-dt-top {

        flex-direction: column;

        align-items: stretch;

    }

    .report-dt-search {

        width: 100%;

    }

    .report-dt-search label {

        width: 100%;

        flex-direction: column;

        align-items: stretch;

    }

    .report-dt-search input {

        width: 100%;

    }

    .report-dt-bottom {

        flex-direction: column;

        align-items: stretch;

        text-align: center;

    }

    .report-dt-length {

        margin-left: 0;

    }

    .report-dt-length label {

        justify-content: center;

    }

}
/* ---------------------------------------------------------
   DataTables horizontal scrolling
   Hide the original header inside scroll body.
   DataTables displays the cloned header separately.
--------------------------------------------------------- */

.dataTables_scrollBody thead {
    visibility: hidden;
}

.dataTables_scrollBody thead tr {
    height: 0 !important;
}

.dataTables_scrollBody thead th,
.dataTables_scrollBody thead td {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
    visibility: hidden;
}
.dt-layout-row:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.dt-layout-row:last-child .dt-layout-cell {
    text-align: center;
}

.dt-layout-row:last-child .dt-layout-cell:first-child {
    text-align: left;
}

.dt-layout-row:last-child .dt-layout-cell:last-child {
    text-align: right;
}

/* ===========================================================
   Dashboard
=========================================================== */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page-header h1 {
    margin-bottom: 0.25rem;
}

.text-muted {
    color: #6c757d;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-number {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.75rem 0 1rem;
}

.dashboard-section {
    margin-top: 2rem;
}

.dashboard-section h2 {
    margin-bottom: 1rem;
}

.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 1000px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-actions {
        flex-direction: column;
    }

    .dashboard-actions .button {
        width: 100%;
    }
}
/* ==========================================================
   NSB Statement Row Styles
========================================================== */

table tbody tr.statement-opening td {
    background-color: #fff3cd !important;
    color: #664d03 !important;
    font-weight: 600;
    border-bottom: 2px solid #ffc107 !important;
}

table tbody tr.statement-closing td {
    background-color: #fff3cd !important;
    color: #664d03 !important;
    font-weight: 700;
    border-top: 2px solid #ffc107 !important;
}

table tbody tr.statement-income td {
    background-color: #d1e7dd !important;
    color: #0f5132 !important;
}

table tbody tr.statement-expense td {
    background-color: #f8d7da !important;
    color: #842029 !important;
}


/* ==========================================================
   Hover Effects
========================================================== */

table tbody tr.statement-opening:hover td {
    background-color: #ffe69c !important;
    color: #664d03 !important;
}

table tbody tr.statement-closing:hover td {
    background-color: #ffe69c !important;
    color: #664d03 !important;
}

table tbody tr.statement-income:hover td {
    background-color: #a3cfbb !important;
    color: #0f5132 !important;
}

table tbody tr.statement-expense:hover td {
    background-color: #f1aeb5 !important;
    color: #842029 !important;
}

/* ==========================================================
   NSB Statement Table Header
========================================================== */

table thead.statement-thead th {
    background-color: #343a40 !important;
    color: #ffffff !important;
    font-weight: 700;
    border-color: #343a40 !important;
    vertical-align: middle;
}


/* Header Hover */
table thead.statement-thead:hover th {
    background-color: #343a40 !important;
    color: #ffffff !important;
}


/* Optional: Header Bottom Border */
table thead.statement-thead th {
    border-bottom: 2px solid #212529 !important;
}