/* ==========================================================================
   🏪 CONSUMER DEALERSHIP MANAGEMENT - MASTER DESIGN SYSTEM
   Theme: Matte Deep Slate & Purple Outline System (Zero-Glow, High Visibility)
   Single Source of Truth Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & ROOT VARIABLES
   -------------------------------------------------------------------------- */
:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --secondary-color: #fbbf24;
    --primary-gold: #f9c11c;
    --primary-cyan: #00d4ff;
    --accent-color: #8b5cf6;
    --sidebar-width: 280px;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
}

/* --------------------------------------------------------------------------
   2. GLOBAL ZERO-GLOW ENFORCEMENT & RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    text-shadow: none !important;
}

*:focus,
*:focus-visible,
.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus,
button:focus,
.btn:focus,
.input-group:focus-within {
    box-shadow: none !important;
    outline: none !important;
}

[class*="glow"],
[class*="-glow"],
.btn-glow,
.hover-glow,
.image-outer-glow,
.border-primary-glow,
.border-info-glow,
.border-success-glow,
.border-warning-glow,
.border-danger-glow,
.border-secondary-glow,
.border-gold-glow,
.bg-blue-glow,
.bg-green-glow,
.bg-gold-glow,
.shadow-gold {
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
}

/* --------------------------------------------------------------------------
   3. BODY & BASE TYPOGRAPHY
   -------------------------------------------------------------------------- */
body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(251, 191, 36, 0.1) 0px, transparent 50%);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

.text-white, .text-light, .h5, .h6, .fw-bold {
    color: white !important;
}

.text-gold {
    color: var(--primary-gold) !important;
}

.text-institutional {
    border-color: rgba(249, 193, 28, 0.3);
    color: var(--primary-gold);
}

.text-success, .bi-graph-up-arrow { color: #10b981 !important; }
.text-danger { color: #ef4444 !important; }
.text-info { color: #0ea5e9 !important; }
.text-warning { color: #f59e0b !important; }

/* --------------------------------------------------------------------------
   4. APP SHELL & LAYOUT
   -------------------------------------------------------------------------- */
#wrapper {
    display: flex;
    width: 100%;
}

#sidebar-wrapper {
    width: var(--sidebar-width);
    min-height: 100vh;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    border-right: 1px solid var(--glass-border);
    position: fixed;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
    transition: all 0.3s ease;
}

#sidebar-wrapper::-webkit-scrollbar {
    width: 5px;
}

#sidebar-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

#page-content-wrapper {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

#page-content-wrapper.no-sidebar,
.no-sidebar #page-content-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
}

#sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    display: none;
}

#sidebar-backdrop.active {
    display: block;
}

/* --------------------------------------------------------------------------
   5. NAVIGATION & TOP NAVBAR
   -------------------------------------------------------------------------- */
.sidebar-heading {
    padding: 1.5rem 1.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary-color);
}

#sidebar-wrapper .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    border-radius: 8px;
    margin: 3px 12px;
    border-left: 3px solid transparent;
}

#sidebar-wrapper .nav-link:hover,
#sidebar-wrapper .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--primary-gold);
}

#sidebar-wrapper .nav-link i {
    font-size: 1.15rem;
}

.top-navbar {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.search-bar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.65rem 1.5rem 0.65rem 3.5rem;
    color: white;
    width: 380px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
}

.search-bar:focus {
    width: 440px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    border-color: #6b21a8;
    box-shadow: none !important;
}

.search-bar::placeholder, .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
    opacity: 1;
}

#omniSearchInput:focus {
    box-shadow: none !important;
    outline: none !important;
}

.search-results-container {
    max-height: 400px;
    overflow-y: auto;
}

