/* ==============================================================================
   SVKMHM EDUCATIONAL HOSTEL MANAGEMENT SYSTEM - CORE STYLESHEET
   Strict 2D Institutional ERP Design System (Zero Emojis, Zero 3D Fluff)
   ============================================================================== */

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

:root {
    --primary: #151B2E;
    --primary-dark: #0F1322;
    --primary-light: #2563EB;
    --primary-subtle: #F0F4FA;

    --secondary: #475569;
    --secondary-light: #64748B;
    --secondary-subtle: #F4F2EC;

    --bg-main: #F6F4F0;
    --bg-surface: #FFFFFF;
    --bg-sidebar: #151B2E;
    --sidebar-text: #94A3B8;
    --sidebar-hover: #1F273E;
    --sidebar-active: #2563EB;

    --text-primary: #1A2035;
    --text-secondary: #475569;
    --text-muted: #78716C;

    --border-color: #E7E3DC;
    --border-light: #F0ECE4;

    --success: #15803D;
    --success-bg: #EBF7EE;
    --success-border: #C6ECCE;

    --warning: #B47814;
    --warning-bg: #FAF3E6;
    --warning-border: #F4E4C6;

    --danger: #B91C1C;
    --danger-bg: #FEF2F2;
    --danger-border: #FECACA;

    --info: #1D4ED8;
    --info-bg: #EBF3FD;
    --info-border: #C5DCFA;

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04);

    --sidebar-width: 260px;
    --topbar-height: 64px;
}

[data-theme="dark"] {
    --bg-main: #0B0F19;
    --bg-surface: #131B2E;
    --border-color: #1E293B;
    --border-light: #1A233A;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --primary-subtle: #1E293B;
    --secondary-subtle: #1E293B;
    --success-bg: #062817;
    --warning-bg: #2E1B05;
    --danger-bg: #320C0C;
    --info-bg: #07273D;
}

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

html {
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    min-height: 100%;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-y: scroll;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Prevent transition-induced layout shifts or fluctuations */
a,
button,
.nav-item,
.btn {
    transition: background-color 0.1s ease, color 0.1s ease, border-color 0.1s ease, opacity 0.1s ease !important;
}

/* Body & HTML Scroll Lock Helpers */
html.sidebar-locked,
html.modal-locked,
body.sidebar-locked,
body.modal-locked {
    overflow: hidden !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    touch-action: none !important;
    overscroll-behavior: none !important;
}

/* Master Layout Container */
.app-container {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    position: relative;
    overflow-x: hidden;
}

/* Sidebar Navigation */
.app-sidebar {
    width: var(--sidebar-width, 260px);
    background-color: var(--bg-sidebar);
    color: var(--sidebar-text);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    height: 100dvh;
    z-index: 900;
    border-right: 1px solid #1E293B;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
    contain: layout style;
    overflow: hidden;
    will-change: auto;
    transform: translateZ(0);
}

.sidebar-brand {
    height: var(--topbar-height, 64px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border-bottom: 1px solid #1E293B;
    flex-shrink: 0;
}

.sidebar-logo {
    width: 36px;
    height: 36px;
    background: #2563EB;
    border-radius: var(--radius-md, 6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.brand-text h1 {
    font-size: 15px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.2px;
    line-height: 1.2;
    margin: 0;
}

.brand-text span {
    font-size: 11px;
    color: #94A3B8;
    display: block;
}

.sidebar-nav {
    flex: 1 1 auto;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    overscroll-behavior-y: contain !important;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch;
    padding: 12px 0;
}

.nav-section-title {
    padding: 12px 20px 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748B;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 20px;
    color: #94A3B8;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
    text-decoration: none;
}

.nav-item:hover {
    color: #FFFFFF;
    background-color: var(--sidebar-hover);
}

.nav-item.active {
    color: #FFFFFF;
    background-color: #1E293B;
    border-left-color: #38BDF8;
}

.nav-item svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    flex-shrink: 0;
}

.sidebar-footer {
    padding: 12px 16px;
    border-top: 1px solid #1E293B;
    background-color: var(--bg-sidebar);
    flex-shrink: 0;
}

.sidebar-logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #EF4444 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-md);
    background-color: rgba(239, 68, 68, 0.08);
    transition: all 0.2s ease;
    border-left: none !important;
}

.sidebar-logout-btn:hover {
    background-color: rgba(239, 68, 68, 0.18);
    color: #F87171 !important;
}

.sidebar-logout-btn svg {
    width: 20px;
    height: 20px;
    stroke: #EF4444;
    flex-shrink: 0;
}

/* Main Content Area */
.app-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: visible;
}

/* Topbar Header */
.app-header {
    height: var(--topbar-height);
    background-color: #0F172A;
    border-bottom: 1px solid #1E293B;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-shrink: 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    padding: 6px;
}

.page-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: var(--radius-md);
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #2563EB;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    overflow: hidden;
    flex-shrink: 0;
}

