/* TWCF Center HMS - Clean White & Red Theme */
:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.95);
    --bg-input: #f8fafc;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* Clean Medical Crimson Red Color Palette */
    --accent-green: #dc2626; /* Primary brand color mapped to Crimson Red */
    --accent-green-light: #ef4444;
    --accent-green-subtle: rgba(220, 38, 38, 0.1);
    --accent-green-dark: #b91c1c;
    --accent-teal: #991b1b;
    
    --accent-blue: #0284c7;
    --accent-yellow: #d97706;
    --accent-red: #dc2626;
    --accent-rose: #e11d48;

    --border-color: #e2e8f0;
    --border-highlight: #ef4444;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 6px 24px rgba(220, 38, 38, 0.12);
    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: var(--radius-full);
}

/* App Container Layout */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

/* Top Navbar Header - 2 Row Architecture */
.top-nav {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.nav-row-top {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-bottom: 2px solid var(--accent-red);
}

.nav-row-top .logo-icon {
    font-size: 1.5rem;
    color: var(--accent-red);
}

.nav-row-top .brand-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.nav-row-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 1.5rem;
    background: #ffffff;
}

.nav-center-search {
    position: relative;
    width: 420px;
    max-width: 100%;
}

.nav-center-search input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 0.65rem 1rem 0.65rem 2.6rem;
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
}

.nav-center-search input:focus {
    border-color: var(--accent-red);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.search-results-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-height: 350px;
    overflow-y: auto;
    z-index: 600;
}

.nav-user-profile {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.quick-status-badge {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: var(--accent-green-dark);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.pulse-dot.green {
    background: var(--accent-red);
    box-shadow: 0 0 8px var(--accent-red);
}

.doctor-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-red);
}

.doc-name {
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    color: var(--text-primary);
}

.doc-spec {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

/* Main Content Area */
.main-content {
    flex: 1;
    padding: 1.5rem 2rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* Main System Modules Grid (Dashboard Tiles) */
.dashboard-header {
    margin-bottom: 1.5rem;
}

.dashboard-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.dashboard-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-subtle);
}

.metric-number {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.metric-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}

.metric-icon {
    font-size: 1.6rem;
    opacity: 0.8;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.module-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    cursor: pointer;
    box-shadow: var(--shadow-subtle);
}

.module-card:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.module-card::before {
    display: none;
}

.module-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-green-dark);
    margin-bottom: 1rem;
}

.module-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.module-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.module-snippet {
    background: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
}

.snippet-tag {
    font-weight: 600;
    color: var(--text-primary);
}

.module-status {
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: rgba(220, 38, 38, 0.12);
    color: var(--accent-green-dark);
}

/* OVERLAP-FREE & DISTORTION-FREE LAYOUT SYSTEM FOR SIDEBAR + WORKSPACE */
.doctor-panel-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

/* Non-Overlapping Sidebar with Fixed Width and Smooth Scroll */
.doctor-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.2rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: sticky;
    top: 85px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    box-shadow: var(--shadow-subtle);
    z-index: 10;
    width: 250px;
    box-sizing: border-box;
}

.doctor-workspace {
    min-width: 0;
    width: 100%;
    overflow-x: hidden;
}

.sidebar-group-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-green-dark);
    margin-bottom: 0.4rem;
    padding-left: 0.4rem;
}

.sidebar-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0;
    margin: 0;
}

.sidebar-nav-item {
    padding: 0.55rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-nav-item i {
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-nav-item:hover, .sidebar-nav-item.active {
    background: rgba(220, 38, 38, 0.08);
    color: var(--accent-green-dark);
    font-weight: 600;
}

/* Clean Accordion Sub-Menu Styling */
.sidebar-nav-group {
    display: flex;
    flex-direction: column;
}

.sidebar-sub-menu {
    list-style: none;
    padding-left: 0.75rem;
    margin: 0.2rem 0 0.35rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    border-left: 2px solid var(--accent-red);
}

.sidebar-sub-item {
    padding: 0.35rem 0.55rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-sub-item:hover {
    background: rgba(220, 38, 38, 0.08);
    color: var(--accent-red);
    font-weight: 600;
}

/* Patient Header Banner (Sticky in Consultation) */
.patient-sticky-header {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-subtle);
    min-width: 0;
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.patient-identity {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.patient-avatar-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-green-dark), var(--accent-green-light));
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.2);
    flex-shrink: 0;
}

.patient-meta-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.patient-meta-sub {
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.vitals-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
    min-width: 0;
}

.vital-pill {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    text-align: center;
}

.vital-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.vital-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-green-dark);
}

/* Patient Alert Red Warning Banner */
.alert-banner-critical {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: var(--accent-red);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.2rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.alert-left {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Content Tabs inside Doctor Panel */
.clinical-tabs-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 2px;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

.tab-btn:hover, .tab-btn.active {
    color: var(--accent-green-dark);
    border-bottom-color: var(--accent-red);
    font-weight: 600;
}

/* Data Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-sm);
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.custom-table th {
    background: #f1f5f9;
    color: var(--text-secondary);
    text-align: left;
    padding: 0.8rem 1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.custom-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.custom-table tr:hover {
    background: #f8fafc;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-control {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-main);
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.form-control:focus {
    border-color: var(--accent-red);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

textarea.form-control {
    min-height: 90px;
    resize: vertical;
}

/* Buttons */
.btn {
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-green-dark), var(--accent-green-light));
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.btn-primary:hover {
    opacity: 0.94;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
}

.btn-secondary {
    background: #e2e8f0;
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: #cbd5e1;
}

.btn-danger {
    background: var(--accent-rose);
    color: #fff;
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-overlay.hidden {
    display: none;
}

.modal-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 1010;
}

.modal-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 10;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 1.5rem;
}