.search-item {
    padding: 12px;
    border-radius: 10px;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.search-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* --------------------------------------------------------------------------
   6. PURPLE OUTLINE BUTTON SYSTEM (MATTE, ZERO-GLOW)
   -------------------------------------------------------------------------- */

/* 6.1 Universal Purple Outline Base */
.btn,
[class*="btn-"],
button:not(.dropdown-item):not(#sidebar-close):not(#bellBtn):not([class*="btn-close"]),
input[type="button"],
input[type="submit"],
.punch-btn {
    background-color: transparent !important;
    background: transparent !important;
    border: 1.5px solid #6b21a8 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
    border-radius: 10px;
    transition: all 0.2s ease-in-out !important;
}

/* Ensure text & icons inside buttons inherit crisp white color */
.btn *,
[class*="btn-"] *,
button:not(.dropdown-item):not(#sidebar-close):not(#bellBtn):not([class*="btn-close"]) * {
    color: inherit !important;
}

/* Hover State: Solid Dark Purple Fill, White Text */
.btn:hover,
[class*="btn-"]:hover,
button:not(.dropdown-item):not(#sidebar-close):not(#bellBtn):not([class*="btn-close"]):hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.punch-btn:hover {
    background-color: #581c87 !important;
    background: #581c87 !important;
    border-color: #7e22ce !important;
    color: #ffffff !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transform: translateY(-1px);
}

.btn:hover *,
[class*="btn-"]:hover *,
button:not(.dropdown-item):not(#sidebar-close):not(#bellBtn):not([class*="btn-close"]):hover * {
    color: #ffffff !important;
}

/* Active / Clicked State */
.btn:active,
[class*="btn-"]:active,
button:not(.dropdown-item):not(#sidebar-close):not(#bellBtn):not([class*="btn-close"]):active,
input[type="button"]:active,
input[type="submit"]:active,
.punch-btn:active {
    background-color: #3b0764 !important;
    background: #3b0764 !important;
    border-color: #581c87 !important;
    color: #ffffff !important;
    transform: translateY(0);
}

/* 6.2 Notification Bell (#bellBtn) - Circular Purple Outline */
#notificationBell button#bellBtn,
#bellBtn {
    background: transparent !important;
    border: 1.5px solid #6b21a8 !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    box-shadow: none !important;
    filter: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
    position: relative !important;
}

#notificationBell button#bellBtn:hover,
#bellBtn:hover {
    background: rgba(107, 33, 168, 0.35) !important;
    border-color: #7e22ce !important;
    color: #ffffff !important;
    transform: none !important;
}

#bellBtn #bellBadge {
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    width: 16px !important;
    height: 16px !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    border: 2px solid #0f0c29 !important;
    background-color: #ef4444 !important;
    color: #ffffff !important;
    padding: 0 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* 6.3 Three-Dots Table Action Button - Soft Rounded Square */
.dropdown > button.btn-link,
.dropdown > button:has(> i.bi-three-dots-vertical),
.dropdown > button:has(> i.bi-three-dots),
.dropdown > button.text-white.opacity-75,
.table td .dropdown button,
.premium-table td .dropdown button,
button:has(> .bi-three-dots-vertical) {
    background: transparent !important;
    border: 1.5px solid rgba(107, 33, 168, 0.7) !important;
    border-radius: 8px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    box-shadow: none !important;
    filter: none !important;
    transition: all 0.2s ease !important;
}

.dropdown > button.btn-link:hover,
.dropdown > button:has(> i.bi-three-dots-vertical):hover,
.dropdown > button:has(> i.bi-three-dots):hover,
.dropdown > button.text-white.opacity-75:hover,
.table td .dropdown button:hover,
.premium-table td .dropdown button:hover,
button:has(> .bi-three-dots-vertical):hover {
    background: rgba(107, 33, 168, 0.35) !important;
    border-color: #7e22ce !important;
    color: #ffffff !important;
    transform: none !important;
}

/* 6.4 Semantic Action Pills */
a.btn-info,
a[href*="record_visit"],
.btn-checkin,
a.btn-outline-info,
a[href*="customer_detail"],
.btn-profile-action {
    border-radius: 20px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    padding: 0.35rem 0.9rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    text-decoration: none !important;
}

/* 6.5 Action Blocks (Leaderboard, Add New, PDF) */
a[href*="top_customers_report"],
a[href*="leaderboard"],
.btn-leaderboard {
    border-radius: 10px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    padding: 0.5rem 1.15rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    text-decoration: none !important;
}

a[href*="add_customer"],
a[href*="add_product"],
.btn-add-action {
    border-radius: 10px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    padding: 0.5rem 1.2rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    text-decoration: none !important;
}

.btn-premium {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0.6rem !important;
}

.btn-premium i {
    margin-bottom: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.btn-dark-soft {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1.5px solid #6b21a8 !important;
    color: #ffffff !important;
}

.btn-dark-soft:hover {
    background: #581c87 !important;
    border-color: #7e22ce !important;
    color: #ffffff !important;
}

/* 6.6 Top Navbar Buttons */
a[href*="attendance_kiosk"],
.btn-institutional-print,
.top-navbar .dropdown-toggle {
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 0.78rem !important;
    padding: 0.4rem 0.9rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
}

/* 6.7 Sidebar Close Button - Mobile Off-Canvas Only */
#sidebar-close {
    display: none !important;
    background: transparent !important;
    border: 1.5px solid rgba(107, 33, 168, 0.6) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    width: 32px !important;
    height: 32px !important;
    align-items: center !important;
    justify-content: center !important;
}

#sidebar-close:hover {
    background: rgba(107, 33, 168, 0.35) !important;
    color: #ffffff !important;
}

