/* ============================================================
   MU Traders — Premium Light Theme Override
   Clean, vibrant, airy design (Light Mode)
   Aggressively overrides AdminLTE 2.x / Bootstrap 3
   ============================================================ */

body,
.sidebar-menu,
.main-header,
.content-wrapper,
.box,
.table,
.form-control,
.btn,
.small-box,
.main-footer,
h1, h2, h3, h4, h5, h6,
p, span, a, label, td, th, li {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.box-title,
.content-header > h1 {
    font-weight: 600 !important;
    letter-spacing: -0.015em;
}

.content-header > h1 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
}

.content-header > h1 > small {
    font-size: 13px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    margin-left: 8px !important;
}

/* ---------- 2. CONTENT AREA ---------- */
.content-wrapper,
.right-side {
    background: #f8fafc !important; /* Very light slate for airy feel */
}

.content {
    padding: 24px 20px !important;
}

/* ---------- 3. HEADER / NAVBAR ---------- */
.skin-blue .main-header .navbar,
.main-header .navbar {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important; /* Professional Blue Gradient */
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.2) !important;
    border: none !important;
    min-height: 60px !important;
}

.skin-blue .main-header .logo,
.main-header .logo {
    background: #1e3a8a !important; /* Solid dark blue for logo area */
    border-bottom: none !important;
    border-right: 1px solid rgba(255,255,255,0.1) !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    line-height: 60px !important;
    height: 60px !important;
    color: #ffffff !important; /* White text */
    transition: background 0.2s ease !important;
}

.skin-blue .main-header .logo:hover,
.main-header .logo:hover {
    background: #172554 !important;
}

.skin-blue .main-header .logo .logo-mini,
.skin-blue .main-header .logo .logo-lg {
    color: #ffffff !important;
    font-size: 22px !important;
}

.skin-blue .main-header .logo .logo-lg b {
    color: #ffffff !important;
    font-weight: 800 !important;
}

.skin-blue .main-header .navbar .sidebar-toggle {
    color: #ffffff !important; /* White icon */
    padding: 20px 18px !important;
    transition: all 0.25s ease;
}

.skin-blue .main-header .navbar .sidebar-toggle:hover {
    background: rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
}

.skin-blue .main-header .navbar .nav > li > a {
    color: #ffffff !important;
    padding: 20px 15px !important;
    transition: all 0.25s ease;
    font-weight: 500 !important;
}

.skin-blue .main-header .navbar .nav > li > a:hover,
.skin-blue .main-header .navbar .nav > li > a:focus {
    background: rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
}

/* Header search bar */
.custom-header-search {
    padding: 12px 15px;
    margin-left: 20px;
}
.custom-header-search input {
    background: #f1f5f9 !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 8px 18px 8px 40px !important;
    color: #334155 !important;
    width: 250px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02) !important;
}
.custom-header-search input:focus {
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15), inset 0 1px 2px rgba(0,0,0,0.02) !important;
    width: 300px !important;
}
.custom-header-search i {
    position: absolute;
    left: 30px;
    top: 22px;
    color: #94a3b8;
    z-index: 5;
}

/* ---------- 4. SIDEBAR ---------- */
.skin-blue .main-sidebar,
.skin-blue .left-side,
.main-sidebar,
.left-side {
    background: #ffffff !important; /* Pure white sidebar */
    box-shadow: 1px 0 10px rgba(0, 0, 0, 0.03) !important;
    border-right: 1px solid #e2e8f0 !important;
}

.skin-blue .sidebar a,
.sidebar a {
    color: #475569 !important;
    transition: all 0.25s ease !important;
}

.skin-blue .sidebar-menu > li,
.sidebar-menu > li {
    border-right: 3px solid transparent;
    transition: all 0.25s ease;
    margin: 4px 10px !important;
    border-radius: 8px !important;
}

.skin-blue .sidebar-menu > li > a,
.sidebar-menu > li > a {
    color: #64748b !important;
    padding: 12px 15px 12px 14px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    background: transparent !important;
    transition: all 0.25s ease !important;
    border-radius: 8px !important;
}

.skin-blue .sidebar-menu > li:hover > a,
.sidebar-menu > li:hover > a {
    color: #0f172a !important;
    background: #f1f5f9 !important;
}

.skin-blue .sidebar-menu > li.active > a,
.sidebar-menu > li.active > a {
    color: #2563eb !important;
    background: #eff6ff !important;
}

.skin-blue .sidebar-menu > li > a > .fa,
.skin-blue .sidebar-menu > li > a > .ion,
.sidebar-menu > li > a > .fa,
.sidebar-menu > li > a > .ion {
    width: 24px !important;
    font-size: 16px !important;
    transition: color 0.25s ease;
    color: #94a3b8 !important;
}