.user-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-details .name {
    font-weight: 700;
    font-size: 13px;
    color: #F8FAFC;
}

.user-details .role {
    font-size: 11px;
    color: #94A3B8;
    font-weight: 500;
}

/* Page Body */
.app-content {
    padding: 24px;
    flex: 1 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.page-header {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.page-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.page-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Footer Bar - Clean Modern Layout */
.app-footer {
    position: relative;
    margin-top: auto;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color, #E2E8F0);
    background: var(--bg-surface) !important;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted, #64748B);
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-brand {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-brand strong {
    color: var(--text-primary);
    font-weight: 700;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.footer-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-dot {
    color: var(--border-color);
    font-size: 10px;
}

/* Topbar Header & Main Layout System */
.app-header {
    height: var(--topbar-height, 64px);
    background-color: #0F172A;
    border-bottom: 1px solid #1E293B;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: sticky !important;
    top: 0 !important;
    z-index: 800 !important;
}

.app-main {
    flex: 1;
    margin-left: var(--sidebar-width, 260px);
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 0;
}

/* Desktop View (> 1024px) */
@media (min-width: 1025px) {
    .app-sidebar {
        transform: translateX(0) !important;
        width: var(--sidebar-width, 260px) !important;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 900;
    }

    .app-main {
        margin-left: var(--sidebar-width, 260px) !important;
        width: calc(100% - var(--sidebar-width, 260px)) !important;
    }

    .mobile-toggle {
        display: none !important;
    }

    .sidebar-overlay {
        display: none !important;
    }
}

/* Responsive Mobile & Tablet Rules (<= 1024px) */
@media (max-width: 1024px) {
    body {
        overflow-x: hidden;
    }

    .app-container,
    .app-main {
        overflow-x: clip;
    }

    .app-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        height: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        width: 270px !important;
        z-index: 1050 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    .app-sidebar.show,
    .app-sidebar.active {
        transform: translateX(0) !important;
    }

    .sidebar-nav {
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        overscroll-behavior-y: contain !important;
        padding-bottom: 60px !important; /* Ensures last menu items like Add Vehicle / College Mentor are fully visible */
    }

    .sidebar-footer {
        flex-shrink: 0 !important;
        padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 12px)) 16px !important;
        background-color: var(--bg-sidebar, #0F172A) !important;
        border-top: 1px solid #1E293B !important;
    }

    .app-main {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-width: 38px;
        min-height: 38px;
        cursor: pointer;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.75);
        z-index: 950 !important;
        backdrop-filter: blur(3px);
    }

    .sidebar-overlay.show {
        display: block !important;
    }

    .app-content {
        padding: 16px 14px !important;
    }
}

@media (max-width: 1024px) {

    .app-header,
    .admin-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 56px !important;
        z-index: 900 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
    }

    .app-main {
        padding-top: 56px !important;
    }

    .app-sidebar.show,
    .app-sidebar.active,
    #sidebar.show,
    #sidebar.active,
    #appSidebar.show,
    #appSidebar.active {
        transform: translateX(0) !important;
    }

    .sidebar-overlay.show,
    .sidebar-overlay.active {
        display: block !important;
    }
}

/* ==============================================================================
   RESPONSIVE TABLE SYSTEM & GLOBAL MOBILE SAFEGUARDS
   ============================================================================== */

/* Responsive Table Container & Touch Scroll */
.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    display: block;
    margin-bottom: 14px;
    scrollbar-width: thin;
    position: relative;
}

