﻿/***********************************************************
 *
 * COMBINED CSS: main_pages_v22 + LAYOUT (CLEANED)
 * Removing older/superseded layout rules.
 * 
 ***********************************************************/

/* ===== Global anchor colour & standard elements ===== */

/* Basic reset reaffirmed */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    color: #515151;
    box-sizing: border-box;
    font-family: 'Mulish', sans-serif;
    font-size: 12px;
    overflow: auto; /* Enable scrolling */
    scrollbar-width: none; /* Hide scrollbar in Firefox */
    -ms-overflow-style: none; /* Hide scrollbar in IE 10+ */
}


    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        display: none; /* Hide scrollbar in Chrome, Safari, and Opera */
    }

*, *::before, *::after {
    box-sizing: inherit;
}




a {
    color: #AD1F23;
    text-decoration: none;
}

    a:hover {
        color: #515151;
        text-decoration: none;
    }

.no_point {
    cursor: default !important;
}


input, button, .toggle-button {
    font-family: 'Mulish', sans-serif;
}

    /*input:active {
        border-color: #AD1F23 !important;
    }

    input[type="text"],
    textarea {
        padding: 2px 4px;
        border-radius: 4px;
        border: solid 1px #ced4da;
    }*/


/* HEADER */
/* Fixed top navigation as a grid container with 3 columns */
.header_top_nav {
    position: fixed;
    top: 0;
    left: 200px;
    width: calc(100% - 200px);
    z-index: 1000;
    background-color: #F6F6F6;
    display: grid;
    /* Use 1fr for left and right, and auto for center so it remains centered */
    grid-template-columns: 1fr auto 1fr;
    align-items: center; /* Vertically centers grid items */
    padding: 10px 0;
    border-bottom: 1px solid #C5C5C5;
}

/* Ensure that each header section uses flexbox for additional centering */
.header_left,
.header_center,
.header_right {
    display: flex;
    align-items: center; /* Vertical centering within each panel */
}

/* Center the center panel’s content horizontally */
.header_center {
    justify-content: center;
}

/* Left panel: align left and add left padding */
.header_left {
    justify-content: flex-start;
    padding-left: 20px;
}

/* Right panel: align right and add right padding */
.header_right {
    justify-content: flex-end;
    padding-right: 20px;
}

/* Additional styling for header_left-inner if needed */
.header_left-inner {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    font-size: 1.8rem !important;
    color: #AD1F23 !important;
    display: flex;
    align-items: center;
}


/* PUBLIC */
.header_inner_public {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
}

.header_inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px 10px 10px;
}



/* SEARCH definition of .search-input */

.search-wrapper {
    display: inline-block; /* Or block, if you prefer */
    position: relative; /* Important: anchor for the absolutely positioned icon */
}


.search-input {
    padding-right: 40px; /* Enough space so text doesn't overlap the icon */
    border-radius: 20px;
    border: 1px solid #C5C5C5;
    box-sizing: border-box;
    font-size: 11px;
    transition: width 0.4s ease, opacity 0.4s ease;
    padding: 5px 20px 3px 20px;
    width: 300px;
}

.search-icon {
    position: absolute;
    right: 10px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* So clicks still go to the textbox, if desired */
}




    .search-input:hover,
    .search-input:focus {
        border-color: #AD1F23;
        outline: none;
        box-shadow: none;
    }

.search-input--large {
    padding: 8px 24px;
    font-size: 14px;
}



input.form-control:focus,
.form-control:focus {
    border-color: #AD1F23 !important;
    box-shadow: none !important;
}


/* Sticky footer using form.master_body as flex container */
form.master_body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Main container for content, pushing footer down if short */
main.main_container_public {
    flex: 1;
    background-color: #F9F4EC;
    padding: 20px 0 50px 0;
}

/* Optional content wrapper for center alignment (1200px max) */
.main_content_wrap_public {
    max-width: 1400px;
    width: 100%;
    margin: 40px auto;
    background-color: #F9F4EC;
}



/* Footer Container: full-width sticky footer */
footer.footer_container_public {
    width: 100% !important;
    background-color: #AD1F23;
    color: #ffffff;
}


/* Wrapper for sidebar and main content */
.content-wrapper {
    flex: 1;
    display: flex;
}

.content-area {
    margin: 0 !important;
    margin-left: 200px !important;
    width: calc(100% - 200px) !important;
    min-height: calc(100vh - 60px); /* Subtracts footer height from viewport */
    display: flex;
    flex-direction: column;
}

/* Main container for content, pushing footer down if short */
main.main_container {
    flex: 1;
    background-color: #F9F4EC;
    padding: 20px 0 40px 0;
    margin-top: 40px; /* offset for the fixed top navigation */
}