.skin-blue .sidebar-menu > li:hover > a > .fa,
.skin-blue .sidebar-menu > li.active > a > .fa {
    color: #2563eb !important;
}

/* Treeview submenu */
.skin-blue .sidebar-menu .treeview-menu,
.sidebar-menu .treeview-menu {
    background: transparent !important;
    margin: 0 !important;
    padding: 4px 0 !important;
}

.skin-blue .sidebar-menu .treeview-menu > li > a,
.skin-blue .treeview-menu > li > a,
.treeview-menu > li > a {
    color: #64748b !important;
    padding: 8px 15px 8px 45px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    border-radius: 6px !important;
}

.skin-blue .sidebar-menu .treeview-menu > li > a:hover,
.skin-blue .treeview-menu > li > a:hover,
.treeview-menu > li > a:hover {
    color: #0f172a !important;
    background: #f8fafc !important;
}

.skin-blue .sidebar-menu .treeview-menu > li.active > a,
.skin-blue .treeview-menu > li.active > a {
    color: #2563eb !important;
    background: transparent !important;
    font-weight: 600 !important;
}

/* Sidebar user panel */
.user-panel {
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 16px 14px !important;
    margin-bottom: 10px !important;
}

.user-panel > .info > p {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

.user-panel > .info > a {
    color: #64748b !important;
}
.user-panel > .info > a > i {
    color: #10b981 !important;
}

/* Sidebar section headers */
.sidebar-menu .header {
    color: #94a3b8 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    font-weight: 700 !important;
    padding: 20px 24px 8px !important;
    background: transparent !important;
}

/* Chevron rotation */
.sidebar-menu > li > a > .pull-right-container > .fa-angle-left {
    transition: transform 0.3s ease !important;
}

.sidebar-menu > li.menu-open > a > .pull-right-container > .fa-angle-left,
.sidebar-menu > li.active > a > .pull-right-container > .fa-angle-left {
    transform: rotate(-90deg) !important;
}

/* ---------- 5. BOX / CARD COMPONENTS ---------- */
.box {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 24px !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease !important;
    background: #ffffff !important;
}

.box:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03) !important;
}

.box .box-header {
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 18px 22px !important;
    background: #ffffff !important;
    border-radius: 12px 12px 0 0 !important;
}

.box .box-header.with-border {
    border-bottom: 1px solid #f1f5f9 !important;
}

.box .box-header .box-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    letter-spacing: -0.01em;
}

.box .box-body {
    padding: 22px !important;
}

.box-footer {
    background: #f8fafc !important;
    border-top: 1px solid #f1f5f9 !important;
    padding: 16px 22px !important;
    border-radius: 0 0 12px 12px !important;
}

/* Box accent borders - much thinner and more subtle */
.box.box-primary {
    border-top: 3px solid #3b82f6 !important;
}

.box.box-success {
    border-top: 3px solid #10b981 !important;
}

.box.box-info {
    border-top: 3px solid #06b6d4 !important;
}

.box.box-warning {
    border-top: 3px solid #f59e0b !important;
}

.box.box-danger {
    border-top: 3px solid #ef4444 !important;
}

/* Box tool buttons */
.box-header > .box-tools .btn-box-tool {
    color: #94a3b8 !important;
    transition: color 0.2s ease;
    background: #f1f5f9 !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    margin-left: 4px !important;
}

.box-header > .box-tools .btn-box-tool:hover {
    color: #334155 !important;
    background: #e2e8f0 !important;
}