/* Status Badges */
.badge {
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-block;
}

.badge-success { background: rgba(220, 38, 38, 0.12); color: var(--accent-green-dark); }
.badge-warning { background: rgba(245, 158, 11, 0.15); color: var(--accent-yellow); }
.badge-danger { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); }
.badge-info { background: rgba(2, 132, 199, 0.15); color: var(--accent-blue); }

/* Hidden utility */
.hidden { display: none !important; }

/* Mobile Sidebar Toggle Button Styling */
.mobile-sidebar-toggle {
    display: none;
}

/* Mobile Responsiveness & Touch Optimization (< 900px, < 640px) */
@media (max-width: 900px) {
    .mobile-sidebar-toggle {
        display: inline-flex !important;
        align-items: center;
        gap: 0.4rem;
    }

    .doctor-panel-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .doctor-sidebar {
        display: none;
        position: static;
        width: 100%;
        max-height: none;
        border-right: none;
        border-bottom: 2px solid var(--accent-red);
        margin-bottom: 1rem;
        background: #ffffff;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    }

    .doctor-sidebar.mobile-open {
        display: block !important;
        animation: fadeIn 0.25s ease-out;
    }

    .nav-row-top {
        padding: 0.5rem 0.8rem;
        text-align: center;
    }

    .nav-row-top .brand-title {
        font-size: 1.05rem;
    }

    .nav-row-bottom {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.6rem;
        padding: 0.5rem 0.8rem;
    }

    .nav-center-search {
        order: 2;
        width: 100%;
    }

    .nav-user-profile {
        order: 1;
        width: auto;
        justify-content: flex-end;
    }

    .metrics-row {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.6rem !important;
    }

    .metric-card {
        padding: 0.8rem !important;
    }

    .metric-number {
        font-size: 1.3rem !important;
    }

    .modules-grid {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
    }

    .doctor-workspace {
        padding: 0 0.4rem;
    }

    .modal-card {
        width: 95% !important;
        max-width: 95% !important;
        margin: 10px auto;
        max-height: 92vh;
    }

    .clinical-tabs-nav {
        overflow-x: auto !important;
        white-space: nowrap !important;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch;
        padding: 0.4rem !important;
    }

    .tab-btn {
        flex-shrink: 0 !important;
        font-size: 0.82rem !important;
        padding: 0.45rem 0.8rem !important;
    }

    .table-responsive {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .metrics-row {
        grid-template-columns: 1fr !important;
    }

    .nav-row-top .brand-title {
        font-size: 0.92rem;
    }

    .dashboard-title {
        font-size: 1.25rem !important;
    }
}

/* Official Standard Black-and-White Hospital Print Document Engine */
@media print {
    /* Hide unneeded navigation chrome, summary tiles, and dashboard grids */
    .top-nav,
    .doctor-sidebar,
    .clinical-tabs-nav,
    .metrics-row,
    .metric-card,
    .modules-grid,
    .module-card,
    .modal-header,
    #modal-title,
    .modal-close,
    .btn,
    button,
    .no-print,
    #floating-chat-trigger,
    #floating-chat-container,
    .search-results-dropdown {
        display: none !important;
    }

    /* Official Black-and-White Page Reset */
    html, body {
        background: #ffffff !important;
        color: #000000 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: auto !important;
        font-family: 'Times New Roman', Georgia, serif, Arial !important;
        font-size: 11pt !important;
        line-height: 1.4 !important;
    }

    /* Main Container Full Width Clean Layout */
    .main-content,
    .doctor-workspace,
    .doctor-panel-layout,
    #main-view {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: #ffffff !important;
    }

    /* Official Hospital Printable Document Card / Container */
    #printable-pharmacy-receipt,
    .printable-receipt,
    #printable-id-card-wrap {
        display: block !important;
        position: static !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 15px !important;
        box-shadow: none !important;
        border: 2px solid #000000 !important;
        background: #ffffff !important;
        color: #000000 !important;
    }

    .modal-overlay {
        position: static !important;
        background: none !important;
        display: block !important;
    }

    .modal-card {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        background: #ffffff !important;
    }

    /* Black and White Tables Formatting */
    .custom-table, table {
        width: 100% !important;
        border-collapse: collapse !important;
        margin-top: 12px !important;
        font-size: 10pt !important;
    }

    .custom-table th, table th {
        background: #f1f5f9 !important;
        color: #000000 !important;
        font-weight: bold !important;
        border: 1px solid #000000 !important;
        padding: 6px 8px !important;
        text-transform: uppercase !important;
    }

    .custom-table td, table td {
        border: 1px solid #000000 !important;
        padding: 6px 8px !important;
        color: #000000 !important;
        background: #ffffff !important;
    }

    /* Remove colored background badges & boxes for official monochrome print */
    .badge {
        border: 1px solid #000000 !important;
        color: #000000 !important;
        background: #ffffff !important;
        padding: 2px 6px !important;
        font-weight: bold !important;
        border-radius: 0 !important;
    }

    /* Print Page Margins */
    @page {
        margin: 1.5cm;
        size: auto;
    }
}