/* 6.8 Dropdown Menu Protection (No Outlines on List Items) */
.dropdown-menu .dropdown-item {
    border: none !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.85) !important;
    border-radius: 6px !important;
}

.dropdown-menu .dropdown-item:hover {
    background: rgba(107, 33, 168, 0.25) !important;
    color: #ffffff !important;
}

.dropdown-menu .dropdown-item.text-danger:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #ef4444 !important;
}

/* --------------------------------------------------------------------------
   7. CARDS, SURFACES & MODALS
   -------------------------------------------------------------------------- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: none !important;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.glass-modal {
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
}

.border-gold {
    border: 1px solid var(--primary-gold) !important;
}

.border-info {
    border-color: rgba(13, 202, 240, 0.3) !important;
}

.bg-dark-soft {
    background: rgba(0, 0, 0, 0.2) !important;
}

.steel-pulse-display {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.steel-pulse-display::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
}

.stat-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.stat-icon i {
    line-height: 1;
}

.glass-card:hover .stat-icon {
    transform: scale(1.1) rotate(-5deg);
}

.glass-phase-hub {
    background: rgba(15, 12, 41, 0.4) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    color: white !important;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.glass-phase-hub:hover {
    border-color: rgba(0, 212, 255, 0.5) !important;
    background: rgba(15, 12, 41, 0.6) !important;
}

.glass-phase-hub .hub-icon {
    font-size: 1.75rem;
    color: #00d4ff;
    text-shadow: none !important;
}

.glass-phase-hub .hub-title {
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 800;
    color: #00d4ff;
    margin-bottom: 4px;
}

.stat-card i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   8. TABLES & RESPONSIVE CARDS
   -------------------------------------------------------------------------- */
