#header-new-leo.header-new-leo {
    background-color: #02073e!important;
}
.header-new-leo {
    background-color:#02073e  !important;
    color: var(--white-color) !important;
    padding: 10px 20px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    margin: 0px !important;
}
#header-new-leo {
  background-color: var(--primary-color) !important;
    color: var(--white-color);
    position: static !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-radius: 0 0 15px 15px;
    padding: 10px 20px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    margin: 0px !important;
}


    .new-search-container {
            position: relative;
            width: 100%;
            max-width: 500px;
            margin-left: auto;
            align-self: flex-end;
        }

      
        .search-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #9aa5b1!important;
            pointer-events: none; 
        }

       .header-search-input {
    width: 100% !important;
    padding: 12px 20px 12px 45px !important;
    border: 2px solid #ef8354 !important;
    border-radius: 8px !important;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    outline: none;
    box-sizing: border-box !important;
    transition: all 0.3s ease;
}

        .header-search-input::placeholder {
            color: #9aa5b1;
        }

        .header-search-input:focus {
            border-color: #007bff;
            box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
        }

      
        .location-search-results-dropdown {
            display: none; 
            position: absolute;
            top: calc(100% + 5px); 
            left: 0;
            right: 0;
            background-color: #ffffff;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            max-height: 350px;
            overflow-y: auto;
            z-index: 1000;
            padding: 10px;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        }

     .header-mainb .header-buttons h3 a {
             background-color: #f9f9f9!important;
             color: #0e2746 !important;
             font-weight:700!important;
     }
        .location-search-results-dropdown.active {
            display: block;
        }

       .location-search-results-dropdown h3 {
            margin: 10px 0 5px;
    padding: 8px;
    color: #0e2746;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #f9f9f9;
    border-radius: 4px;
        }
        .location-search-results-dropdown h3 a {
            text-decoration:none!important;
            color: #0e2746;
            font-size: 16px;
            font-weight: bold;
            background-color: #f9f9f9!important;
}
        .location-search-results-dropdown ul {
            list-style: none;
            padding: 0;
            margin: 0 0 10px;
        }

       #LocationSearchResults  li a {
    display: block;
    padding: 10px 12px;
    color: #ef8354!important;
    text-decoration: none !important;
    transition: background-color 0.2s, color 0.2s !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}
    #LocationSearchResults  li a:hover {
         color: #ffff !important;
    }
.location-search-results-dropdown li a:hover {
    background-color: #121850;
    color: #fff;
}
        .location-search-results-dropdown li a:hover {
            background-color: #007bff;
            color: #fff;
        }
        
        

#dropdown-menu3 a {
    width: 150px;
}



/* Add this CSS rule */
.header-menu .dropdown:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap; 
}


/* ADD THESE RULES TO YOUR <STYLE> BLOCK */