/* ---------- 6. DASHBOARD STAT BOXES ---------- */
.small-box {
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative !important;
    margin-bottom: 24px !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.small-box:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.small-box .inner {
    position: relative !important;
    z-index: 1 !important;
    padding: 22px 20px 15px !important;
}

.small-box .inner h3 {
    font-size: 32px !important;
    font-weight: 800 !important;
    margin: 0 0 4px !important;
    white-space: nowrap !important;
    color: #ffffff !important;
    letter-spacing: -1px !important;
}

.small-box .inner p {
    font-size: 14px !important;
    font-weight: 600 !important;
    opacity: 0.95 !important;
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.small-box > .icon {
    z-index: 1 !important;
    transition: all 0.4s ease !important;
    top: 10px !important;
    right: 15px !important;
}

.small-box > .icon > .fa,
.small-box > .icon > .ion {
    font-size: 70px !important;
    opacity: 0.15 !important;
    transition: all 0.4s ease !important;
    color: #ffffff !important;
}

.small-box:hover > .icon > .fa,
.small-box:hover > .icon > .ion {
    font-size: 78px !important;
    opacity: 0.25 !important;
    transform: scale(1.1) rotate(5deg) !important;
}

.small-box > .small-box-footer {
    position: relative !important;
    z-index: 1 !important;
    background: rgba(0, 0, 0, 0.08) !important;
    border-radius: 0 !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: background 0.25s ease !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

.small-box:hover > .small-box-footer {
    background: rgba(0, 0, 0, 0.15) !important;
}

/* Professional, muted corporate stat boxes */
.small-box.bg-red,
.bg-red {
    background: linear-gradient(135deg, #e06666 0%, #cc0000 100%) !important;
}

.small-box.bg-teal,
.bg-teal {
    background: linear-gradient(135deg, #45b39d 0%, #117a65 100%) !important;
}

.small-box.bg-blue,
.bg-blue {
    background: linear-gradient(135deg, #5dade2 0%, #2874a6 100%) !important;
}

.small-box.bg-green,
.bg-green {
    background: linear-gradient(135deg, #58d68d 0%, #1d8348 100%) !important;
}

.small-box.bg-purple,
.bg-purple {
    background: linear-gradient(135deg, #a569bd 0%, #633974 100%) !important;
}

.small-box.bg-maroon,
.bg-maroon {
    background: linear-gradient(135deg, #cd6155 0%, #922b21 100%) !important;
}

.small-box.bg-olive,
.bg-olive {
    background: linear-gradient(135deg, #82e0aa 0%, #1e8449 100%) !important;
}

.small-box.bg-orange,
.bg-orange {
    background: linear-gradient(135deg, #f5b041 0%, #b9770e 100%) !important;
}

/* ---------- 7. TABLES ---------- */
.table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.table > thead > tr > th {
    background: #f8fafc !important;
    color: #475569 !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 14px 16px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    border-top: none !important;
    white-space: nowrap !important;
}

.table > thead > tr > th:first-child {
    border-radius: 8px 0 0 0 !important;
}

.table > thead > tr > th:last-child {
    border-radius: 0 8px 0 0 !important;
}

.table-bordered > thead > tr > th {
    border-bottom: 2px solid #e2e8f0 !important;
}

.table > tbody > tr > td {
    padding: 14px 16px !important;
    font-size: 13.5px !important;
    color: #334155 !important;
    border-top: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
    transition: background 0.15s ease !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #ffffff !important;
}

.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #fafbfd !important;
}

.table > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > td {
    background-color: #f1f5f9 !important;
}

.table > tfoot > tr > td,
.table > tfoot > tr > th {
    font-weight: 700 !important;
    background: #f8fafc !important;
    padding: 14px 16px !important;
    font-size: 13.5px !important;
    color: #0f172a !important;
    border-top: 2px solid #e2e8f0 !important;
}

.table-bordered,
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
    border-color: #f1f5f9 !important;
}

/* ---------- 8. FORM CONTROLS ---------- */
.form-control {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #334155 !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
    background: #ffffff !important;
    height: auto !important;
    min-height: 42px;
}

.form-control:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
    outline: none !important;
    background: #ffffff !important;
}

input[type="date"].form-control {
    line-height: 1.5 !important;
}

/* Select2 override */
.select2-container--default .select2-selection--single {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    height: 42px !important;
    transition: all 0.25s ease !important;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px !important;
    font-size: 14px !important;
    color: #334155 !important;
    padding-left: 14px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
}

.select2-dropdown {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
}

.select2-results__option--highlighted {
    background: #3b82f6 !important;
}

/* ---------- 9. BUTTONS ---------- */
.btn {
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 10px 22px !important;
    transition: all 0.25s ease !important;
    border: none !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.btn-primary {
    background: #3b82f6 !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #2563eb !important;
}

.btn-success {
    background: #10b981 !important;
    color: #fff !important;
}

.btn-success:hover,
.btn-success:focus {
    background: #059669 !important;
}

.btn-danger {
    background: #ef4444 !important;
    color: #fff !important;
}

.btn-danger:hover,
.btn-danger:focus {
    background: #dc2626 !important;
}

.btn-warning {
    background: #f59e0b !important;
    color: #fff !important;
}

.btn-warning:hover,
.btn-warning:focus {
    background: #d97706 !important;
}

.btn-default {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
}

.btn-default:hover,
.btn-default:focus {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

.btn-flat {
    border-radius: 8px !important;
}

.btn-xs {
    padding: 4px 10px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
}

.btn-sm {
    padding: 6px 14px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
}

/* ---------- 10. BREADCRUMBS ---------- */
.breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 13.5px !important;
}

.breadcrumb > li + li:before {
    content: "/" !important;
    color: #cbd5e1 !important;
    font-size: 14px !important;
    padding: 0 8px !important;
}

.breadcrumb > li > a {
    color: #64748b !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.breadcrumb > li > a:hover {
    color: #3b82f6 !important;
    text-decoration: none !important;
}

.breadcrumb > .active {
    color: #0f172a !important;
    font-weight: 600 !important;
}

/* ---------- 11. ALERTS ---------- */
.alert {
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    padding: 16px 20px !important;
    font-size: 14px !important;
}

.alert h4 {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
}

.alert-success {
    background: #ecfdf5 !important;
    color: #065f46 !important;
    border: 1px solid #d1fae5 !important;
}

.alert-danger {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border: 1px solid #fee2e2 !important;
}

/* ---------- 12. FOOTER ---------- */
.main-footer {
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
    color: #64748b !important;
    font-size: 13.5px !important;
    padding: 20px 24px !important;
}

.main-footer a {
    color: #3b82f6 !important;
    font-weight: 600 !important;
}

.main-footer a:hover {
    color: #2563eb !important;
}

/* ---------- 13. PAGINATION / DATATABLE ---------- */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    margin: 0 2px !important;
    transition: all 0.2s ease !important;
    font-weight: 600 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #3b82f6 !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

.dataTables_wrapper .dataTables_filter input {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 8px 14px !important;
    transition: all 0.25s ease !important;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
    outline: none !important;
}

.dataTables_wrapper .dataTables_length select {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 6px 12px !important;
}

.dataTables_wrapper .dataTables_info {
    font-size: 13.5px !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

/* DataTable export buttons */
.dt-buttons .dt-button {
    border-radius: 8px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 8px 18px !important;
    margin-right: 8px !important;
    transition: all 0.2s ease !important;
}

.dt-buttons .dt-button:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    transform: translateY(-1px);
}

/* ---------- 14. SCROLLBAR (Webkit) ---------- */
::-webkit-scrollbar {
    width: 8px !important;
    height: 8px !important;
}

::-webkit-scrollbar-track {
    background: #f8fafc !important;
    border-radius: 4px !important;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 4px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

/* ---------- 15. LOADER OVERLAY ---------- */
.loader.is-active {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px) !important;
}

/* ---------- 16. CONTENT HEADER ---------- */
.content-header {
    padding: 20px 20px 10px !important;
    background: transparent !important;
}

/* ---------- 17. DROPDOWN MENUS ---------- */
.dropdown-menu {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    padding: 8px !important;
    overflow: hidden !important;
    min-width: 200px !important;
}

.dropdown-menu > li > a {
    padding: 10px 18px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    border-radius: 8px !important;
    transition: all 0.15s ease !important;
}

.dropdown-menu > li > a:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

/* User dropdown specifically */
.navbar-nav > .user-menu > .dropdown-menu {
    border-top-right-radius: 0 !important;
    border-top-left-radius: 0 !important;
    padding: 0 !important;
}

.user-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 24px 10px !important;
}

.user-header > p {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}
.user-header > p > small {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500 !important;
}

.user-footer {
    background: #f8fafc !important;
    padding: 14px !important;
}

/* ---------- 18. LABELS & BADGES ---------- */
.label {
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
}

.badge {
    border-radius: 12px !important;
    padding: 5px 12px !important;
    font-weight: 700 !important;
}

/* ---------- 19. MODAL ---------- */
.modal-content {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden !important;
}

.modal-header {
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 20px 24px !important;
}

.modal-title {
    font-weight: 700 !important;
    color: #0f172a !important;
}

.modal-body {
    padding: 24px !important;
}

.modal-footer {
    background: #f8fafc !important;
    border-top: 1px solid #f1f5f9 !important;
    padding: 18px 24px !important;
}

/* ---------- 20. RESPONSIVE TWEAKS ---------- */
@media (max-width: 767px) {
    .small-box .inner h3 {
        font-size: 24px !important;
    }

    .small-box .inner p {
        font-size: 12px !important;
    }

    .content-header > h1 {
        font-size: 22px !important;
    }

    .box .box-header {
        padding: 14px 16px !important;
    }

    .box .box-body {
        padding: 16px !important;
    }

    .table > thead > tr > th,
    .table > tbody > tr > td {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }

    .content {
        padding: 16px 12px !important;
    }
    
    .custom-header-search {
        display: none !important;
    }
}

/* ---------- 21. PRINT STYLES ---------- */
@media print {
    .small-box {
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
    }

    .small-box::before {
        display: none !important;
    }

    .box {
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
    }

    .table > thead > tr > th {
        background: #f1f5f9 !important;
        color: #0f172a !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .main-sidebar,
    .main-header,
    .main-footer {
        display: none !important;
    }

    .content-wrapper {
        margin-left: 0 !important;
        background: #fff !important;
    }
}
