/* toolsStylesNBCassistant.css - FOOLPROOF VERSION with Fixed Z-index */
:root {
    /* Teal Color Palette */
    --teal-primary: #0d9488;        /* Primary teal */
    --teal-dark: #0f766e;           /* Darker teal for hover */
    --teal-light: #5eead4;          /* Light teal */
    --teal-accent: #14b8a6;         /* Accent teal */
    --teal-bg-light: #f0fdfa;       /* Light teal background */
    --teal-bg-dark: #134e4a;        /* Dark teal background */
    
    /* Supporting colors */
    --secondary-color: #475569;      /* Slate for secondary elements */
    --background-light: #f8fafc;     /* Very light background */
    --background-dark: #0f172a;      /* Dark background for contrast */
    --text-primary: #1e293b;         /* Main text color */
    --text-secondary: #64748b;       /* Secondary text */
    --text-light: #f1f5f9;          /* Light text for dark backgrounds */
    --success-color: #10b981;        /* Success states */
    --error-color: #ef4444;         /* Error states */
    --warning-color: #f59e0b;       /* Warning states */
    --border-color: #cbd5e1;        /* Border color */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition-fast: 150ms ease-in-out;
    --transition-medium: 250ms ease-in-out;
}

/* ========== BASE STYLES ========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-light);
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Prevent scrolling when dropdown is open */
body.dropdown-open {
    overflow: hidden;
}

/* ========== LAYOUT & CONTAINER ========== */
.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    width: 100%;
    z-index: 1;
}

/* ========== SETTINGS PANEL ========== */
.settings-panel {
    background-color: white;
    overflow: hidden;
    z-index: 10;
    position: relative;
    width: 100%;
}

.settings-title {
    background: linear-gradient(to right, var(--teal-dark) 0%, var(--teal-dark) 70%, var(--teal-accent) 100%);
    color: var(--text-light);
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    transition: all var(--transition-fast);
    border-bottom: 1px solid rgba(94, 234, 212, 0.3);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    position: relative;
    min-height: 50px;
    z-index: 10002; /* Above dropdown */
}

.close-icon {
    font-size: 0.8rem;
    transition: transform var(--transition-medium);
    margin-left: 10px;
    flex-shrink: 0;
    z-index: 10003; /* Above everything */
    position: relative;
}

.close-icon.rotate {
    transform: rotate(90deg);
}

/* ========== SETTINGS CONTENT - SINGLE SOURCE OF TRUTH ========== */
.settings-content {
    padding: 0 1rem;
    background-color: white;
    border-top: 1px solid var(--border-color);
    display: none; /* Hidden by default */
    width: 100%;
    box-sizing: border-box;
    z-index: 5; /* Lower than settings panel */
    position: relative;
}

/* ONLY ONE WAY TO SHOW: .open class */
.settings-content.open {
    display: block;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========== HOME LINK ========== */
.home-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
    color: white;
    flex-shrink: 0;
    z-index: 10003; /* Above everything */
}

.home-link:hover {
    color: white;
}

.home-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.home-link:hover::after {
    width: 100%;
}

.home-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: white;
}

.home-link:hover .home-icon {
    transform: scale(1.1);
    color: white;
}

/* ========== NAVIGATION LINKS ========== */
.nav-links {
    display: flex;
    gap: 4px;
    margin: 0 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.nav-links::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.nav-link {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Remove underline from links */
    position: relative;
    overflow: hidden;
}

/* Regular hover effects (only for non-active links) */
.nav-link:not(.active):hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    text-decoration: none;
}

/* Underline animation (only for non-active links) */
.nav-link:not(.active)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:not(.active):hover::after {
    width: 80%;
}

.nav-link:active {
    transform: translateY(0);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.3);
    color: black;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: default;
}

/* Remove hover effects specifically for active links */
.nav-link.active:hover {
    background: rgba(255, 255, 255, 0.3); /* Keep active background */
    color: black;

    transform: none; /* Remove lift effect */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Keep active shadow */
}

/* Ensure active links don't show underline animation */
.nav-link.active::after {
    display: none;
}

/* ========== HAMBURGER MENU ========== */
.hamburger-menu {
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 20px;
    cursor: pointer;
    margin-left: auto;
    margin-right: 15px;
    z-index: 10003; /* Above everything */
    padding: 2px;
    flex-shrink: 0;
    position: relative;
}

.hamburger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger animation - ONLY when .open class is present */
.hamburger-menu.open .hamburger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger-menu.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open .hamburger-line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* ========== ACTIVE TITLE FOR MOBILE ========== */
.active-title-mobile {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 10003; /* Above everything */
}

/* Show active title on mobile when settings-title has .show-active class */
.settings-title.show-active .active-title-mobile {
    display: block;
}

