/* =========================================================================
   Petrol Pump ERP & Management System - Main Theme Stylesheet
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    --primary: #0f4c81;
    --primary-hover: #0b375e;
    --primary-light: #e8f1f8;
    --secondary: #e65100;
    --secondary-hover: #bf360c;
    --secondary-light: #fff3e0;
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --dark: #0f172a;
    --dark-surface: #1e293b;
    --dark-border: #334155;
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
    --text-main: #334155;
    --text-muted: #64748b;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --sidebar-width: 270px;
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--light-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Typography & General */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6,
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.modal-header.bg-dark .modal-title,
.modal-header.text-white .modal-title,
.modal-title.text-white,
h1.text-white, h2.text-white, h3.text-white, h4.text-white, h5.text-white, h6.text-white {
    color: #ffffff !important;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}
a:hover {
    color: var(--primary-hover);
}

.mono {
    font-family: var(--font-mono);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Navbar (Frontend) */
.navbar-custom {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.07);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
}
.navbar-custom .navbar-brand {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.navbar-custom .navbar-brand .brand-badge {
    background: var(--secondary);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}
.navbar-custom .nav-link {
    font-weight: 600;
    color: #475569;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

/* Top Live Rates Bar */
.top-rates-bar {
    background: #0b1f3a;
    color: #cbd5e1;
    font-size: 0.82rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.rate-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 600;
}
.rate-badge .fuel-name {
    color: #93c5fd;
}
.rate-badge .fuel-price {
    color: #f8fafc;
    font-family: var(--font-mono);
}

/* Modern Card Design */
.card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    box-shadow: var(--card-shadow-hover);
}
.card-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
    font-weight: 700;
    border-radius: 12px 12px 0 0 !important;
}

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: 8px;
    padding: 0.55rem 1.2rem;
    transition: all 0.2s ease;
}
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
}
.btn-warning {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}
.btn-warning:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    color: #fff;
}

/* Table Styling */
.table-responsive {
    border-radius: 10px;
    overflow: hidden;
}
.table {
    margin-bottom: 0;
    vertical-align: middle;
}
.table thead th {
    background-color: #f1f5f9;
    color: #475569;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid var(--border-color);
}
.table tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}
.table-hover tbody tr:hover {
    background-color: #f8fafc;
}

