@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap');
/* =====================================================================
   IQ PREMIUM THEME  (27-Nov-2026)
   One global stylesheet loaded LAST by templates/header.php and login.php.
   It only restyles - no page markup changes - so every module page picks it up.
   To switch it off: remove the <link ... iq-premium.css> line in header.php.
   ===================================================================== */

:root {
    --iq-navy-900: #071a33;
    --iq-navy-800: #0b2547;
    --iq-navy-700: #12355f;
    --iq-navy-600: #1b4a7f;
    --iq-blue: #1e6fd9;
    --iq-blue-soft: #e8f1fd;
    --iq-gold: #f2b705;
    --iq-green: #16a34a;
    --iq-red: #dc2626;
    --iq-amber: #d97706;
    --iq-bg: #f3f6fa;
    --iq-surface: #ffffff;
    --iq-line: #e4e9f0;
    --iq-line-2: #eef2f7;
    --iq-text: #1e293b;
    --iq-text-2: #475569;
    --iq-muted: #8391a7;
    --iq-radius: 14px;
    --iq-radius-sm: 10px;
    --iq-shadow: 0 1px 2px rgba(15, 35, 70, .04), 0 6px 18px rgba(15, 35, 70, .06);
    --iq-shadow-lg: 0 18px 48px rgba(7, 26, 51, .18);
    --iq-font: "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}

/* ---------- base ---------- */
html body {
    background: var(--iq-bg) !important;
    font-family: var(--iq-font) !important;
    color: var(--iq-text);
    font-size: 13.5px;
    -webkit-font-smoothing: antialiased;
}
body h1, body h2, body h3, body h4, body h5, body h6 { font-family: var(--iq-font) !important; color: var(--iq-navy-800); letter-spacing: -.01em; }
body a { transition: color .15s ease; }
body ::selection { background: rgba(30, 111, 217, .18); }
/* the template forces every icon green (i{color:#44a145!important}); page content keeps that,
   but icons in the chrome (sidebar, header, buttons, menus, badges...) follow their text colour */
body .dlabnav i, body .nav-header i, body .header i, body .btn i, body .dropdown-item i, body .action-menu i,
body .modal-header i, body .badge i, body .alert i, body .paginate_button i, body .dt-button i, body .nav-tabs i,
body .profile-menu i, body .swal2-popup i { color: inherit !important; }
/* demo chat / theme panels from the template are never used */
body .chatbox, body .sidebar-right, body .dlab-demo-panel, body .dlab-demo-trigger { display: none !important; }

/* thin, quiet scrollbars */
body ::-webkit-scrollbar { width: 9px; height: 9px; }
body ::-webkit-scrollbar-thumb { background: #c8d2df; border-radius: 9px; border: 2px solid transparent; background-clip: padding-box; }
body ::-webkit-scrollbar-thumb:hover { background: #a9b6c7; background-clip: padding-box; border: 2px solid transparent; }

/* ---------- preloader ---------- */
body .preloader1 { background: radial-gradient(circle at 50% 40%, #ffffff 0, #eef3f9 70%) !important; }
body .preloader1 .spinner-ring { border-color: #dbe4ef !important; border-top-color: var(--iq-blue) !important; }

/* =====================================================================
   SIDEBAR  (nav-header + dlabnav)
   ===================================================================== */
body .nav-header {
    background: var(--iq-navy-900) !important;
    background-image: linear-gradient(160deg, #0a2142 0%, #0b2547 100%) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
body .nav-header .brand-logo { padding: 14px 22px !important; display: flex; align-items: center; justify-content: center; }
body .nav-header .brand-logo img { max-height: 78px; width: auto !important; max-width: 100%; object-fit: contain; }
body .nav-header .hamburger .line { background: #ffffff !important; }

body .dlabnav {
    background: var(--iq-navy-800) !important;
    background-image: linear-gradient(180deg, #0b2547 0%, #0d2d55 55%, #102f57 100%) !important;
    border-radius: 0 !important;
    box-shadow: 4px 0 24px rgba(7, 26, 51, .10) !important;
}
body .dlabnav .dlabnav-scroll { padding-top: 12px; }
body .dlabnav .metismenu { padding: 4px 14px 24px !important; }

/* top-level items */
body .dlabnav .metismenu > li { margin: 2px 0 !important; padding: 0 !important; }
body .dlabnav .metismenu > li > a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 10px 14px !important;
    border-radius: 11px !important;
    color: #c9d6e8 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    letter-spacing: .005em;
    background: transparent !important;
    box-shadow: none !important;
    transition: background .18s ease, color .18s ease;
    position: relative;
}
body .dlabnav .metismenu > li > a .nav-text { color: inherit !important; font-size: inherit !important; font-weight: inherit !important; }
body .dlabnav .metismenu > li > a > i {
    width: 34px; height: 34px; min-width: 34px;
    display: inline-flex !important; align-items: center; justify-content: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, .06);
    color: #9fb4d0 !important;
    font-size: 17px !important;
    margin: 0 !important; padding: 0 !important;
    transition: background .18s ease, color .18s ease;
}
body .dlabnav .metismenu > li > a:hover,
body .dlabnav .metismenu > li:hover > a { background: rgba(255, 255, 255, .06) !important; color: #ffffff !important; }
body .dlabnav .metismenu > li > a:hover > i { color: #ffffff !important; background: rgba(255, 255, 255, .10); }

body .dlabnav .metismenu > li.mm-active > a,
body .dlabnav .metismenu > li > a.mm-active {
    background: linear-gradient(90deg, rgba(30, 111, 217, .32), rgba(30, 111, 217, .10)) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}
body .dlabnav .metismenu > li.mm-active > a > i,
body .dlabnav .metismenu > li > a.mm-active > i { background: var(--iq-blue); color: #ffffff !important; box-shadow: 0 6px 14px rgba(30, 111, 217, .35); }
body .dlabnav .metismenu > li.mm-active > a::before {
    content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 4px;
    border-radius: 0 4px 4px 0; background: var(--iq-gold);
}

/* arrows: a clean chevron instead of the white diamonds */
body .dlabnav .metismenu a.has-arrow::after {
    content: "" !important;
    width: 7px !important; height: 7px !important;
    border: solid currentColor !important;
    border-width: 0 1.6px 1.6px 0 !important;
    background: none !important;
    transform: translateY(-65%) rotate(45deg) !important;
    right: 16px !important; top: 50% !important;
    opacity: .7;
    transition: transform .2s ease !important;
    border-radius: 0 !important;
}
body .dlabnav .metismenu .mm-active > a.has-arrow::after,
body .dlabnav .metismenu a.has-arrow[aria-expanded="true"]::after { transform: translateY(-35%) rotate(-135deg) !important; opacity: 1; }

/* sub levels */
body .dlabnav .metismenu ul {
    background: transparent !important;
    padding: 4px 0 6px 0 !important;
    margin: 0 0 0 30px !important;
    border-left: 1px solid rgba(255, 255, 255, .10);
    box-shadow: none !important;
}
body .dlabnav .metismenu ul li { margin: 0 !important; }
body .dlabnav .metismenu ul a {
    display: flex !important; align-items: center; gap: 8px;
    padding: 7px 12px 7px 16px !important;
    margin: 1px 0 1px 6px;
    border-radius: 8px !important;
    color: #a9bbd3 !important;
    font-size: 13px !important;
    font-weight: 450;
    position: relative;
    transition: background .15s ease, color .15s ease;
}
body .dlabnav .metismenu ul a::before {
    content: "" !important; position: absolute !important; left: -7px !important; top: 50% !important;
    width: 6px !important; height: 6px !important; margin-top: -3px; border-radius: 50% !important;
    background: #2d4f7a !important; border: 0 !important; transition: background .15s ease;
}
body .dlabnav .metismenu ul a > i { font-size: 13px !important; color: inherit !important; width: auto; height: auto; background: none; }
body .dlabnav .metismenu ul a:hover { color: #ffffff !important; background: rgba(255, 255, 255, .05) !important; }
body .dlabnav .metismenu ul a:hover::before { background: #8fb2df !important; }
body .dlabnav .metismenu ul a.mm-active,
body .dlabnav .metismenu ul li.mm-active > a:not(.has-arrow) { color: #ffffff !important; background: rgba(255, 255, 255, .08) !important; font-weight: 600; }
body .dlabnav .metismenu ul a.mm-active::before,
body .dlabnav .metismenu ul li.mm-active > a::before { background: var(--iq-gold) !important; box-shadow: 0 0 0 3px rgba(242, 183, 5, .18); }
body .dlabnav .metismenu ul ul { margin-left: 18px !important; }
body .dlabnav .metismenu ul a.has-arrow { color: #c9d6e8 !important; font-weight: 500; }

/* folded (mini) sidebar keeps icon tiles centred */
body[data-sidebar-style="mini"] .dlabnav .metismenu > li > a,
#main-wrapper.menu-toggle .dlabnav .metismenu > li > a { justify-content: center; padding: 10px !important; }
#main-wrapper.menu-toggle .dlabnav .metismenu > li.mm-active > a::before { display: none; }

/* mobile / hover pop-out panels: light card */
@media (max-width: 1199px) {
    body .dlabnav .metismenu > li > ul,
    body .dlabnav .metismenu > li > ul ul {
        background: #ffffff !important; border-left: 0; border-radius: 12px; box-shadow: var(--iq-shadow-lg) !important; margin-left: 0 !important; padding: 8px !important;
    }
    body .dlabnav .metismenu > li > ul a { color: var(--iq-text) !important; margin-left: 0; }
    body .dlabnav .metismenu > li > ul a::before { display: none; }
    body .dlabnav .metismenu > li > ul a:hover,
    body .dlabnav .metismenu > li > ul a.mm-active { background: var(--iq-blue-soft) !important; color: var(--iq-blue) !important; }
    /* 02-Dec-2026: open 3rd-level page (e.g. Third Party > Visual > Visual All Cert) was white text on this white panel */
    body .dlabnav .metismenu > li > ul li.mm-active > a:not(.has-arrow),
    body .dlabnav .metismenu > li > ul ul a.mm-active:not(.has-arrow) { background: var(--iq-blue-soft) !important; color: var(--iq-blue) !important; }
}

/* =====================================================================
   TOP HEADER
   ===================================================================== */
body .header {
    background: rgba(255, 255, 255, .92) !important;
    background-image: none !important;
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    box-shadow: 0 1px 0 var(--iq-line), 0 6px 20px rgba(15, 35, 70, .04) !important;
    border-radius: 0 !important;
}
body .header .header-content { padding-left: 2rem !important; padding-right: 1.75rem !important; }
body .header .dashboard_bar { color: var(--iq-navy-800) !important; font-size: 20px !important; font-weight: 700 !important; }

/* search */
body .header .search-area {
    background: #f1f5f9 !important; border: 1px solid var(--iq-line) !important; border-radius: 12px !important;
    overflow: hidden; height: 42px; width: 300px; transition: box-shadow .2s, border-color .2s, background .2s;
}
body .header .search-area:focus-within { background: #ffffff !important; border-color: #b9d2f3 !important; box-shadow: 0 0 0 4px rgba(30, 111, 217, .10); }
body .header .search-area .form-control { background: transparent !important; border: 0 !important; height: 40px !important; color: var(--iq-text) !important; font-size: 13.5px !important; padding-left: 16px !important; box-shadow: none !important; }
body .header .search-area .form-control::placeholder { color: var(--iq-muted) !important; }
body .header .search-area .input-group-text { background: transparent !important; border: 0 !important; padding: 0 14px !important; }
body .header .search-area .input-group-text a, body .header .search-area .input-group-text i { color: var(--iq-text-2) !important; font-size: 17px !important; }

/* profile pill (was white-on-dark glass) */
body .profile-nav .profile-toggle {
    background: #ffffff !important; border: 1px solid var(--iq-line) !important;
    box-shadow: 0 1px 2px rgba(15, 35, 70, .05) !important; border-radius: 12px !important; padding: 6px 12px 6px 6px !important;
}
body .profile-nav .profile-toggle:hover, body .profile-nav.show .profile-toggle { border-color: #c9d8eb !important; box-shadow: 0 6px 16px rgba(15, 35, 70, .08) !important; transform: none !important; }
body .profile-img { width: 34px !important; height: 34px !important; border: 0 !important; box-shadow: 0 0 0 2px var(--iq-blue-soft) !important; }
body .profile-name { color: var(--iq-navy-800) !important; font-size: 13.5px !important; }
body .profile-email { color: var(--iq-muted) !important; }
body .profile-arrow { color: var(--iq-muted) !important; text-shadow: none !important; }
body .profile-menu { background: #ffffff !important; border: 1px solid var(--iq-line) !important; box-shadow: var(--iq-shadow-lg) !important; border-radius: 14px !important; min-width: 210px; }
body .profile-menu .dropdown-item { color: var(--iq-text) !important; border-radius: 9px !important; }
body .profile-menu .dropdown-item:hover { background: var(--iq-blue-soft) !important; color: var(--iq-blue) !important; }
body .profile-menu .dropdown-item.text-danger, body .profile-menu .dropdown-item.text-danger i { color: var(--iq-red) !important; }
body .profile-menu .dropdown-item.text-danger:hover { background: #fdecec !important; }

/* =====================================================================
   CONTENT AREA
   ===================================================================== */
body .content-body { background: transparent !important; }
body .content-body .container-fluid { padding-top: 26px !important; }

/* cards */
body .card {
    background: var(--iq-surface) !important;
    border: 1px solid var(--iq-line) !important;
    border-radius: var(--iq-radius) !important;
    box-shadow: var(--iq-shadow) !important;
    margin-bottom: 22px;
}
body .card .card-header {
    background: transparent !important;
    border-bottom: 1px solid var(--iq-line-2) !important;
    padding: 16px 22px !important;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
body .card .card-header .card-title, body .card .card-header h3, body .card .card-header h4 {
    margin: 0 !important; font-size: 18px !important; font-weight: 700 !important; color: var(--iq-navy-800) !important; text-transform: none;
}
body .card .card-body { padding: 20px 22px !important; color: var(--iq-text); }
body .card .card-footer { background: #fafbfd !important; border-top: 1px solid var(--iq-line-2) !important; border-radius: 0 0 var(--iq-radius) var(--iq-radius) !important; }

/* page title used as breadcrumb on list pages */
body .card-header .breadcrumb { background: none !important; padding: 0 !important; margin: 0 !important; }
body .card-header .breadcrumb-item, body .card-header .breadcrumb-item a { color: var(--iq-navy-800) !important; }
body .card-header .breadcrumb-item h3 { position: relative; padding-left: 14px; }
body .card-header .breadcrumb-item h3::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--iq-blue), var(--iq-navy-600)); }
body .page-titles { background: transparent !important; padding: 0 0 14px !important; margin-bottom: 8px !important; border: 0 !important; }
body .breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #b3bfcf !important; }
body .breadcrumb .breadcrumb-item a { color: var(--iq-text-2) !important; }
body .breadcrumb .breadcrumb-item.active a { color: var(--iq-navy-800) !important; font-weight: 600; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
body .btn {
    border-radius: var(--iq-radius-sm) !important;
    font-family: var(--iq-font) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: .01em;
    padding: 9px 16px !important;
    line-height: 1.35 !important;
    transition: transform .12s ease, box-shadow .18s ease, background .18s ease, filter .18s ease !important;
}
body .btn:active { transform: translateY(1px); }
body .btn.btn-sm, body .btn.btn-xs, body .btn.btn-sl-sm { padding: 6px 12px !important; font-size: 12.5px !important; border-radius: 8px !important; }
body .btn-primary, body .btn-suc, body .btn.add-workorder-btn {
    background: linear-gradient(135deg, var(--iq-blue) 0%, #1557b8 100%) !important;
    border: 0 !important; color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(30, 111, 217, .25) !important;
}
body .btn-primary:hover, body .btn-suc:hover, body .btn.add-workorder-btn:hover { filter: brightness(1.07); box-shadow: 0 8px 20px rgba(30, 111, 217, .32) !important; color: #fff !important; }
body .btn-suc::before { content: "+"; font-weight: 700; margin-right: 7px; opacity: .9; }
body .btn-success { background: linear-gradient(135deg, #22a454, var(--iq-green)) !important; border: 0 !important; color: #fff !important; box-shadow: 0 6px 14px rgba(22, 163, 74, .22) !important; }
body .btn-danger { background: linear-gradient(135deg, #ef4444, var(--iq-red)) !important; border: 0 !important; color: #fff !important; box-shadow: 0 6px 14px rgba(220, 38, 38, .20) !important; }
body .btn-danger.light { background: #fdecec !important; color: var(--iq-red) !important; box-shadow: none !important; }
body .btn-warning { background: linear-gradient(135deg, #f7c31a, var(--iq-gold)) !important; border: 0 !important; color: #3b2a00 !important; }
body .btn-info { background: linear-gradient(135deg, #22a8c9, #0e8fb0) !important; border: 0 !important; color: #fff !important; }
body .btn-secondary, body .btn-light { background: #f1f5f9 !important; border: 1px solid var(--iq-line) !important; color: var(--iq-text) !important; box-shadow: none !important; }
body .btn-dark { background: var(--iq-navy-800) !important; border: 0 !important; color: #fff !important; }
body [class*="btn-outline-"] { background: #fff !important; box-shadow: none !important; }
body .btn:focus, body .btn:focus-visible { box-shadow: 0 0 0 4px rgba(30, 111, 217, .18) !important; outline: none; }
/* table action buttons (⋮ / dots) */
body .action-btn, body .btn.sharp, body .tp-btn-light.sharp {
    width: 34px !important; height: 34px !important; padding: 0 !important;
    display: inline-flex !important; align-items: center; justify-content: center;
    border-radius: 9px !important; background: #f1f5f9 !important; border: 1px solid var(--iq-line) !important;
    color: var(--iq-text-2) !important; box-shadow: none !important; font-size: 18px; line-height: 1;
}
body .action-btn:hover, body .btn.sharp:hover { background: var(--iq-blue-soft) !important; border-color: #c6dbf6 !important; color: var(--iq-blue) !important; }
body .btn.sharp svg circle { fill: currentColor !important; }

/* dropdown menus */
body .dropdown-menu, body .action-menu {
    border: 1px solid var(--iq-line) !important; border-radius: 12px !important; box-shadow: var(--iq-shadow-lg) !important; padding: 6px !important;
}
body .dropdown-menu .dropdown-item, body .action-menu .dropdown-item { border-radius: 8px; padding: 8px 12px !important; font-size: 13px; color: var(--iq-text); }
body .dropdown-menu .dropdown-item:hover, body .action-menu .dropdown-item:hover { background: var(--iq-blue-soft) !important; color: var(--iq-blue) !important; }
body .dropdown-menu .dropdown-item.text-danger:hover, body .action-menu .dropdown-item.text-danger:hover { background: #fdecec !important; color: var(--iq-red) !important; }

/* =====================================================================
   TABLES  (plain .table + DataTables - beats the grey zebra in style.css)
   ===================================================================== */
body .table-responsive { border-radius: 12px; }
body table.dataTable, body .table {
    border-collapse: separate !important; border-spacing: 0 !important; width: 100% !important;
    border: 1px solid var(--iq-line) !important; border-radius: 12px; overflow: hidden; background: #fff;
}
body table.dataTable thead th, body table.dataTable thead td,
body .table thead th, body .table thead td {
    background: #f4f7fb !important;
    background-image: none !important;
    color: #4a5b74 !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em;
    padding: 13px 14px !important;
    border-bottom: 1px solid var(--iq-line) !important;
    border-top: 0 !important;
    white-space: nowrap;
}
body table.dataTable tbody tr:nth-child(2n+1) td,
body table.dataTable tbody tr:nth-child(2n) td,
body table.dataTable tbody tr td,
body .table tbody tr td {
    background-color: #ffffff !important;
    color: var(--iq-text) !important;
    font-size: 13px !important;
    padding: 11px 14px !important;
    border-top: 0 !important;
    border-bottom: 1px solid var(--iq-line-2) !important;
    vertical-align: middle !important;
}
body table.dataTable tbody tr:nth-child(2n) td,
body .table.table-striped tbody tr:nth-of-type(2n) td { background-color: #fbfcfe !important; }
body table.dataTable tbody tr:hover td,
body .table tbody tr:hover td { background-color: #f2f7fe !important; }
body table.dataTable tbody tr:last-child td, body .table tbody tr:last-child td { border-bottom: 0 !important; }
body table.dataTable tbody tr.selected td { background-color: #e3efff !important; }
body table.dataTable tbody td a:not(.btn):not(.dropdown-item) { color: var(--iq-blue); font-weight: 600; }
body table.dataTable.no-footer { border-bottom: 1px solid var(--iq-line) !important; }
body table.dataTable thead .sorting::before, body table.dataTable thead .sorting::after { opacity: .25; }

/* DataTables controls */
body .dataTables_wrapper { color: var(--iq-text-2) !important; }
body .dataTables_wrapper .dataTables_length, body .dataTables_wrapper .dataTables_filter { margin-bottom: 14px !important; }
body .dataTables_wrapper .dataTables_length label, body .dataTables_wrapper .dataTables_filter label,
body .dataTables_wrapper .dataTables_info { color: var(--iq-text-2) !important; font-size: 13px !important; font-weight: 500; }
body .dataTables_wrapper .dataTables_filter input, body .dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--iq-line) !important; border-radius: 10px !important; background-color: #fff !important;
    height: 38px !important; padding: 6px 12px !important; color: var(--iq-text) !important; box-shadow: none !important; outline: none;
}
body .dataTables_wrapper .dataTables_filter input { min-width: 230px; padding-left: 34px !important;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238391a7' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 11px center !important; }
body .dataTables_wrapper .dataTables_filter input:focus, body .dataTables_wrapper .dataTables_length select:focus { border-color: #9cc0ef !important; box-shadow: 0 0 0 4px rgba(30, 111, 217, .10) !important; }
body .dataTables_wrapper .dataTables_paginate { padding-top: 14px !important; }
body .dataTables_wrapper .dataTables_paginate .paginate_button,
body .dataTables_wrapper .dataTables_paginate span .paginate_button {
    min-width: 36px !important; width: auto !important; height: 36px !important; line-height: 34px !important;
    padding: 0 10px !important; margin: 0 3px !important; border-radius: 10px !important;
    border: 1px solid var(--iq-line) !important; background: #fff !important; color: var(--iq-text-2) !important;
    font-size: 13px !important; font-weight: 600; box-shadow: none !important;
}
body .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
body .dataTables_wrapper .dataTables_paginate span .paginate_button:hover { background: var(--iq-blue-soft) !important; border-color: #c6dbf6 !important; color: var(--iq-blue) !important; }
body .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body .dataTables_wrapper .dataTables_paginate span .paginate_button.current,
body .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: var(--iq-blue) !important; border-color: var(--iq-blue) !important; color: #fff !important; box-shadow: 0 4px 10px rgba(30, 111, 217, .28) !important;
}
body .dataTables_wrapper .dataTables_paginate .paginate_button.disabled { opacity: .45; }
body .dataTables_wrapper .dataTables_paginate .paginate_button i, body .paginate_button .fa { padding: 0 !important; color: inherit !important; }
body .dt-buttons .dt-button, body button.dt-button {
    border: 1px solid var(--iq-line) !important; background: #fff !important; border-radius: 9px !important; color: var(--iq-text) !important;
    font-size: 12.5px !important; font-weight: 600; padding: 7px 12px !important; box-shadow: none !important;
}
body .dt-buttons .dt-button:hover { background: var(--iq-blue-soft) !important; color: var(--iq-blue) !important; border-color: #c6dbf6 !important; }

/* =====================================================================
   FORMS
   ===================================================================== */
body .form-control, body .form-select, body select.form-control, body .nice-select, body .tbl-input,
body .modal input[type="text"], body .modal input[type="date"], body .modal input[type="number"], body .modal input[type="email"], body .modal textarea {
    border: 1px solid #d8e0ea !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    color: var(--iq-text) !important;
    font-size: 13.5px !important;
    font-family: var(--iq-font) !important;
    box-shadow: none !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}
body .form-control, body .form-select, body select.form-control { min-height: 40px; padding: 8px 12px; }
body textarea.form-control { min-height: 80px; }
body .form-control:focus, body .form-select:focus, body .tbl-input:focus,
body .modal input:focus, body .modal textarea:focus {
    border-color: #8fb7ec !important; box-shadow: 0 0 0 4px rgba(30, 111, 217, .12) !important; outline: none !important;
}
body .form-control[readonly], body .form-control:disabled, body .tbl-input[readonly] { background-color: #f5f7fa !important; color: var(--iq-text-2) !important; }
body .form-control::placeholder { color: #a2adbd !important; }
body label, body .form-label, body .tbl-label { color: var(--iq-text-2); font-weight: 600 !important; font-size: 12.5px; }
body .form-check-input:checked { background-color: var(--iq-blue) !important; border-color: var(--iq-blue) !important; }
body .form-check-input:focus { box-shadow: 0 0 0 4px rgba(30, 111, 217, .15) !important; }

/* select2 */
body .select2-container--default .select2-selection--single,
body .select2-container--default .select2-selection--multiple {
    border: 1px solid #d8e0ea !important; border-radius: 10px !important; min-height: 40px !important; background: #fff !important;
}
body .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 38px !important; color: var(--iq-text) !important; padding-left: 12px !important; font-size: 13.5px; }
body .select2-container--default .select2-selection--single .select2-selection__arrow { height: 38px !important; right: 6px !important; }
body .select2-container--default.select2-container--focus .select2-selection--single,
body .select2-container--default.select2-container--open .select2-selection--single,
body .select2-container--default.select2-container--focus .select2-selection--multiple { border-color: #8fb7ec !important; box-shadow: 0 0 0 4px rgba(30, 111, 217, .12) !important; }
body .select2-dropdown { border: 1px solid var(--iq-line) !important; border-radius: 12px !important; box-shadow: var(--iq-shadow-lg) !important; overflow: hidden; }
body .select2-search--dropdown .select2-search__field { border: 1px solid #d8e0ea !important; border-radius: 8px !important; padding: 7px 10px !important; }
body .select2-container--default .select2-results__option--highlighted[aria-selected],
body .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--iq-blue) !important; color: #fff !important; }
body .select2-container--default .select2-results__option[aria-selected="true"],
body .select2-container--default .select2-results__option--selected { background: var(--iq-blue-soft) !important; color: var(--iq-blue) !important; }
body .select2-results__option { padding: 8px 12px !important; font-size: 13px; }

/* =====================================================================
   MODALS
   ===================================================================== */
body .modal-backdrop.show { opacity: .45 !important; background: #071a33 !important; }
body .modal-content { border: 0 !important; border-radius: 18px !important; box-shadow: 0 30px 80px rgba(7, 26, 51, .35) !important; overflow: hidden; }
body .modal-header {
    background: linear-gradient(135deg, #0b2547 0%, #1b4a7f 100%) !important;
    border-bottom: 0 !important; padding: 16px 22px !important;
}
body .modal-header .modal-title, body .modal-header h4, body .modal-header h5 { color: #ffffff !important; font-weight: 700 !important; font-size: 17px !important; }
body .modal-header .btn-close { filter: invert(1) grayscale(1) brightness(2); opacity: .8; }
body .modal-header .close, body .modal-header .close span { color: #fff !important; opacity: .85; text-shadow: none; }
body .modal-body { padding: 20px 22px !important; }
body .modal-footer { background: #f8fafc !important; border-top: 1px solid var(--iq-line-2) !important; padding: 12px 22px !important; }

/* =====================================================================
   BADGES / ALERTS / TOAST / SWEETALERT
   ===================================================================== */
body .badge { border-radius: 999px !important; font-weight: 700 !important; font-size: 11px !important; letter-spacing: .03em; padding: 5px 10px !important; }
body .badge.light.badge-primary, body .badge-primary.light { background: var(--iq-blue-soft) !important; color: var(--iq-blue) !important; }
body .badge.light.badge-success, body .badge-success.light { background: #e7f6ec !important; color: #15803d !important; }
body .badge.light.badge-danger, body .badge-danger.light { background: #fdecec !important; color: #b91c1c !important; }
body .badge.light.badge-warning, body .badge-warning.light { background: #fff4dc !important; color: #a16207 !important; }
body .badge.light.badge-info, body .badge-info.light { background: #e4f6fb !important; color: #0e7490 !important; }
body .badge.light.badge-secondary, body .badge-secondary.light { background: #eef2f7 !important; color: #475569 !important; }

body .alert { border-radius: 12px !important; border: 1px solid transparent !important; font-weight: 500; padding: 12px 16px !important; }
body .alert-success { background: #ecfdf3 !important; border-color: #bbf0cf !important; color: #166534 !important; }
body .alert-danger { background: #fef1f1 !important; border-color: #fbcaca !important; color: #991b1b !important; }
body .alert-warning { background: #fff8e6 !important; border-color: #fde4a6 !important; color: #92400e !important; }
body .alert-info { background: #eef6ff !important; border-color: #c7defb !important; color: #1e4f91 !important; }

body .swal2-popup { border-radius: 18px !important; font-family: var(--iq-font) !important; padding: 26px !important; }
body .swal2-styled.swal2-confirm { background: var(--iq-blue) !important; border-radius: 10px !important; box-shadow: none !important; }
body .swal2-styled.swal2-cancel { background: #eef2f7 !important; color: var(--iq-text) !important; border-radius: 10px !important; }
body .jq-toast-wrap .jq-toast-single { border-radius: 12px !important; box-shadow: var(--iq-shadow-lg) !important; font-family: var(--iq-font) !important; }

/* nav tabs used inside forms */
body .nav-tabs { border-bottom: 1px solid var(--iq-line) !important; gap: 4px; }
body .nav-tabs .nav-link { border: 0 !important; border-bottom: 2px solid transparent !important; color: var(--iq-text-2) !important; font-weight: 600; border-radius: 8px 8px 0 0 !important; padding: 10px 16px !important; }
body .nav-tabs .nav-link:hover { color: var(--iq-blue) !important; background: #f6f9fe !important; }
body .nav-tabs .nav-link.active { color: var(--iq-blue) !important; border-bottom-color: var(--iq-blue) !important; background: transparent !important; }

/* daterange / flatpickr */
body .daterangepicker { border-radius: 14px !important; border: 1px solid var(--iq-line) !important; box-shadow: var(--iq-shadow-lg) !important; font-family: var(--iq-font) !important; }
body .daterangepicker td.active, body .daterangepicker td.active:hover { background: var(--iq-blue) !important; }
body .flatpickr-calendar { border-radius: 14px !important; box-shadow: var(--iq-shadow-lg) !important; }
body .flatpickr-day.selected { background: var(--iq-blue) !important; border-color: var(--iq-blue) !important; }

/* =====================================================================
   LOGIN PAGE  (views/login.php)  - split screen
   ===================================================================== */
html body.iq-login-v2 { background: #f3f6fa !important; margin: 0; min-height: 100vh; }
.iq-login-v2 .iql-shell { display: grid; grid-template-columns: minmax(420px, 46%) 1fr; min-height: 100vh; }

/* brand side */
.iq-login-v2 .iql-brand {
    position: relative; overflow: hidden; color: #dbe6f5;
    display: flex; flex-direction: column; justify-content: space-between; padding: 44px 56px 36px;
    background:
        radial-gradient(900px 520px at -10% -10%, rgba(30, 111, 217, .45), transparent 60%),
        radial-gradient(700px 480px at 110% 110%, rgba(242, 183, 5, .16), transparent 60%),
        linear-gradient(160deg, #071a33 0%, #0b2547 55%, #12355f 100%);
}
.iq-login-v2 .iql-brand::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.iq-login-v2 .iql-brand::after {   /* faint target / inspection ring */
    content: ""; position: absolute; width: 520px; height: 520px; right: -170px; bottom: -150px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.07); box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 130px rgba(255,255,255,.018); pointer-events: none;
}
.iq-login-v2 .iql-brand > * { position: relative; z-index: 1; }
.iq-login-v2 .iql-logo { height: 70px; width: auto; }
.iq-login-v2 .iql-kicker { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f2b705; margin-bottom: 14px; }
.iq-login-v2 .iql-brand h1 { color: #ffffff !important; font-size: 34px; line-height: 1.18; font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; max-width: 470px; }
.iq-login-v2 .iql-brand-mid p { color: #b9c8dd; font-size: 15px; line-height: 1.6; max-width: 440px; margin: 0 0 28px; }
.iq-login-v2 .iql-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 450px; }
.iq-login-v2 .iql-points li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 14px; border-radius: 14px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.07); }
.iq-login-v2 .iql-pi { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(30,111,217,.28); color: #cfe2ff; }
.iq-login-v2 .iql-points b { display: block; color: #ffffff; font-size: 14px; font-weight: 650; margin-bottom: 2px; }
.iq-login-v2 .iql-points small { color: #9fb2cc; font-size: 12.5px; }
.iq-login-v2 .iql-brand-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #8aa0bf; }
.iq-login-v2 .iql-verify { display: inline-flex; align-items: center; gap: 8px; color: #ffffff !important; font-weight: 600; font-size: 13px; text-decoration: none;
    padding: 9px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.iq-login-v2 .iql-verify:hover { background: rgba(255,255,255,.12); }

/* form side */
.iq-login-v2 .iql-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px 24px; }
.iq-login-v2 .iql-card { width: 100%; max-width: 410px; }
.iq-login-v2 .iql-logo-sm { height: 64px; width: auto; display: block; margin-bottom: 26px; }
.iq-login-v2 .iql-card h2 { font-size: 28px !important; font-weight: 800 !important; color: #0b2547 !important; margin: 0 0 6px; letter-spacing: -.02em; }
.iq-login-v2 .iql-sub { color: #64748b; font-size: 14.5px; margin: 0 0 28px; }
.iq-login-v2 .iql-field { margin-bottom: 18px; }
.iq-login-v2 .iql-field label { display: block; font-size: 13px !important; font-weight: 600 !important; color: #334155 !important; margin-bottom: 7px; }
.iq-login-v2 .iql-input { position: relative; }
.iq-login-v2 .iql-ic { position: absolute; left: 14px; top: 15px; color: #8391a7; pointer-events: none; z-index: 2; }
.iq-login-v2 .iql-input .form-control { height: 50px !important; border-radius: 12px !important; padding-left: 44px !important; font-size: 14.5px !important; background: #ffffff !important; border: 1px solid #d5deea !important; }
.iq-login-v2 .iql-input .form-control:focus { border-color: #1e6fd9 !important; box-shadow: 0 0 0 4px rgba(30,111,217,.14) !important; }
.iq-login-v2 .iql-input:focus-within .iql-ic { color: #1e6fd9; }
.iq-login-v2 #password { padding-right: 48px !important; }
.iq-login-v2 .iql-eye { position: absolute; right: 8px; top: 8px; width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: #8391a7; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; opacity: 1 !important; }
.iq-login-v2 .iql-eye:hover { background: #eef3fa; color: #1e6fd9; }
.iq-login-v2 .iql-submit { width: 100%; height: 52px; margin-top: 8px; font-size: 15px !important; border-radius: 12px !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; }
.iq-login-v2 .iql-submit svg { transition: transform .2s ease; }
.iq-login-v2 .iql-submit:hover svg { transform: translateX(3px); }
.iq-login-v2 .errors, .iq-login-v2 span.error { display: block; color: #dc2626 !important; font-size: 12px; font-weight: 600; margin-top: 6px; }
.iq-login-v2 label.errors { margin: 6px 0 0 !important; }
.iq-login-v2 .iql-help { margin-top: 22px; font-size: 13px; color: #64748b; text-align: center; padding-top: 18px; border-top: 1px solid #e6ebf2; }
.iq-login-v2 .iql-help a { color: #1e6fd9; font-weight: 600; }
.iq-login-v2 .iql-copy { margin-top: auto; padding-top: 30px; font-size: 12px; color: #94a3b8; text-align: center; }
@media (max-width: 991px) {
    .iq-login-v2 .iql-shell { grid-template-columns: 1fr; }
    .iq-login-v2 .iql-brand { display: none; }
    .iq-login-v2 .iql-panel { min-height: 100vh; background: radial-gradient(700px 400px at 50% -10%, rgba(30,111,217,.12), transparent 70%), #f3f6fa; }
    .iq-login-v2 .iql-card { background: #fff; padding: 30px 24px; border-radius: 18px; border: 1px solid #e4e9f0; box-shadow: 0 20px 50px rgba(15,35,70,.10); }
    .iq-login-v2 .iql-logo-sm { margin: 0 auto 20px; }
    .iq-login-v2 .iql-card h2, .iq-login-v2 .iql-sub { text-align: center; }
}
@media (min-width: 992px) { .iq-login-v2 .iql-logo-sm { display: none; } }

/* =====================================================================
   MENU MANAGER PAGE  (Master > Menu)
   ===================================================================== */
body .mnl-sort-handle { cursor: grab; color: #a3b0c2; padding: 4px 6px; border-radius: 6px; display: inline-flex; }
body .mnl-sort-handle:hover { background: #eef2f7; color: var(--iq-blue); }
body tr.mnl-dragging td { background: #eaf2ff !important; box-shadow: inset 0 0 0 1px #b9d2f3; }
body tr.mnl-drop-before td { box-shadow: inset 0 2px 0 var(--iq-blue) !important; }
body tr.mnl-drop-after td { box-shadow: inset 0 -2px 0 var(--iq-blue) !important; }

/* ---- DataTables layout fixes (scrollX tables used on most list pages) ---- */
body .dataTables_wrapper .dataTables_length { float: left !important; }
body .dataTables_wrapper .dataTables_filter { float: right !important; text-align: right !important; }
body .dataTables_wrapper .dataTables_filter label { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
body .dataTables_wrapper .dataTables_filter input { margin-left: 0 !important; }
body .dataTables_wrapper .dataTables_info { float: left; padding-top: 20px !important; }
body .dataTables_wrapper .dataTables_paginate { float: right; }
body .dataTables_wrapper::after { content: ""; display: block; clear: both; }
@media (max-width: 767px) {
    body .dataTables_wrapper .dataTables_length, body .dataTables_wrapper .dataTables_filter,
    body .dataTables_wrapper .dataTables_info, body .dataTables_wrapper .dataTables_paginate { float: none !important; text-align: left !important; }
    body .dataTables_wrapper .dataTables_filter input { min-width: 0; width: 100%; }
}
/* the hidden sizing header DataTables keeps inside the scrolling body must stay 0px tall */
body .dataTables_scrollBody table.dataTable thead th, body .dataTables_scrollBody table.dataTable thead td,
body .dataTables_scrollBody table.dataTable thead tr, body .dataTables_scrollBody table thead th {
    padding-top: 0 !important; padding-bottom: 0 !important; height: 0 !important; line-height: 0 !important;
    border: 0 !important; background: transparent !important; overflow: hidden;
}
body .dataTables_scrollBody table thead th *, body .dataTables_scrollBody table thead td * { display: none !important; }
/* one frame around head + body instead of two boxed tables */
body .dataTables_scroll { border: 1px solid var(--iq-line); border-radius: 12px; overflow: hidden; background: #fff; }
body .dataTables_scroll table.dataTable { border: 0 !important; border-radius: 0 !important; margin: 0 !important; }
body .dataTables_scrollHead { background: #f4f7fb; }
body .dataTables_scrollHead table.dataTable thead th { border-bottom: 1px solid var(--iq-line) !important; }
body .table-bottom-only thead th { border-bottom: 1px solid var(--iq-line) !important; }

/* =====================================================================
   27-Nov-2026 (v2)  MODAL FORMS - every page
   ===================================================================== */
/* header + Save bar stay visible while a long form scrolls */
body .modal-content { overflow: clip !important; }
body .modal .modal-content > form > .modal-header,
body .modal .modal-content > .modal-header { position: sticky; top: 0; z-index: 20; }
body .modal .modal-content > form > .modal-footer,
body .modal .modal-content > .modal-footer { position: sticky; bottom: 0; z-index: 20; box-shadow: 0 -8px 20px rgba(15, 35, 70, .06); }
body .modal-dialog { margin-top: 1.6rem; margin-bottom: 1.6rem; }
@media (min-width: 1200px) { body .modal-xl { max-width: 1240px; } }
body .modal.fade .modal-dialog { transform: translateY(14px) scale(.985); transition: transform .22s ease-out, opacity .22s ease-out; }
body .modal.show .modal-dialog { transform: none; }

/* every header colour variant used in the modules -> one look */
body .modal-header.bg-primary, body .modal-header.bg-success, body .modal-header.bg-dark,
body .modal-header.bg-danger, body .modal-header.bg-info, body .modal-header.bg-warning {
    background: linear-gradient(135deg, #0b2547 0%, #1b4a7f 100%) !important;
}
body .modal-header { min-height: 62px; align-items: center; }
body .modal-header .modal-title { display: flex; align-items: center; gap: 10px; letter-spacing: -.005em; }
body .modal-header .modal-title::before {
    content: ""; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: rgba(255,255,255,.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E") no-repeat center;
}
body .modal-header .btn-close { width: 34px; height: 34px; padding: 0 !important; border-radius: 10px; background-color: rgba(255,255,255,.10); background-size: 12px; opacity: 1; filter: invert(1) grayscale(1) brightness(2); }
body .modal-header .btn-close:hover { background-color: rgba(255,255,255,.22); }
body .modal-body { background: #f7f9fc !important; color: var(--iq-text); }
body .modal-body > .row, body .modal-body > form > .row { background: #fff; border: 1px solid var(--iq-line); border-radius: 14px; padding: 18px 10px 4px; margin: 0 0 14px; }
body .modal-footer { gap: 8px; }
body .modal-footer .btn { min-width: 96px; }
body .modal-footer .btn-danger.light, body .modal-footer .modalCloseBtn, body .modal-footer [data-bs-dismiss="modal"].btn-danger {
    background: #ffffff !important; border: 1px solid var(--iq-line) !important; color: var(--iq-text) !important; box-shadow: none !important;
}
body .modal-footer .btn-danger.light:hover, body .modal-footer .modalCloseBtn:hover { background: #f1f5f9 !important; }

/* bootstrap grid forms (master pages) */
body .modal .col-form-label, body .modal .form-group > label, body .modal .form-label {
    font-size: 12px !important; font-weight: 700 !important; color: #475569 !important; letter-spacing: .02em; padding-top: 0 !important; margin-bottom: 6px !important;
}
body .modal .form-group.mb-4 { margin-bottom: 1.1rem !important; }
body .modal .h-60, body .modal select.h-60 { height: 42px !important; min-height: 42px !important; }
body .modal input[type="file"].form-control { padding: 6px !important; height: auto !important; }
body .modal input[type="file"]::file-selector-button, body form input[type="file"]::file-selector-button {
    border: 0; border-radius: 8px; background: #e8f1fd; color: #1e6fd9; font-weight: 700; padding: 7px 12px; margin-right: 10px; cursor: pointer;
}
/* required star */
body .modal label .text-danger, body .modal .req { color: #dc2626 !important; }

/* ---------- form layout tables  (<table border="1" class="tble"> grids used by the certificate forms) ---------- */
body form table.tble:not(.dataTable), body form table.tblee:not(.dataTable), body form table[border="1"]:not(.dataTable),
body .modal table.tble, body .modal table[border="1"] {
    border-collapse: separate !important; border-spacing: 0 !important;
    border: 1px solid #dfe6ef !important; border-radius: 12px !important; overflow: hidden;
    background: #ffffff !important; margin-bottom: 14px !important; width: 100%;
    box-shadow: 0 1px 2px rgba(15,35,70,.03);
}
body form table.tble > tbody > tr > td, body form table.tble > tbody > tr > th, body form table.tble > tr > td,
body form table.tblee > tbody > tr > td, body form table.tblee > tbody > tr > th,
body form table[border="1"]:not(.dataTable) > tbody > tr > td, body form table[border="1"]:not(.dataTable) > tbody > tr > th,
body form table[border="1"]:not(.dataTable) > thead > tr > th,
body .modal table.tble > tbody > tr > td, body .modal table[border="1"] > tbody > tr > td {
    border-color: #e7ecf3 !important; border-width: 0 1px 1px 0 !important; border-style: solid !important;
    padding: 10px 12px !important; vertical-align: top; color: var(--iq-text); background-color: transparent;
}
body form table.tble > tbody > tr > td:last-child, body form table[border="1"]:not(.dataTable) > tbody > tr > td:last-child { border-right-width: 0 !important; }
body form table.tble > tbody > tr:last-child > td, body form table[border="1"]:not(.dataTable) > tbody > tr:last-child > td { border-bottom-width: 0 !important; }
/* nested grid inside a cell: soft inner frame instead of double black lines */
body form table.tble table.tble, body form table[border="1"] table[border="1"] { box-shadow: none; margin-bottom: 0 !important; border-radius: 10px !important; }
/* labels inside the grid */
body form table.tble td > label, body form table.tble td > .tbl-label, body form table.tble td > span[style*="bold"],
body form table.tble td > b, body form table.tble td > strong,
body form table[border="1"] td > label, body form table[border="1"] td > .form-label, body form table[border="1"] td > span[style*="bold"], body form table[border="1"] td > b {
    display: inline-block; font-size: 11.5px !important; font-weight: 700 !important; color: #5a6a82 !important;
    letter-spacing: .03em; margin-bottom: 6px !important; line-height: 1.3;
}
/* section headings that sit in a full-width row (e.g. INSPECTION REPORT, Load Test Detail) */
body form table.tble th, body form table[border="1"]:not(.dataTable) th {
    background: #f4f7fb !important; color: #334155 !important; font-size: 12px !important; font-weight: 700 !important; text-transform: none; letter-spacing: .02em;
}
body form table.tble td[colspan] > u, body form table.tble td[colspan] > b > u, body form table.tble td[style*="center"] > b, body form table.tble td[align="center"] > b {
    text-decoration: none; color: #0b2547 !important; font-size: 15px !important; letter-spacing: .06em;
}
/* inputs in the grid */
body form table.tble input[type="text"], body form table.tble input[type="date"], body form table.tble input[type="number"], body form table.tble input[type="email"],
body form table.tble select, body form table.tble textarea,
body form table[border="1"] input[type="text"], body form table[border="1"] input[type="date"], body form table[border="1"] input[type="number"],
body form table[border="1"] select:not(.select2-hidden-accessible), body form table[border="1"] textarea {
    width: 100%; min-height: 38px; border: 1px solid #d8e0ea !important; border-radius: 9px !important; background-color: #ffffff !important;
    padding: 7px 10px !important; font-size: 13px !important; color: var(--iq-text) !important; box-shadow: none !important; outline: none;
}
body form table.tble input:focus, body form table.tble select:focus, body form table.tble textarea:focus,
body form table[border="1"] input:focus, body form table[border="1"] select:focus, body form table[border="1"] textarea:focus {
    border-color: #8fb7ec !important; box-shadow: 0 0 0 4px rgba(30,111,217,.12) !important;
}
body form table.tble input[readonly], body form table[border="1"] input[readonly] { background-color: #f5f7fa !important; color: #64748b !important; }
body form table.tble input[type="checkbox"], body form table.tble input[type="radio"],
body form table[border="1"] input[type="checkbox"], body form table[border="1"] input[type="radio"] { width: auto; min-height: 0; }
body form .input-group-text { background: #f1f5f9 !important; border: 1px solid #d8e0ea !important; color: #64748b !important; font-weight: 700; font-size: 12px; }
body form hr { border-color: #e4e9f0 !important; opacity: 1; margin: 18px 0 !important; }
/* radios / checkboxes everywhere */
body input[type="checkbox"], body input[type="radio"] { accent-color: var(--iq-blue); }

/* =====================================================================
   27-Nov-2026 (v2)  DATATABLES - latest look
   ===================================================================== */
/* toolbar row above every list */
body .dataTables_wrapper .dataTables_length, body .dataTables_wrapper .dataTables_filter { padding-top: 2px; }
body .dataTables_wrapper .dataTables_length select {
    -webkit-appearance: none; appearance: none; padding-right: 30px !important; min-width: 74px; font-weight: 600;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center !important;
}
/* header: sortable columns */
body table.dataTable thead th.sorting, body table.dataTable thead th.sorting_asc, body table.dataTable thead th.sorting_desc { cursor: pointer; padding-right: 26px !important; }
body table.dataTable thead th.sorting_asc, body table.dataTable thead th.sorting_desc { color: #1e6fd9 !important; background-color: #eef4fd !important; }
body table.dataTable thead .sorting, body table.dataTable thead .sorting_asc, body table.dataTable thead .sorting_desc { background-image: none !important; }
body table.dataTable thead > tr > th.sorting::before, body table.dataTable thead > tr > th.sorting::after,
body table.dataTable thead > tr > th.sorting_asc::before, body table.dataTable thead > tr > th.sorting_asc::after,
body table.dataTable thead > tr > th.sorting_desc::before, body table.dataTable thead > tr > th.sorting_desc::after {
    right: 10px !important; font-size: 9px !important; line-height: 9px !important; opacity: .28 !important;
}
body table.dataTable thead > tr > th.sorting_asc::before, body table.dataTable thead > tr > th.sorting_desc::after { opacity: 1 !important; color: #1e6fd9; }
/* rows */
body table.dataTable tbody tr { transition: background-color .12s ease; }
body table.dataTable tbody tr td:first-child { position: relative; }
body table.dataTable tbody tr:hover td:first-child::before {
    content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--iq-blue);
}
body table.dataTable tbody td { line-height: 1.45; }
body table.dataTable tbody td.dataTables_empty {
    padding: 46px 16px !important; text-align: center; color: #8391a7 !important; font-size: 13.5px !important; background: #fff !important;
}
body table.dataTable tbody td.dataTables_empty::before {
    content: ""; display: block; width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 12px; background: #eef2f7
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%238391a7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.5 5h13L22 12v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-6z'/%3E%3C/svg%3E") no-repeat center;
}
/* status chips that the modules print with inline colours -> rounded pills */
body table.dataTable tbody td span[style*="background"][style*="padding"],
body table.dataTable tbody td .badge {
    border-radius: 999px !important; padding: 4px 11px !important; font-size: 11px !important; font-weight: 700 !important; letter-spacing: .04em; display: inline-block; line-height: 1.4;
}
/* row action menu (the ⋮ button) - light card instead of black */
body .action-menu { background: #ffffff !important; min-width: 170px; padding: 6px !important; }
body .action-menu a, body .action-menu .dropdown-item { color: var(--iq-text) !important; border-radius: 8px; padding: 8px 12px !important; font-size: 13px !important; display: block; }
body .action-menu a:hover, body .action-menu .dropdown-item:hover { background: #e8f1fd !important; color: #1e6fd9 !important; }
body .action-menu a.text-danger, body .action-menu .text-danger { color: #dc2626 !important; }
body .action-menu a.text-danger:hover { background: #fdecec !important; }
/* processing overlay */
body .dataTables_wrapper .dataTables_processing {
    background: rgba(255,255,255,.96) !important; border: 1px solid var(--iq-line) !important; border-radius: 14px !important;
    box-shadow: var(--iq-shadow-lg) !important; color: var(--iq-text-2) !important; font-weight: 600; z-index: 30; padding: 14px 18px !important;
}
body .dataTables_wrapper .dataTables_processing > div:last-child > div { background: var(--iq-blue) !important; }
/* info + pagination footer */
body .dataTables_wrapper .dataTables_info { color: #64748b !important; font-size: 12.5px !important; }
body .dataTables_wrapper .dataTables_paginate .paginate_button.previous, body .dataTables_wrapper .dataTables_paginate .paginate_button.next { padding: 0 14px !important; }
body .dataTables_wrapper .dataTables_paginate .ellipsis { color: #94a3b8; padding: 0 6px; }
/* export buttons row */
body .dt-buttons { display: inline-flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
/* horizontal scroll bar under wide tables */
body .dataTables_scrollBody::-webkit-scrollbar { height: 10px; }
body .dataTables_scrollBody { border-top: 0; }
/* plain .table used on report pages */
body .table.table-bordered td, body .table.table-bordered th { border-color: var(--iq-line-2) !important; }
/* v2 fixes: input groups stay on one line; one control height everywhere */
body form table .input-group { flex-wrap: nowrap !important; }
body form table .input-group > input, body form table .input-group > select, body .input-group > .form-control {
    width: 1% !important; flex: 1 1 auto !important; min-width: 0;
}
body .input-group > :not(:first-child) { margin-left: -1px; }
body .input-group > .input-group-text, body .input-group > span[style*="OR"], body form table .input-group > span { flex: 0 0 auto; display: inline-flex; align-items: center; }
body .input-group > :not(:last-child):not(.dropdown-menu) { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
body .input-group > :not(:first-child) { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
body .form-control:not(textarea):not([type="file"]):not([multiple]), body select.form-select:not([multiple]) { height: 42px !important; min-height: 42px !important; }
body .modal .h-60 { height: 42px !important; }
/* checklist block in the certificate forms (inline CSS uses black frames) */
body .inspection-header { background: #f4f7fb !important; border: 1px solid #dfe6ef !important; border-bottom: 0 !important; border-radius: 12px 12px 0 0 !important; color: #0b2547 !important; }
body .inspection-header h4 { color: #0b2547 !important; letter-spacing: .06em; }
body #inspectionTabs { border-left: 1px solid #dfe6ef !important; border-right: 1px solid #dfe6ef !important; margin-top: 0 !important; background: #fff; padding: 6px 8px 0; }
body #inspectionTabs .nav-link.active, body #inspectionTabs #equip-tab.active, body #inspectionTabs #load-tab.active { border-left: 0 !important; border-right: 0 !important; }
body #inspectionTabsContent { border: 1px solid #dfe6ef !important; border-top: 1px solid #e7ecf3 !important; border-radius: 0 0 12px 12px !important; background: #fff !important; }
.iq-login-v2 .iql-card { margin-top: auto; }
.iq-login-v2 .iql-copy { margin-top: auto; }
body .dataTables_wrapper .dataTables_paginate, body .paging_simple_numbers.dataTables_paginate, body .dataTables_paginate.paging_full_numbers { background: transparent !important; border-radius: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
body .dataTables_wrapper .dataTables_paginate .paginate_button, body .dataTables_wrapper .dataTables_paginate span .paginate_button {
    display: inline-flex !important; align-items: center; justify-content: center; vertical-align: middle; text-decoration: none !important;
}
body .dataTables_wrapper .dataTables_paginate > span { display: inline-flex; gap: 0; vertical-align: middle; }
/* page already prints its own empty-state icon -> skip ours */
body table.dataTable tbody td.dataTables_empty:has(i, svg, img)::before { display: none; }

/* =====================================================================
   27-Nov-2026 (v3)  TOP BAR with background + sidebar toggle (☰) fixes
   ===================================================================== */
body .header {
    background: linear-gradient(90deg, #0b2547 0%, #12355f 55%, #1b4a7f 100%) !important;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    box-shadow: 0 6px 22px rgba(7, 26, 51, .20) !important;
    border-bottom: 0 !important;
}
body .header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none;
    background: linear-gradient(90deg, rgba(242,183,5,.9) 0%, rgba(242,183,5,.25) 35%, transparent 70%); }
body .header .dashboard_bar { color: #ffffff !important; }
/* search on the dark bar */
body .header .search-area { background: rgba(255,255,255,.09) !important; border: 1px solid rgba(255,255,255,.16) !important; }
body .header .search-area:focus-within { background: rgba(255,255,255,.15) !important; border-color: rgba(255,255,255,.35) !important; box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
body .header .search-area .form-control { color: #ffffff !important; }
body .header .search-area .form-control::placeholder { color: rgba(255,255,255,.62) !important; }
body .header .search-area .input-group-text a, body .header .search-area .input-group-text i { color: rgba(255,255,255,.85) !important; }
/* profile pill on the dark bar */
body .profile-nav .profile-toggle { background: rgba(255,255,255,.08) !important; border: 1px solid rgba(255,255,255,.18) !important; box-shadow: none !important; }
body .profile-nav .profile-toggle:hover, body .profile-nav.show .profile-toggle { background: rgba(255,255,255,.15) !important; border-color: rgba(255,255,255,.32) !important; box-shadow: 0 8px 20px rgba(0,0,0,.18) !important; }
body .profile-name { color: #ffffff !important; }
body .profile-email { color: #b9c8dd !important; }
body .profile-arrow { color: #dbe6f5 !important; }
body .profile-img { box-shadow: 0 0 0 2px rgba(255,255,255,.35) !important; }

/* logo leaves room for the ☰ button (it used to sit on top of the logo) */
body .nav-header .brand-logo { justify-content: flex-start !important; padding: 14px 76px 14px 24px !important; }
body .nav-header .brand-logo img { max-height: 70px; max-width: 100% !important; }
/* the ☰ button: clear, clickable, visible open AND folded (folded it sits on the top bar) */
body .nav-header .nav-control {
    z-index: 30 !important; cursor: pointer; width: 44px; height: 44px; border-radius: 12px;
    display: flex !important; align-items: center; justify-content: center; top: 50% !important; transform: translateY(-50%);
    right: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background .15s ease;
}
body .nav-header .nav-control:hover { background: rgba(255,255,255,.16); }
body .nav-header .hamburger { width: 22px !important; height: 18px !important; margin: 0 !important; left: 0 !important; top: 0 !important; display: inline-block; position: relative; }
body .nav-header .hamburger .line { background: #ffffff !important; height: 2px !important; border-radius: 2px; display: block; margin: 0 0 6px 0 !important; transition: transform .2s ease, width .2s ease, opacity .2s ease; }
body .nav-header .hamburger .line:nth-child(1) { width: 22px !important; }
body .nav-header .hamburger .line:nth-child(2) { width: 16px !important; }
body .nav-header .hamburger .line:nth-child(3) { width: 22px !important; margin-bottom: 0 !important; }
body .nav-header .hamburger:hover .line { width: 22px !important; }
/* folded: logo icon centred, button floats on the top bar next to the sidebar */
#main-wrapper.menu-toggle .nav-header .brand-logo { padding: 14px 8px !important; justify-content: center !important; }
#main-wrapper.menu-toggle .nav-header .nav-control { right: -62px !important; }
#main-wrapper.menu-toggle .nav-header .hamburger .line:nth-child(2) { width: 22px !important; }
@media (max-width: 767px) {
    body .nav-header .brand-logo { padding: 10px 8px !important; justify-content: center !important; }
    body .nav-header .nav-control { right: -56px !important; }
}
/* keep three clean lines (template morphs them into a broken arrow when folded) */
body .nav-header .hamburger.is-active .line { transform: none !important; opacity: 1 !important; }
body .nav-header .hamburger.is-active .line:nth-child(2) { width: 22px !important; }
@media (max-width: 767px) { body .header .header-content { padding-left: 72px !important; } }

/* =====================================================================
   27-Nov-2026 (v4)  MODAL FORMS - "unified" style
   (navy title bar + subtitle, numbered white section cards, bold labels,
    red * on required fields, tall inputs, Cancel outline + navy Save pill)
   Subtitle / * / footer note are added by assets/js/iq-premium.js
   ===================================================================== */
body .modal-content { border-radius: 22px !important; }
body .modal-header, body .modal-header.bg-primary, body .modal-header.bg-success, body .modal-header.bg-dark, body .modal-header.bg-danger {
    background: radial-gradient(600px 220px at 85% -60%, rgba(56, 116, 196, .35), transparent 65%), linear-gradient(135deg, #0a1f3c 0%, #0d2a50 60%, #12345f 100%) !important;
    padding: 22px 28px !important; min-height: 98px;
}
body .modal-header .modal-title, body .modal-header h4.modal-title, body .modal-header h5.modal-title {
    font-family: "Manrope", var(--iq-font) !important; font-weight: 800 !important; font-size: 23px !important;
    color: #ffffff !important; letter-spacing: -.01em; gap: 16px !important; line-height: 1.2;
}
body .modal-header .modal-title::before {
    width: 52px !important; height: 52px !important; flex: 0 0 52px !important; border-radius: 14px !important;
    background-color: rgba(255,255,255,.07) !important; border: 1px solid rgba(255,255,255,.22); background-size: 22px !important;
}
body .modal-header .iqf-tt { display: flex; flex-direction: column; gap: 5px; }
body .modal-header .iqf-sub {
    font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace !important; font-size: 11.5px; font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase; color: #b9c8dd;
}
body .modal-header .btn-close, body .modal-header .close {
    width: 48px !important; height: 48px !important; border-radius: 50% !important; padding: 0 !important; opacity: 1 !important;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") no-repeat center !important;
    border: 2px solid rgba(255,255,255,.75) !important; filter: none !important; box-shadow: none !important; margin: 0 0 0 auto !important;
    transition: background-color .15s ease, transform .15s ease;
}
body .modal-header .btn-close:hover, body .modal-header .close:hover { background-color: rgba(255,255,255,.12) !important; transform: rotate(90deg); }
body .modal-header .close > span { display: none; }

body .modal-body { background: #f2f4f8 !important; padding: 24px 28px !important; }

/* section cards: grid forms (.row), table forms (top-level tables), Menu form (.mn-card), checklist block */
body .modal-body > .row, body .modal-body > form > .row, body .modal-body .mn-card,
body .modal-body > table.tble, body .modal-body > table[border], body .modal-body > form > table.tble {
    background: #ffffff !important; border: 1px solid #e3e8ef !important; border-radius: 18px !important;
    padding: 22px 22px 8px !important; margin: 0 0 18px !important; box-shadow: none !important;
}
body .modal-body > table.tble, body .modal-body > table[border], body .modal-body > form > table.tble { padding: 10px !important; }

/* numbered section titles  (1 Company details, 2 Logo ...) */
body .modal-body { counter-reset: iqfsec; }
body .modal-body .mn-card-title, body .modal-body .iqf-sec-title {
    counter-increment: iqfsec; display: flex !important; align-items: center; gap: 12px;
    font-family: "Manrope", var(--iq-font) !important; font-size: 17px !important; font-weight: 800 !important;
    color: #0f2340 !important; text-transform: none !important; letter-spacing: -.005em !important; margin-bottom: 18px !important;
}
body .modal-body .mn-card-title::before, body .modal-body .iqf-sec-title::before {
    content: counter(iqfsec) !important; width: 30px !important; height: 30px !important; flex: 0 0 30px; border-radius: 8px !important;
    background: #0b2547 !important; color: #fff; font-size: 13.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
body .modal-body .iqf-sec-title small { margin-left: auto; font-family: var(--iq-font); font-size: 13px; font-weight: 500; color: #8391a7; }

/* labels */
body .modal .col-form-label, body .modal .form-group > label, body .modal .form-label, body .modal label.mn-label, body .modal .tbl-label,
body .modal form table td > label, body .modal form table td > span[style*="bold"], body .modal form table td > b, body .modal form table td > strong,
body form table.tble td > label, body form table.tble td > .tbl-label, body form table.tble td > span[style*="bold"], body form table.tble td > b {
    font-family: var(--iq-font) !important; font-size: 13.5px !important; font-weight: 650 !important; color: #1f2a3c !important;
    letter-spacing: 0 !important; text-transform: none !important; margin-bottom: 8px !important;
}
body .iqf-req { color: #e11d48; font-weight: 700; margin-left: 4px; }

/* inputs: taller, softer */
body .modal .form-control:not(textarea):not([type="file"]):not([multiple]), body .modal select.form-select:not([multiple]),
body .modal form table input[type="text"], body .modal form table input[type="date"], body .modal form table input[type="number"],
body .modal form table input[type="email"], body .modal form table select:not(.select2-hidden-accessible),
body .modal .select2-container--default .select2-selection--single {
    height: 50px !important; min-height: 50px !important; border-radius: 12px !important; border: 1px solid #dde3ec !important; font-size: 14.5px !important; padding-left: 16px !important;
}
body .modal .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 48px !important; padding-left: 16px !important; font-size: 14.5px; }
body .modal .select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px !important; right: 10px !important; }
body .modal textarea, body .modal textarea.form-control { border-radius: 12px !important; border: 1px solid #dde3ec !important; padding: 12px 16px !important; font-size: 14.5px !important; min-height: 110px; }
body .modal .form-control::placeholder, body .modal input::placeholder, body .modal textarea::placeholder { color: #98a3b6 !important; }
body .modal .form-control:focus, body .modal input:focus, body .modal select:focus, body .modal textarea:focus,
body .modal .select2-container--focus .select2-selection--single, body .modal .select2-container--open .select2-selection--single {
    border-color: #0b2547 !important; box-shadow: 0 0 0 4px rgba(11, 37, 71, .10) !important;
}
body .modal .form-group.mb-4 { margin-bottom: 1.25rem !important; }

/* table-based forms: fields floating in a white card (no grid lines) - tables with <th> (checklists, load tests) keep their lines */
body .modal form table.tble:not(:has(th)), body .modal form table[border="1"]:not(.dataTable):not(:has(th)) { border-color: #e3e8ef !important; }
body .modal form table.tble:not(:has(th)) > tbody > tr > td, body .modal form table[border="1"]:not(.dataTable):not(:has(th)) > tbody > tr > td {
    border-color: transparent !important; padding: 10px 12px !important;
}

/* footer: note on the left, Cancel outline + navy Save pill on the right */
body .modal-footer { background: #ffffff !important; border-top: 1px solid #e6eaf0 !important; padding: 16px 28px !important; box-shadow: 0 -10px 24px rgba(15,35,70,.06) !important; }
body .modal-footer .iqf-hint { margin-right: auto; font-size: 13.5px; color: #5b6880; display: inline-flex; align-items: center; gap: 4px; }
body .modal-footer .iqf-hint b { color: #e11d48; }
body .modal-footer .btn { border-radius: 999px !important; padding: 12px 24px !important; font-size: 14.5px !important; font-weight: 700 !important; min-width: 110px; }
body .modal-footer [data-bs-dismiss="modal"], body .modal-footer .modalCloseBtn, body .modal-footer .btn-light, body .modal-footer .btn-secondary, body .modal-footer .btn-danger.light {
    background: #ffffff !important; border: 1.5px solid #dfe4ec !important; color: #0f2340 !important; box-shadow: none !important;
}
body .modal-footer [data-bs-dismiss="modal"]:hover, body .modal-footer .modalCloseBtn:hover { background: #f4f6fa !important; border-color: #c9d1dd !important; }
body .modal-footer .btn-primary, body .modal-footer button[type="submit"]:not(.btn-danger):not(.btn-success), body .modal-footer .subbtn {
    background: linear-gradient(135deg, #0b2547 0%, #163e6e 100%) !important; border: 0 !important; color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(11, 37, 71, .25) !important;
}
body .modal-footer .btn-primary:hover, body .modal-footer .subbtn:hover { filter: brightness(1.12); }

/* Menu form (it was the unified-style form already) - align with the rest */
body .mn-form .mn-card { padding: 22px 22px 8px !important; }
body .mn-form .mn-seg span { border-radius: 12px !important; padding: 12px 10px !important; font-weight: 600 !important; }
body .mn-form .mn-seg input:checked + span { background: #0b2547 !important; border-color: #0b2547 !important; }
body .mn-form .mn-toggle { border-radius: 14px !important; }
body .mn-form .mn-toggle.on { border-color: #0b2547 !important; background: #f3f6fb !important; }
body .mn-form .mn-badge { display: none; }

/* =====================================================================
   27-Nov-2026 (v4)  TABLES - same family as the unified forms
   ===================================================================== */
body .card-body table.dataTable thead th, body .dataTables_scrollHead table.dataTable thead th {
    background: #f4f6fa !important; color: #1f2a3c !important; font-size: 11.5px !important; font-weight: 800 !important; letter-spacing: .07em;
    padding-top: 15px !important; padding-bottom: 15px !important;
}
body table.dataTable tbody tr td, body .table tbody tr td { padding-top: 14px !important; padding-bottom: 14px !important; font-size: 13.5px !important; }
body table.dataTable tbody tr td:nth-child(-n+4) { color: #0f2340 !important; }
body .dataTables_scroll, body table.dataTable:not(.dataTables_scroll table) { border-radius: 16px !important; }
body .action-btn, body .btn.sharp, body .tp-btn-light.sharp { border-radius: 12px !important; }
/* page header "Add ..." buttons: navy like unified Save */
body .card-header .btn-primary, body .card-header .btn-suc, body .btn.add-workorder-btn {
    background: linear-gradient(135deg, #0b2547 0%, #163e6e 100%) !important; box-shadow: 0 10px 22px rgba(11,37,71,.22) !important; border-radius: 999px !important; padding: 11px 22px !important;
}
/* v4 fixes */
html body .iqf-req { display: inline !important; position: static !important; }
html body .modal form table td > label, html body .modal form table td > .form-label, html body .modal form table td > .tbl-label,
html body .modal form table td > span[style*="bold"], html body .modal form table td > b {
    font-size: 13.5px !important; font-weight: 650 !important; color: #1f2a3c !important; letter-spacing: 0 !important; text-transform: none !important;
}
html body .dataTables_scrollBody table.dataTable thead th, html body .dataTables_scrollBody table.dataTable thead td,
html body .card-body .dataTables_scrollBody table.dataTable thead th {
    padding-top: 0 !important; padding-bottom: 0 !important; height: 0 !important; line-height: 0 !important; border: 0 !important; background: transparent !important;
}
html body .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html body .dataTables_wrapper .dataTables_paginate span .paginate_button.current { background: #0b2547 !important; border-color: #0b2547 !important; box-shadow: 0 6px 14px rgba(11,37,71,.25) !important; }
html body table.dataTable tbody tr:hover td:first-child::before { background: #0b2547; }

/* 27-Nov-2026 row hover: no dark-green (style.css #2c4c47) - soft blue on every DataTable */
html body table.dataTable tbody tr:hover > td,
html body table.dataTable tbody tr:hover > td.sorting_1,
html body table.dataTable.display tbody tr:hover > td,
html body table.dataTable.display tbody tr:hover > td.sorting_1,
html body table.dataTable.display > tbody > tr:hover > * {
    background-color: #f5f9ff !important; color: #0f1f38 !important; box-shadow: none !important;
}
html body table.dataTable tbody tr:hover > td a:not(.btn):not(.iqm-act) { color: #1e6fd9 !important; }
/* sorted column: no grey stripe */
html body table.dataTable tbody td.sorting_1,
html body table.dataTable.display > tbody > tr > .sorting_1,
html body table.dataTable.order-column > tbody > tr > .sorting_1,
html body table.dataTable.display > tbody > tr > .dtfc-fixed-left.sorting_1 { box-shadow: none !important; }
html body table.dataTable tbody tr:not(:hover) > td.sorting_1 { background-color: #fbfcfe !important; }

/* 27-Nov-2026 schedule / calendar / company workorder / job schedule pages (data-iq-skip):
   style.css paints every <i> green - let icons take the text colour of their button / heading */
body .content-body[data-iq-skip] i:not([class*="text-"]):not(.fc-icon),
body .sched-modal i:not([class*="text-"]) { color: inherit !important; }
body .content-body[data-iq-skip] .btn-s.primary i, body .content-body[data-iq-skip] .btn-s.green i { color: #fff !important; }