/* ========== MOBILE DROPDOWN MENU - SLIDE FROM LEFT ========== */
/* Alternative: Start dropdown exactly at bottom of header */
.nav-dropdown {
    display: none; /* Hidden by default */
    position: fixed;
    top: 50px; /* Header height - starts right below header */
    left: -100%; /* Start off-screen to the left */
    width: 280px;
    height: calc(100vh - 50px); /* Full height minus header */
    background: linear-gradient(to bottom, var(--teal-dark) 0%, var(--teal-bg-dark) 100%);
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.2);
    z-index: 9999; /* VERY HIGH - Above everything */
    overflow-y: auto;
    transition: left 0.3s ease;
}

/* Make the first nav link have some top padding */
.nav-dropdown .nav-link:first-of-type {
    margin-top: 1rem; /* Add space between header and first nav link */
}

/* ONLY ONE WAY TO SHOW: .open class */
.nav-dropdown.open {
    display: block;
    left: 0; /* Slide in from left */
    animation: slideInLeft 0.3s ease;
}

@keyframes slideInLeft {
    from {
        left: -100%;
        opacity: 0;
    }
    to {
        left: 0;
        opacity: 1;
    }
}

/* Dropdown header with active title */
.dropdown-header {
    padding: 1.5rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 10000; /* Above dropdown content */
}