/* Form Controls */
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 0.55rem 0.85rem;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.15);
}
.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 0.35rem;
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 0.35em 0.65em;
    border-radius: 6px;
    letter-spacing: 0.02em;
}
.badge-petrol { background-color: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.badge-diesel { background-color: #e0f2fe; color: #0369a1; border: 1px solid #7dd3fc; }
.badge-speed  { background-color: #ffedd5; color: #c2410c; border: 1px solid #fdba74; }
.badge-cng    { background-color: #ccfbf1; color: #0f766e; border: 1px solid #5eead4; }

/* Status Indicators */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}
.status-pill.active { background: #dcfce7; color: #15803d; }
.status-pill.inactive { background: #f1f5f9; color: #64748b; }
.status-pill.warning { background: #fef3c7; color: #b45309; }
.status-pill.danger { background: #fee2e2; color: #b91c1c; }

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.status-dot.active { background: #22c55e; box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2); }
.status-dot.danger { background: #ef4444; box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2); }
.status-dot.warning { background: #f59e0b; box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2); }

/* Tank Fuel Level Bar */
.tank-gauge-container {
    background: #f1f5f9;
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid var(--border-color);
}
.tank-progress {
    height: 18px;
    border-radius: 9px;
    background-color: #e2e8f0;
    overflow: hidden;
    margin: 8px 0;
}
.tank-progress-bar {
    height: 100%;
    transition: width 0.6s ease;
}

/* =========================================================================
   ADMIN LAYOUT STYLES - DESKTOP INDEPENDENT SCROLLING & MOBILE OFFCANVAS
   ========================================================================= */

/* --- Desktop Layout (min-width: 992px) --- */
@media (min-width: 992px) {
    html:has(.admin-wrapper),
    body:has(.admin-wrapper) {
        height: 100%;
        max-height: 100vh;
        overflow: hidden;
    }

    .admin-wrapper {
        display: flex;
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
        position: relative;
    }

    /* Sidebar - Fixed 100vh with independent scroll in menu */
    .admin-sidebar {
        width: var(--sidebar-width);
        height: 100vh;
        max-height: 100vh;
        background: #0f172a;
        color: #94a3b8;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        z-index: 1000;
        border-right: 1px solid #1e293b;
        position: relative;
        overflow: hidden;
    }
    .admin-sidebar .sidebar-brand {
        flex-shrink: 0;
        padding: 1.25rem 1.5rem;
        background: #090e1a;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        color: #ffffff;
        font-weight: 800;
        font-size: 1.15rem;
        border-bottom: 1px solid #1e293b;
        z-index: 2;
    }
    .admin-sidebar .sidebar-menu {
        padding: 1rem 0.75rem;
        overflow-y: auto;
        overflow-x: hidden;
        flex-grow: 1;
        min-height: 0;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
    }
    .admin-sidebar .sidebar-user {
        flex-shrink: 0;
        padding: 1rem 1.25rem;
        background: #090e1a;
        border-top: 1px solid #1e293b;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        z-index: 2;
    }

    /* Admin Main Content Container - Independent Scroll Area */
    .admin-content {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
        min-width: 0;
        background: #f8fafc;
        position: relative;
    }

    /* Admin Top Header - Fixed at Top */
    .admin-header {
        flex-shrink: 0;
        height: 65px;
        background: #ffffff;
        border-bottom: 1px solid var(--border-color);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1.5rem;
        z-index: 99;
    }

    /* Admin Page Body - Independent Smooth Scroll Area */
    .admin-body {
        padding: 1.5rem;
        flex-grow: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
    }
}

/* --- Common Base Sidebar Elements --- */
.admin-sidebar .sidebar-brand i {
    color: #f59e0b;
    font-size: 1.4rem;
}
.admin-sidebar .sidebar-menu::-webkit-scrollbar {
    width: 4px;
}
.admin-sidebar .sidebar-menu::-webkit-scrollbar-track {
    background: transparent;
}
.admin-sidebar .sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 4px;
}
.admin-sidebar .sidebar-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.35);
}
.admin-sidebar .menu-header {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475569;
    font-weight: 800;
    padding: 0.75rem 0.75rem 0.25rem;
    margin-top: 0.5rem;
}
.admin-sidebar .nav-item {
    margin-bottom: 2px;
}
.admin-sidebar .nav-link {
    color: #94a3b8;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}
.admin-sidebar .nav-link i {
    width: 20px;
    font-size: 1rem;
    text-align: center;
    color: #64748b;
}
.admin-sidebar .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}
.admin-sidebar .nav-link:hover i {
    color: #93c5fd;
}
.admin-sidebar .nav-link.active {
    color: #ffffff;
    background: var(--primary);
    font-weight: 600;
}
.admin-sidebar .nav-link.active i {
    color: #ffffff;
}
.sidebar-user .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1e293b;
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid #334155;
}
.admin-header .toggle-sidebar {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #64748b;
    cursor: pointer;
}
.admin-body::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.admin-body::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.admin-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.admin-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* KPI Widgets */
.kpi-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}
.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}
.kpi-card .kpi-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.kpi-card .kpi-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}
.kpi-card .kpi-value {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0;
    font-family: var(--font-mono);
}
.kpi-card .kpi-trend {
    font-size: 0.78rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Quick Action Button */
.btn-action-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border: 1px solid transparent;
    transition: all 0.15s ease;
}

/* Print Invoice & DSR Format */
@media print {
    .admin-sidebar, .admin-header, .no-print, .btn, .flash-messages-container {
        display: none !important;
    }
    .admin-content, .admin-body {
        padding: 0 !important;
        background: #fff !important;
    }
    body {
        background: #fff !important;
        color: #000 !important;
    }
    .card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* --- Mobile Responsive Navigation & Default Page Flow (max-width: 991.98px) --- */
@media (max-width: 991.98px) {
    html, body {
        height: auto !important;
        min-height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    .admin-wrapper {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100vh !important;
        overflow: visible !important;
    }
    .admin-content {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100vh !important;
        overflow: visible !important;
    }
    .admin-header {
        position: sticky !important;
        top: 0;
        z-index: 1020;
        height: 60px;
        background: #ffffff;
        border-bottom: 1px solid var(--border-color);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1rem;
    }
    .admin-body {
        display: block !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        padding: 1rem 0.85rem !important;
    }
    .admin-sidebar {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: -300px !important;
        width: 280px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        background: #0f172a;
        color: #94a3b8;
        z-index: 1050 !important;
        display: flex !important;
        flex-direction: column !important;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: none;
        overflow: hidden;
    }
    .admin-sidebar.show {
        left: 0 !important;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.6) !important;
    }
    .admin-sidebar .sidebar-brand {
        flex-shrink: 0;
        padding: 1.15rem 1.25rem;
        background: #090e1a;
        border-bottom: 1px solid #1e293b;
    }
    .admin-sidebar .sidebar-menu {
        padding: 1rem 0.75rem;
        overflow-y: auto;
        overflow-x: hidden;
        flex-grow: 1;
        min-height: 0;
    }
    .admin-sidebar .sidebar-user {
        flex-shrink: 0;
        padding: 1rem 1.25rem;
        background: #090e1a;
        border-top: 1px solid #1e293b;
    }
    .sidebar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.65);
        backdrop-filter: blur(2px);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .sidebar-backdrop.show {
        opacity: 1;
        visibility: visible;
    }
}

/* =========================================================================
   DataTables Modern Bootstrap 5 Custom Styling & Mobile Scrollable View
   ========================================================================= */

.dataTables_wrapper {
    width: 100%;
    overflow-x: hidden;
    padding: 0;
    font-size: 0.875rem;
}

.dataTables_wrapper .row {
    align-items: center;
    margin-left: 0;
    margin-right: 0;
}

/* Length & Search Controls */
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.375rem 2rem 0.375rem 0.75rem;
    font-size: 0.85rem;
    color: var(--dark);
    background-color: #fff;
    outline: none;
    transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_length select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.15);
}

.dataTables_wrapper .dataTables_filter {
    text-align: right;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    color: var(--dark);
    background-color: #fff;
    outline: none;
    min-width: 220px;
    transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.15);
    background-color: #fff;
}