/* Default fluid tables without arbitrary fixed min-widths */
table,
.table,
.data-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

/* Fluid text wrapping & boundary protection for all table cells */
.table th,
.table td,
.data-table th,
.data-table td {
    overflow-wrap: break-word;
    word-break: normal;
}

/* Selective nowrap only where structurally necessary */
.nowrap,
.text-nowrap,
.cell-nowrap,
.badge,
.status-badge,
.btn-nowrap {
    white-space: nowrap !important;
}

/* Action Groups Inside Tables & Cards */
.actions,
.action-group,
.action-btns,
.table-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

/* Mobile Horizontal Scroll Tab Helper Classes */
.mobile-scroll-tabs,
.subnav-tabs,
.nav-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.mobile-scroll-tabs::-webkit-scrollbar,
.subnav-tabs::-webkit-scrollbar {
    display: none;
}

.mobile-scroll-tabs .btn,
.mobile-scroll-tabs a {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* Search Container & Filter Helpers */
.search-container-responsive {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 550px;
}

/* ==============================================================================
   TIER 2: MOBILE DEVICES (<= 768px)
   ============================================================================== */
@media (max-width: 768px) {
    /* Strict viewport confinement - Body never scrolls horizontally */
    body,
    html {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .app-container,
    .app-main {
        max-width: 100vw;
        width: 100% !important;
        margin-left: 0 !important;
        overflow-x: hidden;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .main-content,
    .container,
    .container-fluid {
        max-width: 100vw;
        overflow-x: hidden;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .app-header,
    .admin-header {
        padding: 0 14px !important;
    }

    .hide-mobile {
        display: none !important;
    }

    .user-details {
        display: none !important;
    }

    .user-badge {
        padding: 2px !important;
        border: none !important;
        background: transparent !important;
    }

    .app-content {
        padding: 14px 14px !important;
        max-width: 100% !important;
        min-width: 0 !important;
        word-break: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box !important;
    }

    /* Page Header */
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 14px;
    }

    .page-header h2 {
        font-size: 18px;
    }

    .staff-header-responsive {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .staff-header-responsive > a,
    .staff-header-responsive > button {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* Cards & Containers */
    .card,
    .card-body,
    main {
        max-width: 100% !important;
        min-width: 0 !important;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* Collapse multi-column CSS grids */
    div[style*="grid-template-columns"],
    form[style*="grid-template-columns"],
    section[style*="grid-template-columns"],
    [style*="minmax(3"],
    [style*="minmax(2"],
    [style*="minmax(18"] {
        grid-template-columns: 1fr !important;
    }

    /* Touch targets */
    .btn,
    .form-control,
    .form-select,
    input[type="text"],
    input[type="password"],
    input[type="email"],
    select {
        min-height: 40px;
        font-size: 13.5px;
    }

    .mobile-toggle {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Filter Toolbars & Search */
    .filter-form-responsive,
    .filter-toolbar,
    .filter-form {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .filter-form-responsive > *,
    .filter-toolbar > *,
    .filter-form > *,
    .search-container-responsive {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
    }

    .filter-form-responsive input,
    .filter-form-responsive select,
    .filter-form-responsive button,
    .filter-form-responsive a,
    .filter-toolbar input,
    .filter-toolbar select,
    .filter-toolbar button,
    .filter-form input,
    .filter-form select,
    .filter-form button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Tables */
    .data-table,
    .table {
        font-size: 12px !important;
    }

    .data-table th,
    .data-table td,
    .table th,
    .table td {
        padding: 9px 10px !important;
    }

    .table-responsive {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 14px;
    }

    /* Stacked card presentation for dense tables on mobile (<= 768px) */
    .table-stacked-mobile thead {
        display: none !important;
    }

    .table-stacked-mobile,
    .table-stacked-mobile tbody,
    .table-stacked-mobile tr,
    .table-stacked-mobile td {
        display: block !important;
        width: 100% !important;
    }

    .table-stacked-mobile tr {
        background: var(--bg-surface) !important;
        border: 1px solid var(--border-color) !important;
        border-radius: var(--radius-md) !important;
        margin-bottom: 12px !important;
        padding: 12px 14px !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    }

    .table-stacked-mobile td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 7px 0 !important;
        border-bottom: 1px solid var(--border-light, #F1F5F9) !important;
        text-align: right !important;
        font-size: 12px !important;
        min-height: 28px !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    .table-stacked-mobile td:last-child {
        border-bottom: none !important;
        padding-top: 8px !important;
        justify-content: flex-end !important;
    }

    .table-stacked-mobile td::before {
        content: attr(data-label);
        font-weight: 700;
        font-size: 11px;
        color: var(--text-muted);
        text-transform: uppercase;
        text-align: left;
        margin-right: 12px;
        flex-shrink: 0;
        letter-spacing: 0.3px;
    }

    /* Table Action Buttons */
    .actions,
    .action-group,
    .action-btns,
    .table-actions {
        gap: 4px;
    }

    .actions .btn,
    .action-group .btn,
    .action-btns .btn,
    .table-actions .btn {
        min-height: 34px;
        padding: 5px 10px;
        font-size: 12px;
    }

    /* Modals */
    .modal-dialog,
    #gatePassReviewModal > div,
    #visitorDetailModal > div,
    .modal-content {
        max-width: 95vw !important;
        margin: 10px auto !important;
        max-height: calc(100vh - 20px) !important;
    }

    .modal-body {
        max-height: calc(85vh - 120px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Footer */
    .app-footer {
        padding: 16px 14px 20px 14px !important;
        background: var(--bg-surface) !important;
    }

    .footer-container {
        flex-direction: column !important;
        text-align: center !important;
        gap: 8px !important;
        justify-content: center !important;
    }

    .footer-copy {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    .footer-brand {
        font-size: 11px !important;
    }

    .footer-links {
        justify-content: center !important;
        gap: 6px 10px !important;
        margin-top: 2px !important;
    }

    .footer-link {
        font-size: 11.5px !important;
    }
}

/* ==============================================================================
   TIER 3: SMARTPHONES (<= 480px)
   ============================================================================== */
@media (max-width: 480px) {
    .app-header,
    .admin-header {
        padding: 0 10px !important;
    }

    .app-content {
        padding: 12px 10px !important;
    }

    .app-footer {
        padding: 14px 10px 18px 10px !important;
    }

    .table th,
    .table td,
    .data-table th,
    .data-table td {
        padding: 8px 8px !important;
        font-size: 11.5px !important;
    }

    .page-title,
    .page-title-text {
        font-size: 14px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 170px;
    }

    .btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* ==============================================================================
   TIER 4: COMPACT SMARTPHONES (<= 380px, including 320px, 360px, 375px)
   ============================================================================== */
@media (max-width: 380px) {
    .app-header,
    .admin-header {
        padding: 0 8px !important;
    }

    .app-content {
        padding: 10px 8px !important;
    }

    .app-footer {
        padding: 10px 8px !important;
    }

    .page-title,
    .page-title-text {
        max-width: 130px;
        font-size: 12.5px !important;
    }

    .sidebar-brand {
        padding: 0 12px !important;
    }

    .stat-card {
        padding: 10px !important;
    }

    .stat-value {
        font-size: 16px !important;
    }

    .btn {
        padding: 6px 8px !important;
        font-size: 11.5px !important;
    }

    .table th,
    .table td,
    .data-table th,
    .data-table td {
        padding: 7px 6px !important;
        font-size: 11px !important;
    }
}