:root {
    --primary: #2c3e50;
    --secondary: #34495e;
    --accent: #3498db;
    --bg: #ecf0f1;
    --white: #ffffff;
}

html, body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    background-color: var(--bg);
    min-height: 100vh;
}

/* الإطار الخارجي ثابت لا يُمرَّر؛ منطقة المحتوى #app-content هي الحاوية الوحيدة للتمرير في كل الشاشات */
html, body {
    height: 100%;
    overflow: hidden !important;
}
#app-content > * { flex-shrink: 0; }

/* =========================================================================
   تثبيت رؤوس جداول البيانات في كل الشاشات (تُفعَّل من sticky_tables.js)
   ========================================================================= */
:root { --app-header-h: 0px; }

thead.sticky-thead-page,
thead.sticky-thead-box {
    position: sticky;
    z-index: 50;
}
thead.sticky-thead-page { top: 0; }
thead.sticky-thead-box { top: 0; }

.sticky-scroll-box {
    max-height: calc(100vh - var(--app-header-h) - 40px);
    overflow-y: auto !important;
}

.compact-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 12px;
    background: #eef2f7;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 8px;
}
.compact-header-bar .chb-title {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.compact-header-bar .chb-title h2,
.compact-header-bar .chb-title h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.3;
    color: #2c3e50;
}
.compact-header-bar .chb-title small {
    font-size: 11px;
}
.compact-header-bar .chb-actions {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 12px;
}
.compact-header-bar.chb-sticky {
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08);
}
.compact-header-bar .chb-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.compact-header-bar .chb-group > span,
.compact-header-bar .chb-group > label {
    font-size: 12px;
    font-weight: bold;
    color: #1e293b;
    white-space: nowrap;
}
.compact-header-bar input,
.compact-header-bar select {
    height: 30px;
    padding: 3px 8px !important;
    font-size: 12px !important;
    margin: 0 !important;
    width: auto;
}
.compact-header-bar button {
    height: 30px;
    padding: 4px 10px !important;
    font-size: 12px !important;
    white-space: nowrap;
    margin: 0 !important;
}

@media print {
    html, body, #main-system-container, #app-content, .container {
        height: auto !important;
        overflow: visible !important;
        display: block !important;
    }
    .compact-header-bar {
        display: block !important;
        position: static !important;
        box-shadow: none !important;
        background: none !important;
        border: none !important;
        padding: 0 !important;
    }
    .compact-header-bar .chb-controls {
        display: none !important;
    }
}