.premium-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.premium-table th {
    color: var(--text-muted);
    font-weight: 500;
    padding: 1rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.premium-table tr {
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.2s;
}

.premium-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.premium-table td {
    padding: 1.2rem 1rem;
    border-top: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-table td:first-child {
    border-left: 1px solid var(--glass-border);
    border-radius: 12px 0 0 12px;
}

.premium-table td:last-child {
    border-right: 1px solid var(--glass-border);
    border-radius: 0 12px 12px 0;
}

/* TABLE COLOR LOCKDOWN: Neutralizing Bootstrap's internal overrides */
.table, .table > :not(caption) > * > *, .table td, .table th {
    --bs-table-color: white !important;
    --bs-table-color-state: white !important;
    color: white !important;
}

/* Universal Mobile Table Stacking */
@media (max-width: 768px) {
    .premium-table thead { display: none !important; }
    .premium-table, .premium-table tbody, .premium-table tr, .premium-table td { 
        display: block !important; 
        width: 100% !important; 
    }
    .premium-table tr {
        margin-bottom: 20px !important;
        padding: 20px !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 20px !important;
        position: relative;
    }
    .premium-table td {
        text-align: left !important;
        padding: 8px 0 !important;
        border: none !important;
    }
    .premium-table td:last-child {
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
        margin-top: 10px !important;
        padding-top: 15px !important;
    }
    .premium-table .d-flex {
        justify-content: flex-start !important;
    }
}

/* --------------------------------------------------------------------------
   9. FORM CONTROLS & AUTOFILL SHIELD
   -------------------------------------------------------------------------- */
.form-control {
    background-color: transparent;
    border: 1px solid var(--glass-border);
    color: white !important;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: #6b21a8 !important;
    box-shadow: none !important;
    color: white !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #0f172a inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

select, .form-select {
    background-color: #1e293b !important;
    color: #ffffff !important;
    border: 1px solid var(--glass-border);
}

select option {
    background-color: #1e293b !important;
    color: #ffffff !important;
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}

.alert {
    color: white !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

.alert-success { background: rgba(16, 185, 129, 0.2) !important; }
.alert-danger { background: rgba(239, 68, 68, 0.2) !important; }

/* --------------------------------------------------------------------------
   10. RESPONSIVE DRAWER & MOBILE VIEWPORTS
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    #sidebar-close {
        display: inline-flex !important;
    }
    #sidebar-wrapper {
        margin-left: calc(-1 * var(--sidebar-width));
    }
    #sidebar-wrapper.active {
        margin-left: 0;
    }
    #page-content-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
    }
    .top-navbar {
        padding: 0.5rem 1rem !important;
    }
    .search-bar {
        width: 150px !important;
    }
    .search-bar:focus {
        width: 200px !important;
    }
    .btn-institutional-print, 
    #notificationBell,
    .top-navbar .d-flex.align-items-center.gap-2 {
        display: none !important;
    }
    .top-navbar .d-flex.align-items-center.gap-4 {
        gap: 1rem !important;
    }
}

@media (max-width: 576px) {
    .search-bar {
        display: none !important;
    }
    .top-navbar .d-flex.align-items-center.gap-2 {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   10.5 PREMIUM DATA TABLES & ACCESSIBILITY UTILITIES
   -------------------------------------------------------------------------- */
.grayscale { 
    filter: grayscale(1); 
    opacity: 0.6; 
}

.hover-glow:hover {
    text-shadow: none !important;
    color: var(--primary-cyan) !important;
    text-decoration: underline !important;
}

@media (min-width: 768px) {
    .d-md-table-header-group {
        display: table-header-group !important;
    }
}

@media (max-width: 768px) {
    .premium-table thead { display: none !important; }
    .premium-table, .premium-table tbody, .premium-table tr, .premium-table td { 
        display: block !important; 
        width: 100% !important; 
    }
    .premium-table tr {
        margin-bottom: 20px !important;
        padding: 20px !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 20px !important;
    }
    .premium-table td {
        text-align: left !important;
        padding: 8px 0 !important;
        border: none !important;
    }
    .premium-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
        opacity: 0.5;
        margin-bottom: 5px;
        color: #fff;
    }
    .premium-table td:last-child {
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
        margin-top: 10px !important;
        padding-top: 15px !important;
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.table.table-borderless td,
.table.table-borderless th {
    border: none !important;
}

.table-dark.table-borderless {
    --bs-table-bg: transparent;
    background-color: transparent !important;
}

/* --------------------------------------------------------------------------
   11. MASTER INSTITUTIONAL PDF & PRINT MEDIA
   -------------------------------------------------------------------------- */
@media print {
    #sidebar-wrapper, .top-navbar, footer, .search-bar, .no-print, .btn, .btn-icon-premium, 
    .dropdown, .btn-premium, .btn-institutional, .btn-institutional-print, .btn-close, .modal-header {
        display: none !important;
    }

    #page-content-wrapper {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        border: none !important;
        box-shadow: none !important;
        background: #0f172a !important;
    }

    body {
        background: #0f172a !important;
        color: white !important;
        font-family: 'Inter', sans-serif !important;
    }

    span, p, div, h1, h2, h3, h4, h5, h6, table, tr, td, th, .text-white, .text-light {
        color: white !important;
        text-shadow: none !important;
    }

    .institutional-pad-container, .print-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        border-bottom: 0 !important;
        padding-bottom: 20px !important;
        margin-bottom: 40px !important;
    }

    .glass-card, .card, .table, .table-bordered, .table-responsive {
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    table, .premium-table, .summary-table {
        width: 100% !important;
        border-collapse: collapse !important;
        table-layout: fixed !important;
        border: 0 !important;
    }

    th, td, tr {
        border: 0 !important;
        padding: 12px 15px !important;
        text-align: center !important;
    }

    th {
        font-weight: 800 !important;
        text-transform: uppercase !important;
    }

    .row, .invoice-layout {
        display: flex !important;
    }
}