.active-title-dropdown {
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Dropdown nav links */
.nav-dropdown .nav-link {
    display: block;
    margin: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.875rem 1rem;
    min-height: auto;
    text-align: left;
    white-space: nowrap;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.nav-dropdown .nav-link:last-child {
    margin-bottom: 1.5rem;
}

.nav-dropdown .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ========== DROPDOWN NAV LINKS - UPDATED ACTIVE STYLES ========== */
/* ========== DROPDOWN NAV LINKS - FIX ACTIVE HOVER EFFECTS ========== */
.nav-dropdown .nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    color: black;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transform: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* COMPLETELY DISABLE HOVER EFFECTS FOR ACTIVE LINKS IN DROPDOWN */
.nav-dropdown .nav-link.active:hover {
    background: rgba(255, 255, 255, 0.25); /* Keep same background */
    color: black;
    border-color: rgba(255, 255, 255, 0.4); /* Keep border color */
    transform: none; /* No movement */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Keep shadow */
    /* Specifically disable the underline animation */
}

/* Remove the underline pseudo-element for active links in dropdown */
.nav-dropdown .nav-link.active::after {
    display: none !important;
}

/* Also ensure the underline doesn't appear on hover for active links */
.nav-dropdown .nav-link.active:hover::after {
    display: none !important;
}

/* Update the regular dropdown nav-link hover to exclude active links */
.nav-dropdown .nav-link:not(.active):hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Ensure only non-active links show the underline animation in dropdown */
.nav-dropdown .nav-link:not(.active)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-dropdown .nav-link:not(.active):hover::after {
    width: 80%;
}

/* ACTIVE LINKS SHOULD NOT HAVE UNDERLINE AT ALL */
.nav-dropdown .nav-link.active {
    position: relative;
    overflow: hidden;
}

.nav-dropdown .nav-link.active::before,
.nav-dropdown .nav-link.active::after {
    display: none !important;
}

/* ========== RESPONSIVE DESIGN ========== */
/* Desktop (769px and above) */
@media (min-width: 769px) {
    /* Show nav links, hide hamburger */
    .nav-links {
        display: flex !important;
        gap: 15px;
        margin: 0 auto;
    }
    
    .hamburger-menu,
    .nav-dropdown,
    .active-title-mobile {
        display: none !important;
    }
    
    .home-link {
        margin-right: 20px;
    }
}

/* Tablet (641px to 768px) */
@media (max-width: 768px) {
    .nav-links {
        gap: 2px;
        margin: 0 6px;
    }
    
    .nav-link {
        padding: 4px 8px;
        font-size: 0.65rem;
        min-height: 26px;
        letter-spacing: 0.3px;
    }
}

/* Mobile (640px and below) */
@media (max-width: 640px) {
    .settings-title {
        padding: 0.75rem 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Hide regular nav links on mobile */
    .nav-links {
        display: none !important;
    }
    
    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: flex;
        order: 2;
        margin-left: auto;
        margin-right: 15px;
    }
    
    /* Position home link on left */
    .home-link {
        order: 1;
        margin-right: auto;
    }
    
    /* Position close icon on right */
    .close-icon {
        order: 3;
        margin-left: 0;
    }
    
    /* Adjust hamburger size for mobile */
    .hamburger-menu {
        width: 22px;
        height: 18px;
    }
    
    .hamburger-line {
        height: 2.5px;
    }
    
    .hamburger-menu.open .hamburger-line:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    
    .hamburger-menu.open .hamburger-line:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }
    
    /* Show active title when hamburger is open */
    .settings-title.show-active .active-title-mobile {
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ========== BUTTONS ========== */
#send-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    padding: 0 24px;
    background: linear-gradient(135deg, var(--teal-primary) 0%, var(--teal-accent) 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

#send-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.3);
    background: linear-gradient(135deg, var(--teal-accent) 0%, var(--teal-primary) 100%);
}

.input-area button {
    margin-left: 0.75rem;
    padding: 0 1.25rem;
    background-color: var(--teal-primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.input-area button:hover {
    background-color: var(--teal-dark);
}

.input-area button:active {
    transform: scale(0.98);
}

.input-area button:disabled {
    background-color: var(--secondary-color);
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ========== CONNECTION STATUS ========== */
.connection-status {
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    z-index: 100; /* Much lower than dropdown */
    position: relative;
}

.status-connected {
    background-color: rgba(240, 253, 250, 0.9);
    color: var(--teal-primary);
    border: 1px solid var(--teal-light);
}

.status-error {
    background-color: rgba(254, 242, 242, 0.9);
    color: var(--error-color);
    border: 1px solid rgba(254, 202, 202, 0.8);
}

.status-loading {
    background-color: rgba(255, 251, 235, 0.9);
    color: var(--warning-color);
    border: 1px solid rgba(253, 230, 138, 0.8);
}

.connection-status.hiding {
    opacity: 0;
    max-height: 0;
    padding: 0;
    border: none;
    margin: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

/* ========== FORM CONTROLS ========== */
.input-group {
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.input-group input[type="text"],
.input-group input[type="file"],
.input-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input-group input[type="text"]:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.input-group input[type="file"] {
    padding: 0.5rem;
    background-color: #f8fafc;
}

/* File info states */
.file-info {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.file-info.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.file-info.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

.file-info.processing {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

/* ========== REFERENCE INFO ========== */
.reference-info {
    margin-top: 1.5rem;
    padding: 0.75rem;
    background-color: var(--teal-bg-light);
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    border: 1px solid rgba(94, 234, 212, 0.3);
}

.reference-info strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--teal-dark);
    font-size: 0.875rem;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-weight: 500;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 0.25rem;
}

.status-success {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-partial {
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-error {
    background-color: rgba(239, 68, 68, 0.15);
    color: var(--error-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ========== CHAT INTERFACE ========== */
.chat-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, 0.5);
    position: relative;
    z-index: 1;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    background-color: var(--background-light);
}

/* Message bubbles */
.message {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    max-width: 85%;
    position: relative;
    animation: fadeIn 200ms ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-message {
    background: linear-gradient(135deg, var(--teal-primary) 0%, var(--teal-accent) 100%);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 0.25rem;
}

.ai-message {
    background-color: white;
    color: var(--text-primary);
    margin-right: auto;
    border-bottom-left-radius: 0.25rem;
    border: 1px solid rgba(203, 213, 225, 0.5);
    box-shadow: var(--shadow-sm);
}

.message-time {
    font-size: 0.6875rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.user-message .message-time {
    color: rgba(255, 255, 255, 0.8);
}

.ai-message .message-time {
    color: var(--text-secondary);
}

.streaming-text {
    min-height: 1.5rem;
}

.typing {
    color: var(--text-secondary);
    position: relative;
    font-style: italic;
}

.typing::after {
    content: '...';
    position: absolute;
    animation: typingDots 1.5s infinite steps(4, end);
}

@keyframes typingDots {
    0%, 25% { content: '.'; }
    50% { content: '..'; }
    75%, 100% { content: '...'; }
}

/* ========== INPUT AREA ========== */
.input-area {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    background-color: white;
    position: relative;
    z-index: 1;
}

.input-area textarea {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    resize: none;
    min-height: 3rem;
    max-height: 10rem;
    font-family: inherit;
    font-size: 0.875rem;
    line-height: 1.5;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input-area textarea:focus {
    outline: none;
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .container {
        padding: 0;
    }
    
    .settings-panel {
        border-radius: 0;
    }
    
    .chat-container {
        border-radius: 0;
        border: none;
    }
    
    .message {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .input-area {
        padding: 0.75rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .input-area button {
        padding: 0.75rem;
        margin-left: 0;
        width: 100%;
    }
    
    #send-button {
        height: 48px;
        padding: 0 16px;
        border-radius: 12px;
    }
}

/* ========== ACCESSIBILITY ========== */
:focus-visible {
    outline: 2px solid var(--teal-primary);
    outline-offset: 2px;
}

/* ========== PRINT STYLES ========== */
@media print {
    .settings-panel,
    .input-area {
        display: none;
    }
    
    .chat-container {
        box-shadow: none;
        border-radius: 0;
        border: none;
    }
    
    .chat-messages {
        padding: 0;
        overflow: visible;
        background-color: white;
    }
    
    .message {
        max-width: 100%;
        page-break-inside: avoid;
        border: 1px solid #ddd !important;
    }
    
    .user-message {
        background: #f0fdfa !important;
        color: black !important;
        -webkit-print-color-adjust: exact;
    }
}