.main_content_wrap {
    max-width: 1600px; /* recommended range: 1400-1800px */
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}


footer#main-footer {
    background-color: #EFEFEF;
    padding: 1rem;
}



/* Sidebar container: full height */
.sidebar {
    width: 200px;
    background-color: #0F3C57;
    color: white;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    padding: 20px 15px 0 15px;
}

    /* Remove default list styling */
    .sidebar ul {
        list-style: none;
        padding: 0;
        margin: 0;
        color: white;
    }

    /* Common styling for menu items (both <button> and <a> elements) */
    .sidebar .menu-btn {
        display: flex;
        align-items: center;
        padding: 10px 15px 10px 15px;
        font-size: 14px;
        color: white;
        background-color: #515151;
        border: none;
        background: none;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        /* Single-level items (no submenu): text aligned left, with a slight gap */
        .sidebar .menu-btn:not([data-submenu]) {
            justify-content: flex-start;
            gap: 10px;
            color: white;
        }

        /* Multi-level items (with submenu): space content between text and arrow */
        .sidebar .menu-btn[data-submenu] {
            justify-content: flex-start;
            gap: 10px;
            color: white;
        }

        /* Hover effect for all menu items */
        .sidebar .menu-btn:hover {
            background-color: #515151;
            color: white;
        }

        .sidebar .menu-btn span {
            display: flex;
            align-items: center;
            gap: 10px;
            color: white;
        }

        .sidebar .menu-btn i {
            position: relative;
            top: -1px;
            color: white;
        }

    .sidebar .menu-btn {
        width: 100%;
        color: white;
    }


    .sidebar .submenu-links li {
        margin-left: 10px !important;
        color: white;
    }


    .sidebar .menu-btn .arrow-icon {
        margin-left: auto;
        color: white;
    }



/* Ensure any arrow icon (if present) stays at the far right */
.arrow-icon {
    margin-left: auto;
    color: white;
}


.arrow-icon {
    margin-left: 10px;
    color: white;
}

.sidebar .submenu-links {
    padding-left: 1.5rem;
    margin-top: 0;
    display: none;
    color: white;
}

    .sidebar .submenu-links .nav-link {
        display: block;
        color: white;
        text-decoration: none;
        font-size: 12px;
        padding: 4px 0 4px 20px;
        color: white;
    }

        .sidebar .submenu-links .nav-link:hover {
            background-color: #515151;
            color: white;
        }


/* FIRST definition of .hamburger_menu */
.hamburger_menu {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-top: 0px;
}
/* Duplicate from line ~128 */
.hamburger_menu {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.hamburger_menu_icon {
    font-size: 20px;
    color: #0F3C57;
}

.hamburger_dropdown {
    display: none;
    position: absolute;
    top: 5px;
    right: 0;
    font-size: 12px;
    padding: 15px 15px 10px 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    min-width: 120px;
    z-index: 999;
    line-height: 18px;
    border-radius: 10px;
    border: 1px solid #C5C5C5 !important;
    text-align: left;
    background-color: white;
}

/* FIRST definition of .hamburger_menu:hover .hamburger_dropdown */
.hamburger_menu:hover .hamburger_dropdown {
    display: block;
}
/* Duplicate from line ~129 */
.hamburger_menu:hover .hamburger_dropdown {
    display: block;
}

.hamburger_dropdown a {
    display: block;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 8px;
}

.logo_container {
    padding: 9px 10px 10px 10px;
    border-radius: 5px;
    background-color: transparent;
    margin: -10px 0 40px 0;
    text-align: left;
    width: calc(100% - 30px);
}

    .logo_container img {
        border: 0;
        height: 18px;
        filter: brightness(0) invert(1);
    }

.logo_container_public img {
    border: 0;
    margin: 16px 0;
}

/* Simple style for the thin red strip */
.top_red_strip {
    width: 100%;
    height: 10px;
    background-color: #AD1F23; /* Paxsmart red */
}


/* Footer Container: full-width sticky footer */
footer.footer_container {
    margin-left: 200px !important;
    width: calc(100% - 200px) !important;
    background-color: #AD1F23;
    color: #ffffff;
}

/* Footer Inner: structured content alignment */
.footer_inner {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Footer Left: aligned left with monospace font */
.footer_left {
/*    font-family: Consolas, 'Courier New', monospace;
*/    font-size: 10px;
    flex: 1;
    text-align: left;
}

/* Footer Center: links centered */
.footer_center {
    font-size: 10px;
    flex: 1;
    text-align: center;
}

    .footer_center .separator {
        margin: 0 8px;
        color: rgba(255, 255, 255, 0.7);
    }

/* Footer Right: copyright aligned right */
.footer_right {
    font-size: 10px;
    flex: 1;
    text-align: right;
    white-space: nowrap;
}

/* Link styles */
.footer_container a {
    color: #ffffff;
    text-decoration: none;
}

    .footer_container a:hover {
        border-bottom: 1px solid #ffffff;
    }



.toggle_panel {
    box-sizing: border-box; /* Ensures padding/margins don't break width in older IE/Edge */
    margin: 0px;
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 10px 0px;
    line-height: 24px;
    overflow: auto;
}



/* Container holding the panels */
.dashboard_panel_container {
    display: flex;
}

    .dashboard_panel_container > *:not(:last-child) {
        margin-right: 20px;
    }

.dashboard_panel table {
    /* Use separate borders so row spacing is respected */
    border-collapse: separate;
    /* Adjust as desired: "0 10px" means 10px vertical spacing */
    border-spacing: 0 10px;
}


/* Each panel – floats left to create 2 columns */
.dashboard_panel {
    box-sizing: border-box; /* Ensures padding/margins don't break width in older IE/Edge */
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 20px;
    line-height: 24px;
    overflow: auto;
}

    .dashboard_panel.transparent {
        background-color: transparent;
    }

/* Slightly bigger font for heading *inside* the panel */
.dashboard_heading {
    font-size: 2em;
    font-weight: 400;
    color: #0F3C57 !important;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

/* Add this to your CSS */
.dashboard_panel canvas {
    display: block; /* ensures block rendering */
    max-height: 400px; /* or 300px or any suitable size */
    margin: 0 auto; /* optional: center horizontally if desired */
    width: 100% !important;
}

.no_point {
    cursor: default !important;
}

/* Link Button */
.link_button {
    color: #AD1F23 !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer;
}

    .link_button:hover {
        background-color: rgba(15, 60, 87, 0.1);
    }

h5 {
    font-size: 16px;
    font-weight: 300;
    margin: 2em 0 1em 0;
}

.align-left {
    text-align: left !important;
}

.float-left {
    float: left !important;
}

/* ===== Article styling ===== */
.article {
    font-size: 14px;
    padding: 10px 80px;
    min-height: 500px;
}

    .article li {
        margin: 10px 0;
    }

    .article ul {
        list-style-position: outside;
        padding-left: 20px;
        line-height: 24px;
    }

    .article a {
        text-decoration: none;
        border-bottom: 1px solid;
        padding-bottom: 1px;
    }

        .article a:hover {
            text-decoration: none;
            border-bottom: 1px solid #000;
        }

    .article .heading-large {
        font-size: 24px;
        display: block;
        margin-block-start: 1.8em;
        margin-block-end: 0.3em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        font-weight: bold;
    }

    .article .heading {
        font-size: 18px;
        display: block;
        margin-block-start: 1.4em;
        margin-block-end: 0.5em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        font-weight: bold;
    }

    .article .group_heading_container {
        width: 100%;
        border-bottom: solid 1px #0F3C57;
        margin: 0 0 20px 0;
        height: 80px;
    }

    .article .group_heading {
        font-size: 28px;
        font-weight: bold;
        display: block;
        padding: 10px 0px 0px 0px;
        font-weight: 500;
    }

    .article .main_body {
        line-height: 28px;
        margin: 0 0 40px 0;
        padding: 0 5px;
    }

    /* ===== Footnote Styling ===== */
    .article .footnote-heading {
        font-size: 14px;
        color: #515151;
        margin: 40px 0 10px 0;
        border-top: 1px solid #ccc;
        width: 100%;
        padding-top: 20px;
    }

    .article .footnote {
        font-size: 12px;
        color: #515151;
        margin-top: 10px;
    }

        .article .footnote ul {
            list-style-type: none;
            padding-left: 0;
        }

        .article .footnote li {
            line-height: normal;
        }

    /* ===== Table Styles ===== */
    .article .table-l {
        width: auto;
        margin: 10px 0;
        border-collapse: collapse;
        border: 1px solid #C5C5C5;
    }

        .article .table-l thead th {
            background-color: #C5C5C5;
            border: 1px solid #C5C5C5;
            padding: 5px;
            font-size: 14px;
            font-weight: bold;
            text-transform: capitalize;
            text-align: left;
            white-space: nowrap;
        }

        .article .table-l tbody td {
            border: 1px solid #C5C5C5;
            padding: 5px;
            vertical-align: top;
            text-align: left;
            white-space: nowrap;
        }

        .article .table-l .num-col {
            text-align: right;
        }

    .article .table-l-title {
        font-weight: bold;
        font-size: 14px;
        margin-top: 20px;
        margin-bottom: 5px;
    }


/* ===== Dropdown styling (not the hamburger) ===== */
.dropdown_title {
    font-size: 12px;
    color: #515151;
    background-color: #EFEFEF;
    padding: 5px 10px 4px 10px;
    border-radius: 5px 5px 0 0;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown_content {
    display: none;
    position: absolute;
    float: right;
    background-color: white;
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 9999;
    line-height: 24px;
    margin: 38px 0 0 10px;
    border-radius: 5px;
}

.dropdown_content_right {
    display: none;
    position: absolute;
    float: left;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 9999;
    line-height: 24px;
    border-radius: 5px;
}

.dropdown:hover .dropdown_content_right {
    display: block;
}

.dropdown:hover .dropdown_content {
    display: block;
}

/* Notifications & rad menu overrides */
.notification {
    background-color: #f6f6f6;
    padding: 6px 8px;
    border-radius: 5px;
    margin: 10px 0;
}

    .notification:hover {
        color: white !important;
        background-color: #0F3C57;
    }

.rmItem {
    padding: 10px 0 0 10px !important;
}

.rmRootGroup {
    background-color: transparent !important;
    background-image: none !important;
}

.rmLink {
    color: #AD1F23 !important;
}

rmText span {
    padding: 12px 0 0 0 !important;
}

.rmLink:hover {
    background-color: transparent !important;
    color: #2D4958 !important;
}

/* Misc images & button styles */
.mnu_img img {
    height: 18px !important;
}

.fa-light {
    color: #0F3C57; /* initial color */
}


/*BUTTONS*/
.btn-primary {
    border-radius: 18px !important;
    font-family: 'Mulish', sans-serif !important;
    font-size: 12px !important;
/*    text-align: center !important;
*/    padding: 7px 20px !important;
    text-transform: none !important;
    background-color: #AD1F23 !important;
    color: #fff !important;
    border: none;
/*    border: solid 1px #EFEFEF !important;
*/    cursor: pointer !important;
}


    .btn-primary:hover {
        background-color: #921a1e !important;
        color: #fff !important;
    }

    .btn-primary.disabled,
    .btn-primary:disabled {
        background-color: #AD1F23 !important;
        opacity: 0.5 !important;
        cursor: not-allowed !important;
        pointer-events: none !important;
        color: white !important;
        border-color: #AD1F23 !important;
    }

.btn img {
    vertical-align: middle;
}

.btn-primary img {
    filter: brightness(0) invert(1); /* optional, if image should invert to white on primary buttons */
}

.btn-secondary {
    border-radius: 18px !important;
    font-family: 'Mulish', sans-serif !important;
    font-size: 12px !important;
    text-align: center !important;
    padding: 7px 20px !important;
    text-transform: none !important;
    background-color: #EFEFEF !important;
    color: #333333 !important;
    border: none !important;
    cursor: pointer !important;
}

    .btn-secondary:hover {
        background-color: #E0E0E0 !important;
        color: #000000 !important;
        border-color: #CCCCCC !important;
    }


    /* Targeting disabled LinkButtons rendered as <span> or with additional classes */
    span.btn-secondary,
    .btn-secondary[disabled],
    .btn-secondary.disabled,
    .btn-secondary[aria-disabled="true"],
    .btn-secondary.aspNetDisabled {
        background-color: #CCCCCC !important;
        color: #777777 !important;
        border-color: #AAAAAA !important;
        cursor: not-allowed !important;
        pointer-events: none !important;
    }


.bot_button {
    border-radius: 18px !important;
    font-family: 'Mulish', sans-serif !important;
    color: #AD1F23 !important;
    font-size: 12px !important;
    text-align: center !important;
    padding: 7px 20px !important;
    text-transform: none !important;
    background-color: #EFEFEF !important;
    border: none !important;
    cursor: pointer !important;
    margin: 0 20px 0px 0 !important;
}

    .bot_button:hover {
        background-color: #AD1F23 !important;
        color: white !important;
        border-color: #CCCCCC !important;
    }


/*    .bot_button a:hover {
        background-color: #AD1F23 !important;
        color: white !important;
        border-color: #CCCCCC !important;
    }
*/

.button_circle {
    border-radius: 50% !important;
    width: 30px;
    height: 30px;
    padding: 1px 0 0 1px;
    font-family: 'Mulish', sans-serif !important;
    font-size: 14px; /* Adjust size as needed for the icon */
    text-align: center !important;
    line-height: 40px; /* Vertically center the icon */
    background-color: white !important;
    color: #AD1F23 !important;
    border: solid 1px #C5C5C5 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .button_circle:hover {
        background-color: #AD1F23 !important;
        color: white !important;
    }

/* Style the dropdown to match the button */
.dropdown_user {
    border-radius: 18px !important;
    font-family: 'Mulish', sans-serif !important;
    font-size: 12px !important;
    text-align: center !important;
    padding: 8px 20px 6px 16px !important; /* Adjusted right padding */
    text-transform: none !important;
    background-color: white !important;
    color: #1A3B55 !important;
    border: solid 1px #EFEFEF !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 32px !important; /* Ensures uniform height with .btn-primary */
    line-height: normal !important; /* Ensures proper text alignment */
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important; /* Prevents text from being cut off */
}

/* Custom dropdown arrow */
.dropdown_user {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23AD1F23"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 35px !important; /* More space for arrow */
}

    .dropdown_user:hover {
        background-color: #E8EBEE !important;
        color: #0F3C57 !important;
    }

    .dropdown_user:focus, .dropdown_user:active {
        outline: none !important;
        border: solid 1px #E8EBEE !important;
        background-color: #E8EBEE !important;
        color: #0F3C57 !important;
    }

    .dropdown_user option {
        font-family: 'Mulish', sans-serif !important;
        font-size: 12px !important;
        color: #1A3B55 !important;
        background-color: white !important;
        white-space: nowrap;
    }

    .dropdown_user::-ms-expand {
        display: none; /* Hides default dropdown arrow in IE/Edge */
    }

.bot_dropdown {
    display: inline-block;
    padding: 2px 5px 3px 5px !important;
    font-size: 12px !important;
    color: #515151;
    border-radius: 18px;
    border: 1px solid #E8EBEE;
    background-color: #fff;
    margin: 0 !important;
    white-space: nowrap;
}

    .bot_dropdown .rcbInput {
        font-size: 12px;
        padding: 0 !important;
        border: none;
        background-color: transparent;
        border-radius: 12px;
    }

/* Style for all asp:ListBox controls with the class "listbox" */
.listbox {
    font-size: 11px !important;
    height: 400px;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #515151;
    padding: 0px;
    box-sizing: border-box;
}

    .listbox option {
        padding: 2px 8px;
        line-height: 1.8;
    }

    .listbox:focus {
        border-color: #0F3C57;
        outline: none;
    }


.btn-primary_hover {
    background-color: #0F3C57 !important;
    color: white !important;
    border: solid 1px #0F3C57 !important;
}

.btn-primary_small {
    border-radius: 18px !important;
    height: 28px !important;
    min-width: 10em;
    text-align: center !important;
    padding: 5px 20px 5px 20px !important;
    text-transform: none !important;
    background-color: white !important;
    color: #AD1F23 !important;
    border: solid 1px #c5c5c5 !important;
}

    .btn-primary_small .rbText {
        font-size: 12px !important;
        font-weight: 400 !important;
    }

/* FIRST definition of .btn-primary_primary */
.btn-primary_primary {
    background-color: #0F3C57 !important;
    color: white !important;
    border: solid 1px #0F3C57 !important;
    border-radius: 5px !important;
    font-family: 'Mulish', sans-serif !important;
    width: 10em;
    text-align: center !important;
    padding: 5px 0px 7px 0px !important;
    text-transform: none !important;
}

.page_heading,
.page_heading_center {
    margin: 40px;
    line-height: 20px;
    color: #515151;
    font-size: 30px;
}

.page_heading {
    text-align: left;
}

.page_heading_center {
    text-align: center;
}

.box_heading_center {
    padding: 20px 0 0px 0px;
    color: #515151;
    font-size: 15px;
}

.box_heading_center {
    text-align: center;
}

.box_notes {
    line-height: 22px;
    color: #515151;
    text-align: left;
    font-size: 12px;
    vertical-align: middle;
}

.box_filters_center_v1 {
    line-height: 22px;
    margin: 0 auto !important;
}

.box_filters_left {
    line-height: 22px;
    float: left;
}

.box_filter_options,
.box_intro {
    display: inline-block;
    border: 1px solid #c5c5c5;
    border-radius: 5px;
    background-color: white;
    line-height: 22px;
    margin: 20px auto;
    color: #515151;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    overflow: auto;
    min-width: 100%;
}

.box_filter_options {
    font-size: 12px;
    padding: 10px;
}

.box_intro {
    font-size: 14px;
    padding: 10px 20px;
}

.box_table {
    margin: 0px auto;
    width: 100%;
    padding: 10px 0px;
    line-height: 28px;
}

img {
    border: 0;
}

/* Navigation Styles */
.header_nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin: 0 2rem;
}

.main_nav {
    display: flex;
    gap: 0.5rem;
}

.nav_item {
    display: flex;
    align-items: center;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s;
}

.nav_item:hover {
    background-color: #515151;
}

.nav_item_active {
    background-color: #AD1F23 !important;
    color: white;
}

/* Sidebar menu active state */
.menu-btn.active {
    background-color: #AD1F23 !important;
    color: white !important;
    border-radius: 0.5rem;
}

.options_button .rbText {
    padding: 5px 0 0 0 !important;
}

.options_button_hover .rbText {
    padding: 5px 0 0 0 !important;
    color: white !important;
}

.custom-listbox {
    outline: none !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 5px 0;
    box-shadow: none !important;
    overflow: hidden !important;  Hides scrollbar completely 
}

    .custom-listbox:focus {
        outline: none !important;
        box-shadow: none !important;
    }

    .custom-listbox option {
        background-color: #ffffff;
        color: #515151;
        padding: 5px 8px;
    }

        .custom-listbox option:checked,
        .custom-listbox option[selected] {
            background-color: #0F3C57 !important;
            color: #ffffff !important;
        }




/*TOOLTIPS*/
/* Default tooltip inner styling */
.tooltip-inner {
    background-color: #121212 !important;
    color: white !important;
    font-family: 'Montserrat', sans-serif;
    border-radius: 8px !important;
    padding: 7px 10px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
    min-width: 120px !important;
    font-size: 12px !important;
    line-height: 18px !important;
    white-space: normal !important;
/*    cursor: pointer;
*/}

.tooltip .tooltip-inner a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #fff;
    padding-bottom: 1px;
}

/* For tooltips that have data-width, remove the default min-width */
.tooltip[data-custom-width] .tooltip-inner {
    min-width: 0 !important;
}

/* Remove or override max-width from Bootstrap's default rule. */
.tooltip.custom-bootstrap-tooltip {
    max-width: none !important;
}

/* Updated forced underline for triggers with offset */
[data-bs-toggle="tooltip"]:not([data-hide-underline="true"]) {
    text-decoration: none;
    border-bottom: 1px dotted !important;
    padding-bottom: 1px !important;
    cursor: pointer !important;
}

/* Hide underline if data-hide-underline is true */
[data-bs-toggle="tooltip"][data-hide-underline="true"] {
    text-decoration: none !important;
    cursor: pointer !important;
}


/* For top placement: sets the border-top color. */
.bs-tooltip-auto[data-popper-placement^='top'] > .tooltip-arrow::before,
.bs-tooltip-top > .tooltip-arrow::before {
    border-top-color: #121212 !important;
}

/* For bottom placement */
.bs-tooltip-auto[data-popper-placement^='bottom'] > .tooltip-arrow::before,
.bs-tooltip-bottom > .tooltip-arrow::before {
    border-bottom-color: #121212 !important;
}

/* For left placement */
.bs-tooltip-auto[data-popper-placement^='left'] > .tooltip-arrow::before,
.bs-tooltip-start > .tooltip-arrow::before {
    border-left-color: #121212 !important;
}

/* For right placement */
.bs-tooltip-auto[data-popper-placement^='right'] > .tooltip-arrow::before,
.bs-tooltip-end > .tooltip-arrow::before {
    border-right-color: #121212 !important;
}


.page_options_container {
    float: right;
    display: flex;
    align-items: center;
    height: 100%;
    padding-right: 20px;
}


.banner-heading {
    background-color: #0F3C57;
    color: #fff;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-heading-inner {
    font-size: 24px;
    text-align: center;
}

.footer-col-heading {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    text-align: left;
}

.footer-links {
    background-color: #0F3C57;
    color: #fff;
    font-size: 12px;
    padding: 25px 0;
    font-weight: 300;
    line-height: 18px;
}

.footer-links-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-columns {
    display: flex;
    justify-content: center;
    gap: 120px;
    width: 100%;
}

.footer-links-col {
    flex: 0 0 auto;
}

    .footer-links-col ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

    .footer-links-col a {
        color: #fff;
        text-decoration: none;
        display: block;
        padding: 2px 0;
    }

        .footer-links-col a:hover {
            text-decoration: underline;
        }

/* Apply box-sizing globally to avoid padding and border issues */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Menu wrapper uses inline-flex so its width matches the buttons */
.tm-sub-menu {
    display: inline-flex;
    margin: 0 0 15px;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Base button styling with its own border */
.tm-sub-button {
    width: 120px;
    padding: 4px 0;
    background-color: #FAFAFA;
    border: 1px solid #ccc;
    cursor: pointer;
    text-align: center;
    font-size: 11px;
    font-weight: 400;
    color: #515151;
    transition: background 0.1s, border 0.1s;
}

    .tm-sub-button:not(:last-child) {
        border-right: none;
    }

    .tm-sub-button:first-child {
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
    }

    .tm-sub-button:last-child {
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    .tm-sub-button:hover:not(.tm-sub-button-active) {
        background-color: #ddd;
    }

.tm-sub-button-active {
    background-color: #AD1F23;
    border-color: #AD1F23;
    color: #fff;
    font-weight: 300;
}

    .tm-sub-button-active:hover {
        background-color: #AD1F23;
    }

/* Custom styles for RadSwitch */
.customRadSwitch {
    width: 26px !important;
    background-color: white !important;
    border: none !important;
    box-shadow: none !important;
}

    .customRadSwitch .k-switch-container {
        width: 22px !important;
        height: 14px !important;
        position: relative !important;
        border: none !important;
        border-radius: 10px !important;
        box-shadow: none !important;
    }

    .customRadSwitch .k-switch-handle {
        width: 12px !important;
        height: 12px !important;
        background-color: white !important;
        border-radius: 50% !important;
        border: none !important;
        box-shadow: none !important;
        position: absolute !important;
        top: 50% !important;
        left: 1px !important;
        transform: translateY(-50%) !important;
        transition: left 0.2s, background-color 0.2s !important;
    }

    .customRadSwitch.k-switch-off .k-switch-container {
        background-color: lightgray !important;
    }

    .customRadSwitch.k-switch-on .k-switch-container {
        background-color: #0F3C57 !important;
    }

    .customRadSwitch.k-switch-on .k-switch-handle {
        left: calc(100% - 13px) !important;
    }

.RadSwitch.RadButton.customRadSwitch {
    border-color: white !important;
}

/* ===== Buttons Section ===== */

/* (Already grouped .btn-primary_primary above) */

/* Split Button */
.split_button {
    position: relative;
    display: inline-block;
}

    .split_button .btn-primary_primary {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .split_button .dropdown_content {
        left: 100%;
        top: 0;
    }

    .split_button .btn-primary_primary:hover {
        background-color: #bd7a7c !important;
        border-color: #bd7a7c !important;
    }

/* Icon Button with Label */
.btn-primary .icon_label {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .btn-primary .icon_label .icon {
        font-size: 16px;
    }

.table_layout {
    padding: 10px !important;
}

.data_pointer {
    cursor: pointer !important;
}

.rgDataDiv {
    height: auto !important;
}

.toggle-panel {
    margin-bottom: 10px;
}

.panel-header {
    cursor: pointer;
    background-color: #eee;
    padding: 5px;
    margin-top: 20px;
    font-weight: bold;
}

.panel-content {
    display: none;
    padding: 10px;
    border: 1px solid #ccc;
}

.notransition {
    transition: none !important;
}
.card-header.no-border {
    border-bottom: none;
}

.card,
.card-header,
.card-body,
.card-footer {
    border: 1px solid #EFEFEF !important;
}

    .card-header .btn-link:hover {
        color: #AD1F23 !important;
    }

    .card-header.no-border {
        border-bottom: 1px solid #EFEFEF !important;
    }

/* Updated collapsible panels styling */
#accordion .card {
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: auto;
    width: 100%;
}

.card-header {
    background-color: #E8EBEE;
    color: #0F3C57;
    cursor: pointer;
    padding: 0 0 0 5px;
    min-width: 220px;
}

    .card-header h2,
    .card-header button {
        color: inherit;
        text-decoration: none;
        border: none;
        background: none;
        font-size: 14px;
    }

    .card-header a {
        color: inherit;
        text-decoration: none;
    }

/* Remove shading when switch is ON */
.form-check.form-switch .form-check-input:checked {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    box-shadow: none !important;
}

/* Remove shading when switch is OFF */
.form-check.form-switch .form-check-input {
    box-shadow: none !important;
    border-color: #ccc !important;
    background-color: #e9ecef !important;
}

/* Move label up by 3px */
.form-check.form-switch .form-check-label {
    position: relative !important;
    top: -3px !important;
}


/* Paxsmart Toast Styles */
.paxsmart-toast-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    z-index: 1050;
    margin: 0;
}

.paxsmart-toast {
    background-color: #FFF9B5 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #121212;
    text-align: center;
    padding: 0px 10px;
    border-radius: 10px;
    width: 400px;
}

    .paxsmart-toast .toast-body {
        width: 100%;
        text-align: center;
    }

/* ================== Sales Page Custom Styles ================== */

.sales_footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* FULL-WIDTH ROW STYLES */

/* SINGLE-COL Row */
.sales_single-col-row-hero {
    width: 100%;
    background-color: white;
    padding: 5rem 0;
}

.sales_single-col-row {
    width: 100%;
    background-color: #F6F6F6;
    padding: 5rem 0;
}

.sales_single-col-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

/* TWO-COL Row */
.sales_two-col-row {
    width: 100%;
    background-color: #FFFFFF;
    padding: 5rem 0;
}

.sales_two-col-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    gap: 3rem;
    border-radius: 10px;
}

.sales_left-col {
    flex: 0 0 48%;
    min-width: 0;
    align-content: center;
}

.sales_right-col {
    flex: 0 0 48%;
    min-width: 0;
}

.sales_card {
    background-color: #AD1F23;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

    .sales_card img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }

.sales_big-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 500;
}

.sales_big-heading-hero {
    font-family: 'Poppins', sans-serif;
    font-size: 3.7rem;
    font-weight: 500;
}

.sales_large-desc-sub {
    font-size: 1.6rem;
    line-height: 2.8rem;
    padding: 2rem 0;
    width: 80%;
    margin: 0 auto;
}

.sales_large-desc {
    font-size: 1.25rem;
    line-height: 2.6rem;
    margin-top: 4rem;
}

.sales_icon-container {
    width: 80%;
    margin: 20px auto;
    display: flex;
    gap: 10%;
    line-height: 28px;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.sales_icon-wrapper {
    font-size: 30px;
}

.sales_icon-container .sales_icon-wrapper {
    flex: 1;
    box-sizing: border-box;
}

.sales_large-desc-icon-title {
    font-size: 1.8rem;
    line-height: 2.4rem;
    margin: 1.4rem 0 0.8rem 0;
}

.sales_large-desc-icon {
    font-size: 1.2rem;
    line-height: 2.6rem;
}


.menu-item {
    padding: 10px 15px;
    color: #515151;
    margin: 5px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

    .menu-item i {
        margin-right: 15px;
        font-size: 14px;
    }

    .menu-item:hover {
        background-color: #f2f2f2;
    }

    .menu-item.active {
        background-color: #AD1F23;
        color: white;
    }

        .menu-item.active i,
        .menu-item.active span {
            color: white;
        }



.sales_header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .sales_two-col-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .sales_left-col,
    .sales_right-col {
        flex: 1 1 auto;
        width: 100%;
        margin-bottom: 2rem;
    }

    .sales_big-heading {
        font-size: 2rem;
    }

    .sales_big-heading-hero {
        font-size: 2.5rem;
    }

    .sales_large-desc-sub {
        width: 90%;
        font-size: 1.3rem;
        line-height: 2.2rem;
    }

    .sales_large-desc {
        font-size: 1.15rem;
        line-height: 1.8rem;
        margin-top: 2rem;
    }

    .sales_icon-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .sales_big-heading {
        font-size: 1.75rem;
    }

    .sales_big-heading-hero {
        font-size: 2.2rem;
    }

    .sales_large-desc-sub,
    .sales_large-desc {
        font-size: 1.1rem;
        line-height: 1.6rem;
    }

    .sales_single-col-row,
    .sales_single-col-row-hero,
    .sales_two-col-row {
        padding: 1.5rem 0;
    }
}

.my-dim-overlay {
    display: none; /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* dim background */
    z-index: 999999; /* extremely high to out-rank Bootstrap’s modals */
}

.my-centered-modal {
    display: none; /* hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 80%; /* so it’s responsive on smaller screens */
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1000000; /* even higher than the overlay */
}

.my-modal-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background: #0d6efd; /* Bootstrap’s primary color */
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

    .my-modal-btn:hover {
        background: #0056b3;
    }


/* Add extra space after the modal header */
.modal-header {
    margin: 0.5rem 0 1.8rem 0.5rem;
}

/* Grid container: two columns (icon + text) */
.modal-grid {
    display: grid;
    grid-template-columns: 50px 1fr; /* fixed width for icons, text takes remaining space */
    column-gap: 1rem;
    row-gap: 1.8rem;
    margin-top: 1rem;
}

/* Icon container set to a fixed height (approx. two lines of text) */
.modal-icon {
    display: flex;
    align-items: stretch; /* stretch icon vertically to fill container */
    justify-content: center;
    height: 40px; /* Adjust this value if you need a different "2-line" height */
}

    /* Icon itself fills container, uses Paxsmart red, and is centered */
    .modal-icon i {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        font-size: 2.5em; /* adjust as needed */
        color: #AD1F23; /* Paxsmart red */
    }

/* Ensure text in the right column is left-aligned and vertically centered */
.modal-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Optional typography adjustments */
.modal-title {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.modal-desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Style the close button:
   - Center it by making it block with auto left/right margins.
   - Add extra top margin for spacing before the button. */
.modal-close-btn {
    display: block;
    margin: 2.2rem auto 0.5rem auto; /* 2rem top margin, centered horizontally */
}



.notification_trial {
    background-color: #ffeb3b; /* Bright yellow for visibility */
    padding: 5px 0;
    text-align: center;
    font-weight: 400;
}

.notification_trial-text {
    margin: 0;
    font-size: 12px;
    color: #515151;
}


.blur-background {
    filter: blur(5px); /* Adjust blur strength as needed */
    pointer-events: none; /* Optional: prevents interactions with blurred content */
}