.header-menu .dropdown-menu a {
    display: block;
    width: 200px; /* Or 'max-content' if you prefer */
    padding: 10px 20px;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

.header-menu .dropdown-menu a:nth-child(odd) {
text-align: left;
    font-weight: 600 !important;
    background: #e2effb;
    color: black !important;
}

.header-menu .dropdown-menu a:nth-child(even) {
        text-align: left;
    font-weight: 600;
    background: #e2effb;
    color: #000 !important;
}

.header-menu .dropdown-menu a:hover {
    background-color: #ef8354; /* Example hover color */
    color: white !important;
}

/* Makes the new wrapper div the positioning anchor */
.header-menu .dropdown {
    position: relative;
}

/* Hides the dropdown by default and positions it */
.header-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0 !important;
    width: max-content;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.menu-toggle{
    display: none;
}

.close-btn{
    display: none;
}




.header-mainb {
    display: flex!important;
    align-items: center!important; /* Vertically centers all items */
    justify-content: space-around!important; /* Aligns items to the start */
    padding: 10px 20px!important;   /* Adds some spacing around the header */
    width: 100%!important;
    box-sizing: border-box!important;
}

.header-menu {
    display: flex;        /* Makes the nav items (links, dropdowns) line up in a row */
    align-items: center;  /* Vertically centers the nav items */
    gap: 20px;            /* Adds space between your nav items */
    margin-left: 30px;    /* Adds space between the logo and the nav */
}

.header-buttons {
    margin-left: auto;    /* This is the key: it pushes the search box to the far right */
}


.new-search-container {
    margin-left: 0;       
    align-self: auto;
    position: relative;
    width: 100%;
    max-width: 500px;
}




@media (max-width: 899.98px) {

    .menu-toggle {
        display: block;
        font-size: 24px;
        background: none;
        border: none;
        color: #ef8354; 
        cursor: pointer;
        margin-right: 15px; /
    }

   
    .header-menu {
        position: fixed; 
        top: 0;
        left: -100%; 
        width: 300px; 
        height: 100vh; 
        background-color: #333; 
        flex-direction: column; 
        align-items: flex-start;
        
        padding-top: 60px; 
        margin-left: 0;
        gap: 0; 
        
        transition: left 0.3s ease-in-out; 
        z-index: 2000;
        box-shadow: 2px 0 10px rgba(0,0,0,0.5); 
    }
    .header-menu.active {
        left: 0; 
    }
    .header-menu.active .close-btn {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 30px;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
    }
    .header-menu a,
    .header-menu .dropdown-toggle {
        color: white !important;
        padding: 15px 20px;
        width: 100%;
        box-sizing: border-box;
        text-align: left;
    }
    .header-menu .dropdown {
        width: 100%;
        position: static; 
    }
    
    .header-menu .dropdown-menu {
        position: static; 
        display: none; 
        width: 100%;
        background: #444; 
        box-shadow: none;
        border: none;
    }
    
    .header-menu .dropdown-menu a {
        background: #444 !important; 
        color: #ccc !important;
        padding-left: 40px; 
    }
    .header-menu .dropdown:hover .dropdown-menu {
        display: flex;
        flex-direction: column;
    }

    .header-mainb {
    flex-wrap: wrap;
}

    .header-buttons {
    display: block !important;
    width: 100%;           
    max-width: 100%;     
    margin-left: 0;       
    margin-top: 15px;      
    order: 3;              
}
}
.offcanvas-start {
    width: 280px; 
    background-color: #f8f9fa; 
    border-right: 1px solid #dee2e6;
}

.offcanvas-header {
    background-color: #343a40; 
    color: white;
}

.offcanvas-title {
    font-size: 1.25rem;
    font-weight: 500;
}

.offcanvas-body {
    padding: 1rem;
}

.offcanvas-body .navbar-nav {
    flex-direction: column;
}

.offcanvas-body .nav-item {
    margin-bottom: 0.5rem;
}

.offcanvas-body .nav-link {
    padding: 0.5rem 1rem;
    color: #212529;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.offcanvas-body .nav-link:hover {
    background-color: #e9ecef;
    border-radius: 0.25rem;
}

.pr-4{
    color: black;
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.offcanvas-body .cart-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.offcanvas-body .cart-btn i {
    margin-right: 0.5rem;
}

.offcanvas-body .badge {
    margin-left: 0.5rem;
}
@media (max-width: 1199.98px) {
    .navbar-collapse {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .offcanvas-start {
        display: none !important;
    }
}
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}
.navbar-nav.toolbar {
    flex-direction: row;
    align-items: center;
}

.nav-item .cart-btn i {
    transition: color 0.2s;
}

.dropdown-toggle {
    color: black;

}

/* ============================ */


.leo-home-wrapper {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.leo-home-wrapper .tile {
    display: block;
    background: #fff;
    border: 2px solid #ef8354; 
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.2s;
    text-decoration: none;
    color: #333;
    margin-bottom: 20px;
}

.leo-home-wrapper .tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.leo-home-wrapper .tile i {
    font-size: 2.5rem;
    color: #ef8354;
    margin-bottom: 10px;
}

.leo-home-wrapper .stat {
    font-size: 1.8rem;
    font-weight: bold;
    display: block;
}

/* ======================= */

.client-home-new-layout { background: #1d398b; padding: 20px; }

/* Stat Cards */
.modern-stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    text-decoration: none !important;
}
.modern-stat-card:hover { transform: translateY(-5px); }

.icon-circle {
    width: 60px; height: 60px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin-right: 15px;
}
.bg-blue { background: #eef2ff; color: #4e73df; }
.bg-orange { background: #fff7ed; color: #f6ad55; }
.bg-cyan { background: #ecfeff; color: #06b6d4; }
.bg-green { background: #f0fdf4; color: #22c55e; }

.stat-number { display: block; font-size: 22px; font-weight: 700; color: #1a202c; }
.stat-label { color: #718096; font-size: 14px; }

.badge-count {
    position: absolute; top: 20px; right: 20px;
    padding: 2px 8px; border-radius: 6px; color: #fff; font-size: 12px; font-weight: bold;
}
.bg-red { background: #ef4444; }

/* Modern Panels */
.modern-card {
    background: #fff;
    border-radius: 15px;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
}
.modern-card-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}
.modern-card-header h3 { font-size: 18px; font-weight: 600; color: #1e293b; }

.btn-add-circle {
    width: 28px; height: 28px; background: #ef4444; color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 12px;
}

.modern-list-item {
    display: flex; align-items: center; padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9; text-decoration: none !important; color: #475569;
}
.modern-list-item:hover { background: #f8fafc; }
.modern-list-item .arrow { margin-left: auto; font-size: 12px; opacity: 0.3; }

/* Fix for Sidebar Search Results */
.new-search-container {
    position: relative; /* This is crucial for the dropdown to stick to the input */
    z-index: 1060;
}

.location-search-results-dropdown {
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    right: 0;
    background: #fff; 
    border: 1px solid #ef8354; 
    z-index: 9999; /* Ensure it floats ON TOP of other sidebar items */
    max-height: 300px; 
    overflow-y: auto; 
    padding: 0; 
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.location-search-results-dropdown h3 { 
    font-size: 12px; 
    font-weight: bold;
    color: #0d1137; 
    background: #f4f4f4; 
    padding: 8px 15px; 
    margin: 0;
    border-bottom: 1px solid #eee;
}

.location-search-results-dropdown ul { 
    list-style: none; 
    padding: 5px 0; 
    margin: 0;
}

.location-search-results-dropdown li a { 
    color: #666; 
    text-decoration: none; 
    padding: 5px 20px; 
    display: block; 
    font-size: 13px;
}
.location-search-results-dropdown li a:hover {
    background-color: #ef8354;
    color: #fff;
}

.view-filter-btns .panel__list-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    transition: all 0.2s ease;
    cursor: pointer;
    border-radius: 4px;
    margin: 2px 0;
}

.view-filter-btns .panel__list-item:hover {
    background-color: rgba(239, 131, 84, 0.1);
}



.view-filter-btns .panel__list-item span {
    flex: 1;
    color: #02073e;
}

.view-filter-btns .item-arrow {
    margin-left: auto;
}
#tableQuotesList .table-list thead {
font-size:16px!important;
}

#tableQuotesList .table-list tbody th {
font-size:15px!important;
}


    /* ---------------------------------------------------
       BASE UI & FORMS
       --------------------------------------------------- */

    #leo-new-modern-dashboard * { box-sizing: border-box; }

    #leo-new-modern-dashboard {
        border-radius: 30px 30px 0 0;
        background: #fff4ef !important;
        font-family: 'Sora', sans-serif !important;
        color: #212529 !important;
    }

    #leo-new-modern-dashboard .container {
        background: #fff4ef !important;
        font-family: 'Sora', sans-serif !important;
        color: #212529 !important;
    }

    #leo-new-modern-dashboard .container.py-5 { padding-top: 4rem !important; padding-bottom: 4rem !important; }

    #leo-new-modern-dashboard .card {
        border: none !important;
        border-radius: 20px !important;
        overflow: hidden;
        box-shadow: 0 24px 80px rgba(2,7,62,0.18), 0 4px 16px rgba(2,7,62,0.10) !important;
        background: #fff !important;
    }

    #leo-new-modern-dashboard .card-header.bg-primary {
        background: #02073e !important;
        border-bottom: 4px solid #e8533a !important;
        padding: 2rem 2.5rem !important;
        position: relative;
    }

    #leo-new-modern-dashboard .card-header.bg-primary::before {
        content: '';
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.02) 0px,
            rgba(255,255,255,0.02) 1px,
            transparent 1px,
            transparent 12px
        );
        pointer-events: none;
    }

    #leo-new-modern-dashboard .card-header h3 {
        font-family: 'Sora', sans-serif !important;
        font-weight: 700 !important;
        font-size: 1.35rem !important;
        letter-spacing: 0.02em;
        color: #fff4ef !important;
    }

    #leo-new-modern-dashboard .card-header h3 .fas {
        color: #e8533a !important;
        margin-right: 10px;
    }

    #leo-new-modern-dashboard .card-body.p-5 {
        padding: 2.5rem !important;
        background: #fff !important;
    }

    #leo-new-modern-dashboard .alert-danger {
        background: #fff0ee !important;
        border: 1.5px solid #f5b8b0 !important;
        border-left: 5px solid #e8533a !important;
        color: #a8200d !important;
        border-radius: 10px !important;
        font-size: 0.92rem;
    }

    #leo-new-modern-dashboard .text-center.py-5 i.fa-calendar-times,
    #leo-new-modern-dashboard .text-center.py-5 i.fa-user-shield {
        color: #02073e !important;
        opacity: 0.18;
    }

    #leo-new-modern-dashboard .text-center.py-5 h3 {
        font-weight: 700 !important;
        color: #02073e !important;
        font-size: 1.6rem;
        margin-top: 1rem;
    }

    #leo-new-modern-dashboard .text-center.py-5 p.text-muted {
        color: rgba(2,7,62,0.45) !important;
        font-size: 0.97rem;
        max-width: 340px;
        margin: 0.75rem auto 0;
        line-height: 1.7;
    }

    #leo-new-modern-dashboard .badge-pill.badge-info {
        background: rgba(2,7,62,0.09) !important;
        color: #02073e !important;
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        border: 1.5px solid rgba(2,7,62,0.2) !important;
        padding: 0.45em 1em !important;
    }

    #leo-new-modern-dashboard .badge-pill.badge-warning {
        background: #fff3cd !important;
        color: #856404 !important;
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        border: 1.5px solid #ffc107 !important;
        padding: 0.45em 1em !important;
    }

    #leo-new-modern-dashboard .alert[style*="border-left: 5px solid #31708f"] {
        background: rgba(2,7,62,0.04) !important;
        border-left: 5px solid #02073e !important;
        border-radius: 10px !important;
        font-size: 0.88rem;
        color: #212529 !important;
    }

    #leo-new-modern-dashboard .alert[style*="border-left: 5px solid #31708f"] strong {
        color: #02073e !important;
    }

    #leo-new-modern-dashboard .form-group label {
        width: 180px;
        font-weight: 600;
        font-size: 0.85rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #02073e !important;
        margin-bottom: 0.5rem;
    }

    #leo-new-modern-dashboard .form-control,
    #leo-new-modern-dashboard .form-control-lg {
        border: 2px solid rgba(2,7,62,0.12) !important;
        border-radius: 10px !important;
        background: #fff4ef !important;
        color: #212529 !important;
        font-family: 'Sora', sans-serif !important;
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    #leo-new-modern-dashboard .form-control:focus,
    #leo-new-modern-dashboard .form-control-lg:focus {
        border-color: #02073e !important;
        box-shadow: 0 0 0 3px rgba(2,7,62,0.10) !important;
        background: #fff !important;
        outline: none !important;
    }

    #leo-new-modern-dashboard .iti { width: 100%; }
    #leo-new-modern-dashboard .iti__flag-container { border-radius: 10px 0 0 10px; }

    #leo-new-modern-dashboard #smsCodeInput {
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 1.6rem !important;
        letter-spacing: 14px !important;
        font-weight: 600 !important;
        color: #02073e !important;
        background: #fff4ef !important;
    }

    #leo-new-modern-dashboard .btn {
        font-family: 'Sora', sans-serif !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
        letter-spacing: 0.03em;
        transition: all 0.2s !important;
    }

    #leo-new-modern-dashboard .btn-success,
    #leo-new-modern-dashboard .btn-success.btn-block {
        background: #02073e !important;
        border: 2px solid #02073e !important;
        color: #fff4ef !important;
        padding: 0.8rem 1.5rem !important;
    }

    #leo-new-modern-dashboard .btn-success:hover,
    #leo-new-modern-dashboard .btn-success.btn-block:hover {
        background: #030a55 !important;
        border-color: #030a55 !important;
        transform: translateY(-1px);
        box-shadow: 0 8px 24px rgba(2,7,62,0.2) !important;
    }

    #leo-new-modern-dashboard .btn-primary {
        background: #02073e !important;
        border: 2px solid #02073e !important;
        color: #fff4ef !important;
        padding: 0.6rem 1.5rem !important;
    }

    #leo-new-modern-dashboard .btn-primary:hover {
        background: #030a55 !important;
        border-color: #030a55 !important;
        transform: translateY(-1px);
    }

  

    #leo-new-modern-dashboard .btn-outline-primary {
        background: transparent !important;
        border: 2px solid #02073e !important;
        color: #02073e !important;
    }

    #leo-new-modern-dashboard .btn-outline-primary:hover {
        background: #02073e !important;
        color: #fff4ef !important;
    }

    #leo-new-modern-dashboard .btn-outline-secondary {
        background: transparent !important;
        border: 2px solid rgba(2,7,62,0.12) !important;
        color: #212529 !important;
    }

    #leo-new-modern-dashboard .btn-outline-secondary:hover {
        background: #fff4ef !important;
        border-color: #02073e !important;
        color: #02073e !important;
    }

    #leo-new-modern-dashboard #smsVerificationForm .form-group {
        display: flex;
        flex-direction: row!important;
    }

    #leo-new-modern-dashboard h4.text-center {
        font-weight: 700 !important;
        color: #02073e !important;
        font-size: 1.25rem;
    }

    #leo-new-modern-dashboard p.text-center.small {
        color: rgba(2,7,62,0.45) !important;
        font-size: 0.9rem;
    }

    #leo-new-modern-dashboard #timerContainer {
        color: rgba(2,7,62,0.45) !important;
        font-size: 0.88rem;
    }

    #leo-new-modern-dashboard #smsTimer {
        color: #02073e !important;
        font-family: 'JetBrains Mono', monospace;
        font-weight: 600;
    }

    #leo-new-modern-dashboard #resendContainer p {
        color: #e8533a !important;
    }

    #leo-new-modern-dashboard .alert[style*="background-color:#c4d3e8"],
    #leo-new-modern-dashboard .alert.text-center.text-dark[style] {
        background: rgba(2,7,62,0.06) !important;
        border: 1.5px solid rgba(2,7,62,0.12) !important;
        border-left: 5px solid #02073e !important;
        border-radius: 10px !important;
        color: #212529 !important;
        font-size: 0.92rem;
    }

    #leo-new-modern-dashboard .bg-light.p-4.rounded.border {
        background: #fff4ef !important;
        border: 2px solid rgba(2,7,62,0.12) !important;
        border-radius: 14px !important;
        padding: 1.75rem !important;
    }

    #leo-new-modern-dashboard pre#credentialText {
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 0.93rem !important;
        color: #02073e !important;
        line-height: 1.8;
    }

    #leo-new-modern-dashboard .text-muted { color: rgba(2,7,62,0.45) !important; }
    #leo-new-modern-dashboard h3.font-weight-bold { color: #02073e !important; font-weight: 700 !important; }

    #leo-new-modern-dashboard .shadow-sm { box-shadow: 0 4px 12px rgba(2,7,62,0.10) !important; }
    #leo-new-modern-dashboard .shadow-lg { box-shadow: 0 24px 80px rgba(2,7,62,0.18), 0 4px 16px rgba(2,7,62,0.10) !important; }


    /* ---------------------------------------------------
       PREMIUM MODERN DASHBOARD UI
       --------------------------------------------------- */

    #leo-new-modern-dashboard .modern-dashboard {
        background-color: #f8fafc;
        font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
        color: #0f172a;
        border-radius: 24px;
        overflow: hidden;
        margin-bottom: 30px;
    }

    #leo-new-modern-dashboard .hero-banner {
        border-radius: 30px 30px 0 0;
        background-color: #020617;
        position: relative;
        padding: 40px 30px 100px 30px;
        overflow: hidden;
    }

    #leo-new-modern-dashboard .hero-glow {
        position: absolute;
        top: -100px;
        left: 50%;
        transform: translateX(-50%);
        width: 600px;
        height: 300px;
        background: rgba(99, 102, 241, 0.15);
        filter: blur(100px);
        border-radius: 50%;
        pointer-events: none;
    }

    #leo-new-modern-dashboard .hero-content {
        position: relative;
        z-index: 10;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-end;
        gap: 20px;
    }

    #leo-new-modern-dashboard .hero-title-group {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    #leo-new-modern-dashboard .hero-icon {
        width: 64px;
        height: 64px;
        background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(168,85,247,0.2));
        border: 1px solid rgba(99,102,241,0.3);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        color: #ef8354;
        backdrop-filter: blur(8px);
    }

    #leo-new-modern-dashboard .hero-text h1 {
        color: white;
        font-size: 28px;
        font-weight: 700;
        margin: 0 0 8px 0;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    #leo-new-modern-dashboard .hero-text p {
        color: #94a3b8;
        margin: 0;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    #leo-new-modern-dashboard .status-badge-modern {
        font-size: 11px;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 20px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    
    #leo-new-modern-dashboard .status-badge-active {
        background: rgba(16, 185, 129, 0.1);
        color: #34d399;
        border: 1px solid rgba(16, 185, 129, 0.2);
    }

    #leo-new-modern-dashboard .status-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: #10b981;
        box-shadow: 0 0 8px #10b981;
    }

    #leo-new-modern-dashboard .hero-actions {
        display: flex;
        gap: 12px;
    }

    #leo-new-modern-dashboard .btn-hero {
        padding: 10px 20px;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        gap: 8px;
        text-decoration: none !important;
    }

    #leo-new-modern-dashboard .btn-hero-primary {
        background-color: #6366f1;
        color: white;
        box-shadow: 0 4px 12px rgba(99,102,241,0.3);
        border: none;
    }

    #leo-new-modern-dashboard .btn-hero-primary:hover {
        background-color: #818cf8;
        color: white;
        transform: translateY(-2px);
    }

    #leo-new-modern-dashboard .btn-hero-secondary {
        background-color: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        color: white;
    }

    #leo-new-modern-dashboard .btn-hero-secondary:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

    #leo-new-modern-dashboard .dashboard-body {
        padding: 0 30px 40px 30px;
        margin-top: -60px;
        position: relative;
        z-index: 20;
    }

    #leo-new-modern-dashboard .bento-grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 24px;
    }

    #leo-new-modern-dashboard .bento-col-12 { grid-column: span 12; }
    #leo-new-modern-dashboard .bento-col-8 { grid-column: span 8; }
    #leo-new-modern-dashboard .bento-col-7 { grid-column: span 7; }
    #leo-new-modern-dashboard .bento-col-6 { grid-column: span 6; }
    #leo-new-modern-dashboard .bento-col-5 { grid-column: span 5; }
    #leo-new-modern-dashboard .bento-col-4 { grid-column: span 4; }

    @media (max-width: 991px) {
        #leo-new-modern-dashboard .bento-col-8,
        #leo-new-modern-dashboard .bento-col-7,
        #leo-new-modern-dashboard .bento-col-6,
        #leo-new-modern-dashboard .bento-col-5,
        #leo-new-modern-dashboard .bento-col-4 {
            grid-column: span 12;
        }
        #leo-new-modern-dashboard .hero-content {
            flex-direction: column;
            align-items: flex-start;
        }
    }

    #leo-new-modern-dashboard .bento-card {
        background: white;
        border-radius: 24px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        border: 1px solid #e2e8f0;
        padding: 24px;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    #leo-new-modern-dashboard .bento-header {
        margin-bottom: 20px;
    }

    #leo-new-modern-dashboard .bento-header h3 {
        font-size: 16px;
        font-weight: 700;
        color: #0f172a;
        margin: 0 0 4px 0;
    }

    #leo-new-modern-dashboard .bento-header p {
        font-size: 14px;
        color: #64748b;
        margin: 0;
    }

    #leo-new-modern-dashboard .billing-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
        padding-bottom: 20px;
        border-bottom: 1px solid #f1f5f9;
    }

    #leo-new-modern-dashboard .billing-amount h2 {
        font-size: 28px;
        font-weight: 800;
        color: #4f46e5;
        margin: 0;
    }

    #leo-new-modern-dashboard .billing-amount span {
        font-size: 14px;
        font-weight: 500;
        color: #64748b;
    }

    #leo-new-modern-dashboard .billing-details-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        background: #f8fafc;
        padding: 20px;
        border-radius: 16px;
        border: 1px solid #f1f5f9;
    }

    #leo-new-modern-dashboard .billing-item label {
        display: block;
        font-size: 12px;
        font-weight: 600;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 4px;
    }

    #leo-new-modern-dashboard .billing-item p {
        font-size: 14px;
        font-weight: 600;
        color: #0f172a;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    #leo-new-modern-dashboard .billing-item i { color: #94a3b8; }

    #leo-new-modern-dashboard .power-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        flex-grow: 1;
    }

    #leo-new-modern-dashboard .power-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 20px;
        border-radius: 16px;
        border: 1px solid #f1f5f9;
        background: #f8fafc;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        color: #334155;
        text-decoration: none;
        width: 100%;
    }

    #leo-new-modern-dashboard .power-btn:hover {
        text-decoration: none;
        transform: translateY(-2px);
    }

    #leo-new-modern-dashboard .power-btn.reboot { border-color: #e0e7ff; }
    #leo-new-modern-dashboard .power-btn.reboot i { color: #94a3b8; font-size: 24px; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
    #leo-new-modern-dashboard .power-btn.reboot:hover { background: #eef2ff; border-color: #c7d2fe; color: #4338ca; }
    #leo-new-modern-dashboard .power-btn.reboot:hover i { color: #4f46e5; }

    #leo-new-modern-dashboard .power-btn.manual_reboot { border-color: #fef3c7; }
    #leo-new-modern-dashboard .power-btn.manual_reboot i { color: #94a3b8; font-size: 24px; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
    #leo-new-modern-dashboard .power-btn.manual_reboot:hover { background: #fffbeb; border-color: #fde68a; color: #b45309; }
    #leo-new-modern-dashboard .power-btn.manual_reboot:hover i { color: #d97706; }

    #leo-new-modern-dashboard .power-btn.shutdown {
        grid-column: span 2;
        flex-direction: row;
        background: rgba(239, 68, 68, 0.05);
        border-color: #fee2e2;
        color: #dc2626;
        padding: 16px;
    }

    #leo-new-modern-dashboard .power-btn.shutdown i { color: #ef4444; font-size: 20px; }
    #leo-new-modern-dashboard .power-btn.shutdown:hover { background: #fef2f2; border-color: #fecaca; }

    #leo-new-modern-dashboard .flex-header {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 24px;
    }

    #leo-new-modern-dashboard .icon-box {
        width: 48px;
        height: 48px;
        background: #eef2ff;
        color: #4f46e5;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
    }

    #leo-new-modern-dashboard .os-form-wrapper { display: flex; flex-direction: column; gap: 20px; }
    #leo-new-modern-dashboard .os-select-wrapper { position: relative; }

    #leo-new-modern-dashboard .os-select-wrapper select {
        width: 100%;
        padding: 14px 16px;
        background: white;
        border: 1px solid #cbd5e1;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 500;
        color: #0f172a;
        appearance: none;
        cursor: pointer;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    #leo-new-modern-dashboard .os-select-wrapper select:focus {
        outline: none;
        border-color: #6366f1;
        box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
    }

    #leo-new-modern-dashboard .os-select-wrapper::after {
        content: '\f078';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        pointer-events: none;
    }

    #leo-new-modern-dashboard .warning-box {
        background: #fffbeb;
        border: 1px solid rgba(217, 119, 6, 0.2);
        border-radius: 12px;
        padding: 16px;
        display: flex;
        gap: 12px;
    }

    #leo-new-modern-dashboard .warning-box i { color: #d97706; font-size: 18px; margin-top: 2px; }
    #leo-new-modern-dashboard .warning-box h4 { font-size: 14px; font-weight: 700; color: #92400e; margin: 0 0 4px 0; }
    #leo-new-modern-dashboard .warning-box p { font-size: 13px; color: rgba(146, 64, 14, 0.8); margin: 0; line-height: 1.5; }

    #leo-new-modern-dashboard .btn-install {
        background: #4f46e5;
        color: white;
        border: none;
        padding: 14px 24px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        cursor: pointer;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    #leo-new-modern-dashboard .btn-install:hover:not(:disabled) { background: #4338ca; box-shadow: 0 4px 12px rgba(99,102,241,0.2); }
    #leo-new-modern-dashboard .btn-install:disabled { background: #e2e8f0; color: #94a3b8; cursor: not-allowed; }

    #leo-new-modern-dashboard .danger-zone {
        border-color: #fecaca;
        position: relative;
    }

    #leo-new-modern-dashboard .btn-cancel-server {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 24px;
        background: white;
        border: 2px solid #fecaca;
        color: #dc2626;
        border-radius: 12px;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none !important;
        margin-top: 10px;
        width: fit-content;
    }

    #leo-new-modern-dashboard .btn-cancel-server:hover:not(.disabled) {
        background: #fef2f2;
        border-color: #fca5a5;
        color: #b91c1c;
    }

    #leo-new-modern-dashboard .btn-cancel-server.disabled { opacity: 0.6; cursor: not-allowed; }

    #leo-new-modern-dashboard .modern-sub-tabs {
        background: rgba(255,255,255,0.8);
        backdrop-filter: blur(10px);
        padding: 6px;
        border-radius: 16px;
        border: 1px solid #e2e8f0;
        display: inline-flex;
        flex-wrap: wrap;
        margin: 0 30px 24px 30px;
        gap: 4px;
    }

    #leo-new-modern-dashboard .modern-sub-tabs .nav-item { margin: 0; }
    
    #leo-new-modern-dashboard .modern-sub-tabs .nav-link {
        padding: 8px 16px;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
        color: #64748b;
        border: none;
        background: transparent;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    #leo-new-modern-dashboard .modern-sub-tabs .nav-link:hover { color: #0f172a; background: #f1f5f9; border: none; }
    
    #leo-new-modern-dashboard .modern-sub-tabs .nav-link.active {
        background: #0f172a;
        color: white;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        border: none;
    }

    #leo-new-modern-dashboard .modern-sub-tabs .nav-link i { font-size: 14px; }
    #leo-new-modern-dashboard .modern-sub-tabs .nav-link.active i { color: #818cf8; }

    #leo-new-modern-dashboard .tab-content-wrapper { padding: 0 30px 30px 30px; }

    #leo-new-modern-dashboard .modal-content { border-radius: 16px; border: none; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
    #leo-new-modern-dashboard .modal-header { border-bottom: 1px solid #f1f5f9; background: #f8fafc; border-radius: 16px 16px 0 0; padding: 20px 24px; }
    #leo-new-modern-dashboard .modal-title { font-weight: 700; color: #0f172a; }
    #leo-new-modern-dashboard .modal-body { padding: 24px; }
    #leo-new-modern-dashboard .modal-footer { border-top: 1px solid #f1f5f9; padding: 20px 24px; }
    #leo-new-modern-dashboard .modal-footer .btn { border-radius: 8px; padding: 10px 20px; font-weight: 600; }



    /* ===========view-credentials=========== */






       #leo-new-viewcre * { box-sizing: border-box; }

    #leo-new-viewcre,
    #leo-new-viewcre .container {
       
        font-family: 'Sora', sans-serif !important;
        color: #212529 !important;
    }

    #leo-new-viewcre .container.py-5 { padding-top: 4rem !important; padding-bottom: 4rem !important; }

    #leo-new-viewcre .card {
        border: none !important;
        border-radius: 20px !important;
        overflow: hidden;
        box-shadow: 0 24px 80px rgba(2,7,62,0.18), 0 4px 16px rgba(2,7,62,0.10) !important;
        background: #fff !important;
    }

    #leo-new-viewcre .card-header.bg-primary {
        background: #02073e !important;
        border-bottom: 4px solid #e8533a !important;
        padding: 2rem 2.5rem !important;
        position: relative;
    }

    #leo-new-viewcre .card-header.bg-primary::before {
        content: '';
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.02) 0px,
            rgba(255,255,255,0.02) 1px,
            transparent 1px,
            transparent 12px
        );
        pointer-events: none;
    }

    #leo-new-viewcre .card-header h3 {
        font-family: 'Sora', sans-serif !important;
        font-weight: 700 !important;
        font-size: 1.35rem !important;
        letter-spacing: 0.02em;
        color: #fff4ef !important;
    }

    #leo-new-viewcre .card-header h3 .fas {
        color: #e8533a !important;
        margin-right: 10px;
    }

    #leo-new-viewcre .card-body.p-5 {
        padding: 2.5rem !important;
        background: #fff !important;
    }

    #leo-new-viewcre .alert-danger {
        background: #fff0ee !important;
        border: 1.5px solid #f5b8b0 !important;
        border-left: 5px solid #e8533a !important;
        color: #a8200d !important;
        border-radius: 10px !important;
        font-size: 0.92rem;
    }

    #leo-new-viewcre .text-center.py-5 i.fa-calendar-times,
    #leo-new-viewcre .text-center.py-5 i.fa-user-shield {
        color: #02073e !important;
        opacity: 0.8;
    }

    #leo-new-viewcre .text-center.py-5 h3 {
        font-weight: 700 !important;
        color: #02073e !important;
        font-size: 1.6rem;
        margin-top: 1rem;
    }

    #leo-new-viewcre .text-center.py-5 p.text-muted {
        color: rgba(2,7,62,0.45) !important;
        font-size: 0.97rem;
        max-width: 340px;
        margin: 0.75rem auto 0;
        line-height: 1.7;
    }

    #leo-new-viewcre .badge-pill.badge-info {
        background: rgba(2,7,62,0.09) !important;
        color: #02073e !important;
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        border: 1.5px solid rgba(2,7,62,0.2) !important;
        padding: 0.45em 1em !important;
    }

    #leo-new-viewcre .badge-pill.badge-warning {
        background: #fff3cd !important;
        color: #856404 !important;
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        border: 1.5px solid #ffc107 !important;
        padding: 0.45em 1em !important;
    }

    #leo-new-viewcre .alert[style*="border-left: 5px solid #31708f"] {
        background: rgba(2,7,62,0.04) !important;
        border-left: 5px solid #02073e !important;
        border-radius: 10px !important;
        font-size: 0.88rem;
        color: #212529 !important;
    }

    #leo-new-viewcre .alert[style*="border-left: 5px solid #31708f"] strong {
        color: #02073e !important;
    }

    #leo-new-viewcre .form-group label {
        width: 180px;
        font-weight: 600;
        font-size: 0.85rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #02073e !important;
        margin-bottom: 0.5rem;
    }

    #leo-new-viewcre .form-control,
    #leo-new-viewcre .form-control-lg {
        border: 2px solid rgba(2,7,62,0.12) !important;
        border-radius: 10px !important;
        background: #fff4ef !important;
        color: #212529 !important;
        font-family: 'Sora', sans-serif !important;
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
        transition: border-color 0.2s, box-shadow 0.2s;
        padding-left: 48px !important;
    }

    #leo-new-viewcre .form-control:focus,
    #leo-new-viewcre .form-control-lg:focus {
        border-color: #02073e !important;
        box-shadow: 0 0 0 3px rgba(2,7,62,0.10) !important;
        background: #fff !important;
        outline: none !important;
    }

    #leo-new-viewcre .iti { width: 100%; }
    #leo-new-viewcre .iti__flag-container { border-radius: 10px 0 0 10px; }

    #leo-new-viewcre #smsCodeInput {
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 1.6rem !important;
        letter-spacing: 14px !important;
        font-weight: 600 !important;
        color: #02073e !important;
        background: #fff4ef !important;
    }

    #leo-new-viewcre .btn {
        font-family: 'Sora', sans-serif !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
        letter-spacing: 0.03em;
        transition: all 0.2s !important;
    }

    #leo-new-viewcre .btn-success,
    #leo-new-viewcre .btn-success.btn-block {
        margin-bottom:20px!important;
            display: flex!important;
        width: max-content!important;
        background: #02073e !important;
        border: 2px solid #02073e !important;
        color: #fff4ef !important;
        padding: 0.8rem 1.5rem !important;
    }

    #leo-new-viewcre .btn-success:hover,
    #leo-new-viewcre .btn-success.btn-block:hover {
        background: #030a55 !important;
        border-color: #030a55 !important;
        transform: translateY(-1px);
        box-shadow: 0 8px 24px rgba(2,7,62,0.2) !important;
    }

    #leo-new-viewcre .btn-primary {
        background: #02073e !important;
        border: 2px solid #02073e !important;
        color: #fff4ef !important;
        padding: 0.6rem 1.5rem !important;
    }

    #leo-new-viewcre .btn-primary:hover {
        background: #030a55 !important;
        border-color: #030a55 !important;
        transform: translateY(-1px);
    }



    #leo-new-viewcre .btn-outline-primary {
        background: transparent !important;
        border: 2px solid #02073e !important;
        color: #02073e !important;
    }

    #leo-new-viewcre .btn-outline-primary:hover {
        background: #02073e !important;
        color: #fff4ef !important;
    }

    #leo-new-viewcre .btn-outline-secondary {
        background: transparent !important;
        border: 2px solid rgba(2,7,62,0.12) !important;
        color: #212529 !important;
    }

    #leo-new-viewcre .btn-outline-secondary:hover {
        background: #fff4ef !important;
        border-color: #02073e !important;
        color: #02073e !important;
    }

    #leo-new-viewcre #smsVerificationForm .form-group {
        display: flex;
        flex-direction: row!important;
    }

    /* ── Verify step headings ── */
    #leo-new-viewcre h4.text-center {
        font-weight: 700 !important;
        color: #02073e !important;
        font-size: 1.25rem;
    }

    #leo-new-viewcre p.text-center.small {
        color: rgba(2,7,62,0.45) !important;
        font-size: 0.9rem;
    }

    /* ── Timer ── */
    #leo-new-viewcre #timerContainer {
        color: rgba(2,7,62,0.45) !important;
        font-size: 0.88rem;
    }

    #leo-new-viewcre #smsTimer {
        color: #02073e !important;
        font-family: 'JetBrains Mono', monospace;
        font-weight: 600;
    }

    #leo-new-viewcre #resendContainer p {
        color: #e8533a !important;
    }

    /* ── Reveal step ── */
    #leo-new-viewcre .alert[style*="background-color:#c4d3e8"],
    #leo-new-viewcre .alert.text-center.text-dark[style] {
        background: rgba(2,7,62,0.06) !important;
        border: 1.5px solid rgba(2,7,62,0.12) !important;
        border-left: 5px solid #02073e !important;
        border-radius: 10px !important;
        color: #212529 !important;
        font-size: 0.92rem;
    }

    /* Credential box */
    #leo-new-viewcre .bg-light.p-4.rounded.border {
        background: #fff4ef !important;
        border: 2px solid rgba(2,7,62,0.12) !important;
        border-radius: 14px !important;
        padding: 1.75rem !important;
    }

    #leo-new-viewcre pre#credentialText {
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 0.93rem !important;
        color: #02073e !important;
        line-height: 1.8;
    }

    /* ── Misc text ── */
    #leo-new-viewcre .text-muted { color: rgba(2,7,62,0.45) !important; }
    #leo-new-viewcre h3.font-weight-bold { color: #02073e !important; font-weight: 700 !important; }

    /* ── Shadows ── */
    #leo-new-viewcre .shadow-sm { box-shadow: 0 4px 12px rgba(2,7,62,0.10) !important; }
    #leo-new-viewcre .shadow-lg { box-shadow: 0 24px 80px rgba(2,7,62,0.18), 0 4px 16px rgba(2,7,62,0.10) !important; }
    
            /* Override the default intl-tel-input globe */
.iti__globe {
    background-image: none !important; /* Remove the default globe SVG */
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Insert the FontAwesome Phone Icon */
.iti__globe::before {
    content: "\f095"; /* FontAwesome unicode for 'phone' */
    font-family: "Font Awesome 5 Free";
    font-weight: 900; /* Font weight 900 is required for FA Solid icons */
    font-size: 12px; 
    color: #4b5563; /* Matches your UI's text color */
}