/* Horizontal and Vertical Scrollable Table Container */
.dataTables_wrapper .table-responsive,
.table-responsive {
    overflow-x: auto !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
    width: 100%;
    border-radius: 0 0 12px 12px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.table-responsive::-webkit-scrollbar,
.dataTables_wrapper .table-responsive::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.table-responsive::-webkit-scrollbar-track,
.dataTables_wrapper .table-responsive::-webkit-scrollbar-track {
    background: #f8fafc;
}
.table-responsive::-webkit-scrollbar-thumb,
.dataTables_wrapper .table-responsive::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-thumb:hover,
.dataTables_wrapper .table-responsive::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Ensure All Columns Stay Intact Without Wrapping or Cutting Off */
.dataTables_wrapper table.dataTable,
.dataTables_wrapper table.table,
.table-responsive table.table {
    width: 100% !important;
    min-width: 720px;
    margin-bottom: 0 !important;
}

.dataTables_wrapper table.table th,
.dataTables_wrapper table.table td,
.table-responsive table.table th,
.table-responsive table.table td {
    white-space: nowrap !important;
    vertical-align: middle;
}

/* DataTables Info & Pagination */
.dataTables_wrapper .dataTables_info {
    color: var(--text-muted);
    font-size: 0.825rem;
    font-weight: 500;
    padding-top: 0.5rem;
}

.dataTables_wrapper .dataTables_paginate {
    padding-top: 0.5rem;
}

.dataTables_wrapper .dataTables_paginate .pagination {
    margin-bottom: 0;
    gap: 4px;
}

.dataTables_wrapper .dataTables_paginate .page-item .page-link {
    border: 1px solid var(--border-color);
    border-radius: 8px !important;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.825rem;
    padding: 0.35rem 0.75rem;
    background: #fff;
    transition: all 0.15s ease;
}

.dataTables_wrapper .dataTables_paginate .page-item .page-link:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary-light);
}

.dataTables_wrapper .dataTables_paginate .page-item.active .page-link {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 2px 4px rgba(15, 76, 129, 0.25);
}

.dataTables_wrapper .dataTables_paginate .page-item.disabled .page-link {
    background-color: #f8fafc;
    color: #cbd5e1;
    border-color: var(--border-color);
}

/* Table Header Sorting Icons */
table.dataTable thead > tr > th.sorting:before,
table.dataTable thead > tr > th.sorting:after,
table.dataTable thead > tr > th.sorting_asc:before,
table.dataTable thead > tr > th.sorting_asc:after,
table.dataTable thead > tr > th.sorting_desc:before,
table.dataTable thead > tr > th.sorting_desc:after {
    opacity: 0.3;
}

table.dataTable thead > tr > th.sorting_asc:before,
table.dataTable thead > tr > th.sorting_desc:after {
    opacity: 0.9;
    color: var(--primary);
}

/* Mobile & Touch View Optimizations */
@media (max-width: 767.98px) {
    .dataTables_wrapper .dataTables_filter {
        text-align: left;
        margin-top: 0.5rem;
    }
    .dataTables_wrapper .dataTables_filter input {
        width: 100%;
        min-width: 100%;
    }
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        text-align: center;
        justify-content: center;
    }
    .dataTables_wrapper .dataTables_paginate .pagination {
        justify-content: center !important;
        flex-wrap: wrap;
    }
    .dataTables_wrapper table.dataTable,
    .dataTables_wrapper table.table,
    .table-responsive table.table {
        min-width: 750px;
    }
}

/* Modal Live Calculation Panels */
.modal-body .text-break {
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
}