.navbar {
    background-color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { font-size: 20px; font-weight: bold; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links a, .dropbtn {
    color: var(--white);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    border: none;
    background: none;
    font-size: 16px;
    cursor: pointer;
}

.nav-links a:hover, .dropbtn:hover { background-color: var(--secondary); }

.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    border-radius: 4px;
    overflow: hidden;
}
.dropdown-content a {
    color: #333;
    display: block;
    padding: 12px 16px;
}
.dropdown-content a:hover { background-color: #f1f1f1; }
.dropdown:hover .dropdown-content { display: block; }

.search-box input {
    padding: 8px;
    border-radius: 20px;
    border: 1px solid #ccc;
    outline: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 15px !important;
    background: var(--white);
    border-radius: 8px;
    box-sizing: border-box !important;
}

.pos-layout {
    display: flex;
    gap: 20px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    align-items: stretch;
    overflow: hidden;
}

.pos-sidebar {
    flex: 0 0 340px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dcdde1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    box-sizing: border-box !important;
}

.pos-sidebar input, 
.pos-sidebar select, 
.pos-sidebar textarea, 
.pos-sidebar .input-group {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.pos-sidebar::-webkit-scrollbar { width: 6px; }
.pos-sidebar::-webkit-scrollbar-thumb { background-color: #bdc3c7; border-radius: 4px; }
.pos-sidebar::-webkit-scrollbar-track { background: #f1f1f1; }

.pos-main {
    flex: 1;
    min-width: 500px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dcdde1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: auto;
    box-sizing: border-box !important;
}

.pos-table-ledger th, 
.rep-table th, 
.excel-table th, 
.pos-table th {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    box-shadow: 0 2px 2px -1px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 50px;
        left: 0;
        background-color: var(--primary);
        padding: 10px 0;
    }
    .nav-links.active { display: flex; }
    .dropdown-content { position: relative; box-shadow: none; width: 100%; }
    .pos-layout { flex-direction: column; height: auto; overflow: visible; }
    .pos-sidebar, .pos-main { height: auto; overflow: visible; flex: 1 1 auto; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    padding: 20px;
    border-radius: 8px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #ffffff;
}

.stat-card p {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.card-blue { background-color: #3498db; }
.card-green { background-color: #2ecc71; }
.card-orange { background-color: #f39c12; }

.chart-container {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 30px;
}

.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.65) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999 !important;
    transition: background 0.25s ease !important;
}

.modal-overlay.overlay-minimized {
    background: transparent !important;
    pointer-events: none !important;
    display: block !important;
}

.modal-content {
    background: #fff !important;
    width: 95% !important;
    max-width: 900px !important;
    max-height: 90vh !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    pointer-events: auto !important;
}

.modal-content.maximized {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    margin: 0 !important;
    z-index: 999999 !important;
}

.modal-content.minimized {
    width: 360px !important;
    max-width: 90vw !important;
    max-height: none !important;
    height: auto !important;
    position: fixed !important;
    bottom: 15px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45) !important;
    border-radius: 6px !important;
    z-index: 999999 !important;
    margin: 0 !important;
}

.modal-content.minimized .modal-body,
.modal-content.minimized .modal-footer,
.modal-content.minimized .table-wrapper,
.modal-content.minimized table {
    display: none !important;
}

.modal-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 15px !important;
    user-select: none !important;
}

.modal-header h3 {
    margin: 0 !important;
    font-size: 15px !important;
}

.win-controls {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-right: auto !important;
}

.win-btn {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
    width: 28px !important;
    height: 26px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: bold !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.win-btn:hover { background: rgba(255, 255, 255, 0.45) !important; }
.win-btn.btn-close:hover { background: #e74c3c !important; border-color: #c0392b !important; }

.hidden {
    display: none !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
input[type=number] {
  -moz-appearance: textfield !important;
}

.pos-sidebar .accordion-card {
    border: 1px solid #dcdde1;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.pos-sidebar .accordion-toggle-header {
    cursor: pointer !important;
    user-select: none !important;
    background: #2c3e50 !important;
    color: #ffffff !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    transition: background 0.2s ease !important;
}

.pos-sidebar .accordion-toggle-header:hover { background: #34495e !important; }
.pos-sidebar .accordion-toggle-header::after {
    content: '▲';
    font-size: 11px;
    transition: transform 0.2s ease;
}
.pos-sidebar .is-collapsed .accordion-toggle-header::after { content: '▼'; }
.pos-sidebar .is-collapsed > *:not(.accordion-toggle-header) { display: none !important; }
.pos-sidebar .accordion-card-active {
    border: 1px solid #3498db !important;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.15) !important;
}
.pos-sidebar .accordion-card-active .accordion-toggle-header { background: #3498db !important; }
.pos-sidebar .accordion-content { padding: 12px; }

.side-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    z-index: 99998;
}

.side-drawer-backdrop.active { display: block; }

/* ==========================================================================
   🟢 القائمة الجانبية: سكرول موحد وسلس بالكامل وحبس التمرير لمنع الـ Refresh
   ========================================================================== */
.side-drawer-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 270px;
    height: 100vh;
    height: 100dvh;
    background: #111827;
    color: #ffffff;
    z-index: 99999;
    box-shadow: -4px 0 20px rgba(0,0,0,0.5);
    transition: right 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    /* التمرير على القائمة كلها لضمان عدم ضياع أي لمسة */
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
}

.side-drawer-menu.active { right: 0; }

.side-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    background: #0f172a;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 2;
}

.side-drawer-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}

/* إلغاء السكرول الداخلي المنفصل ليكون التمرير سلساً ككتلة واحدة */
.side-drawer-links {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    overflow: visible !important;
    flex: 1 0 auto;
}

.side-drawer-links a {
    display: flex;
    align-items: center;
    color: #cbd5e1;
    text-decoration: none;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
    transition: all 0.15s ease;
}

.side-drawer-links a:hover,
.side-drawer-links a.active {
    background: #1e293b;
    color: #38bdf8;
}

/* ==========================================================================
   نافذة تسجيل الدخول المنبثقة
   ========================================================================== */
.login-modal-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
    padding: 16px;
    box-sizing: border-box;
}

.login-modal-overlay.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.login-card {
    background: #ffffff;
    width: 100%;
    max-width: 360px;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    text-align: right;
    animation: loginFadeIn 0.25s ease-out;
}

@keyframes loginFadeIn {
    from { opacity: 0; transform: translateY(-15px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-header {
    text-align: center;
    margin-bottom: 18px;
}

.login-header h2 {
    margin: 10px 0 4px 0;
    color: #1e293b;
    font-size: 20px;
    font-weight: 800;
}

.login-header p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: bold;
}

#systemLoginForm {
    width: 100%;
    margin: 0;
    padding: 0;
}

#systemLoginForm input {
    font-family: inherit;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#systemLoginForm input:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.btn-bio-login {
    width: 100%;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff !important;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.35);
    transition: opacity 0.2s, transform 0.1s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-bio-login:hover { opacity: 0.95; }
.btn-bio-login:active { transform: scale(0.98); }

.login-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.login-divider hr {
    flex: 1;
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 0;
}

.login-divider span {
    font-size: 11px;
    color: #94a3b8;
    font-weight: bold;
}

.btn-login-submit {
    width: 100%;
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(15, 23, 42, 0.3);
    transition: background 0.2s, transform 0.1s;
}

.btn-login-submit:hover { background: #1e293b; }
.btn-login-submit:active { transform: scale(0.98); }

/* ==========================================================================
   🟢 معالجة التجاوب الشامل على الموبايل
   ========================================================================== */
@media (max-width: 768px) {
    *, *:before, *:after { 
        box-sizing: border-box !important; 
    }

    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        height: 100% !important;
        overflow: hidden !important;
    }

    .container, #app-content {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        height: auto !important;
        min-height: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        padding: 6px !important;
        margin: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    .pos-layout, .fin-layout, .marketing-layout {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        max-height: none !important;
        min-height: calc(100vh - 70px) !important;
        width: 100% !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        padding: 6px !important;
        margin: 0 !important;
        overflow-y: visible !important;
        overflow-x: clip !important;
    }

    .pos-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        max-height: none !important;
        flex: none !important;
        box-sizing: border-box !important;
        margin-bottom: 15px !important;
        overflow: visible !important;
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
    }

    .pos-main {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        max-height: none !important;
        padding: 6px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        flex: none !important;
    }

    .stats-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        gap: 8px !important;
        box-sizing: border-box !important;
    }

    .stat-card {
        flex: 1 1 calc(50% - 8px) !important;
        min-width: 130px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    /* إصلاح شاشة المدير المالي */
    div:has(> div:contains("رصيد نقدية الخزنة الرئيسية")),
    div:has(> div:contains("إجمالي رصيد الفرع")),
    div[style*="background: #16a085"],
    div[style*="background: #27ae60"],
    div[style*="background: #2980b9"] {
        display: flex !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    div[style*="display: flex"]:has(> div:has(> div:contains("عمولات"))),
    div[style*="display: flex"]:has(> div:has(> div:contains("مستحقات"))),
    div[style*="display: flex"]:has(> div[style*="background: #8e44ad"]),
    div[style*="display: flex"]:has(> div[style*="background: #2c3e50"]),
    div[style*="display: flex"]:has(> div[style*="background: #27ae60"]),
    div[style*="display: flex"]:has(> div[style*="background: #c0392b"]) {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 8px !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        padding-bottom: 30px !important;
    }

    div[style*="display: flex"]:has(> div:has(> div:contains("عمولات"))) > div,
    div[style*="display: flex"]:has(> div:has(> div:contains("مستحقات"))) > div,
    div[style*="display: flex"]:has(> div[style*="background: #8e44ad"]) > div,
    div[style*="display: flex"]:has(> div[style*="background: #2c3e50"]) > div,
    div[style*="display: flex"]:has(> div[style*="background: #27ae60"]) > div,
    div[style*="display: flex"]:has(> div[style*="background: #c0392b"]) > div {
        flex: 0 0 calc(50% - 4px) !important;
        width: calc(50% - 4px) !important;
        min-width: calc(50% - 4px) !important;
        max-width: calc(50% - 4px) !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 0 8px 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    div[style*="display: flex"]:has(> div:has(> div:contains("عمولات"))) table,
    div[style*="display: flex"]:has(> div:has(> div:contains("مستحقات"))) table {
        width: 100% !important;
        min-width: 0 !important;
        font-size: 11px !important;
    }

    /* إصلاح شاشة مطابقة البنك */
    div[style*="display: flex"]:has(input[type="date"]),
    div:has(> input[type="date"]) {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        gap: 6px !important;
        overflow: visible !important;
        margin-bottom: 10px !important;
    }

    div[style*="display: flex"]:has(input[type="date"]) input[type="date"] {
        flex: 1 1 110px !important;
        min-width: 95px !important;
        max-width: 130px !important;
        padding: 6px 8px !important;
        font-size: 12px !important;
        box-sizing: border-box !important;
    }

    div[style*="display: flex"]:has(input[type="date"]) button {
        flex: 0 0 auto !important;
        min-width: 75px !important;
        padding: 7px 12px !important;
        font-size: 13px !important;
        font-weight: bold !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    div[style*="display: grid"]:has(> div:contains("مبيعات")),
    div[style*="grid-template-columns"]:has(> div:contains("رصيد")) {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: 100% !important;
    }

    div[style*="display: grid"]:has(> div:contains("مبيعات")) > div,
    div[style*="grid-template-columns"]:has(> div:contains("رصيد")) > div {
        flex: 1 1 calc(50% - 6px) !important;
        min-width: calc(50% - 6px) !important;
        max-width: calc(50% - 6px) !important;
        box-sizing: border-box !important;
    }

    /* الجداول العامة */
    .table-responsive, .pos-table-wrapper,
    div[style*="overflow-x"],
    div:has(> table) {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        margin-top: 10px !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 6px !important;
    }

    table, .pos-table, .rep-table, .excel-table, .pos-table-ledger {
        display: table !important;
        width: 100% !important;
        min-width: 650px !important;
        box-sizing: border-box !important;
    }

    table th, table td {
        white-space: nowrap !important;
        padding: 8px 6px !important;
        font-size: 13px !important;
    }
}