@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700&display=swap');

/* header */
/* ==============================================================
   WHMCS HEADER EXACT MATCH CUSTOMIZATION (Responsive)
   ============================================================== */

   body {
    padding-top: 0 !important;
    font-family: Poppins !important;
}

.main-content {
    margin-bottom: 0px;
}

.dropdown-menu{
         background: #fff;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 15%);
    border: none; 
}

/* --- 1. Main Top Navbar Background & Red Separator Line --- */
.custom-navbar {
    background-color: #010424 !important; /* Dark Blue */
    padding: 12px 20px !important;
    border-bottom: 2px solid #d30000 !important; /* EXACT Red Separator */
}

/* Flex layout to keep Logo, Menu, and Search in one row on desktop */
.custom-navbar .mobi-con {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
}

#unifiedNavbarContent{
        margin-left: 200px;
}

.serverop-drop{
    background-color: white !important;
}

@media (max-width: 768px) {
    #verifyBanner {
        top: 27px !important;

    }}


@media (max-width: 1024px) {
    #unifiedNavbarContent {
        margin-left: 0px !important;

    }}
/* --- 2. Main Menu Links --- */
@media (min-width: 1200px) {
    #unifiedNavbarContent {
        display: flex !important;
        flex-grow: 1 !important;
        align-items: center !important;
    }
    .custom-navbar .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 30px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .mobile-togle {
        display: none !important;
    }
}





.custom-navbar .nav-link.nr-link {
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    padding: 5px 0 !important;
    white-space: nowrap !important;
}

.custom-navbar .nav-link.nr-link i {
    font-size: 11px !important;
    margin-left: 6px !important;
}

/* --- 3. Search Box Styling (Exact Match) --- */
#serach-div {
    display: flex !important;
    align-items: center !important;
    margin-left: 65px !important;
}

.new-search-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.header-search-input {
    background-color: #f8f9fa !important;
    border: 2px solid #d30000 !important; /* Red Border */
    border-radius: 6px !important; /* Rounded corners */
    padding: 8px 15px 8px 38px !important;
    width: 250px !important;
    color: #333 !important;
    font-size: 14px !important;
    outline: none !important;
}

.header-search-input::placeholder {
    color: #777 !important;
}

.search-icon {
    position: absolute !important;
    left: 12px !important;
    color: #010424 !important;
    font-size: 16px !important;
    z-index: 2 !important;
}
.search-icon{
    color: white !important;
}

/* --- 4. Secondary Navbar (Breadcrumbs, Hello, Support, Cart) --- */
.whmcs-navbar {
    background-color: #010424 !important;
    padding: 12px 20px !important;
    border: none !important;
    top: 78px !important;
    height: 52px;
    background-color: white !important;
}

.whmcs-navbar .container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 100% !important;
}

/* Breadcrumbs (PORTAL HOME / Client Area) */
.custom-header-breadcrumb .breadcrumb {
    background: #01012b00 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    color: antiquewhite;
}

.custom-header-breadcrumb .breadcrumb-item,
.custom-header-breadcrumb .breadcrumb-item a {
    color: #01012b !important; /* Light white */
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

.custom-header-breadcrumb .breadcrumb-item.active {
    color: #01012b !important;
    font-weight: bold !important;
}

.custom-header-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "/" !important;
    color: #01012b !important;
    padding: 0 10px !important;
}

.sidebar{
     width: 100% !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

#main-body .sidebar{
    border: none !important;
}

.whmcs-navbar{
    height: 52px !important;
    background-color: white !important;
}

.topbar{
     height: fit-content !important;
}

.custom-header-breadcrumb mr-auto{
     color: #01012b;
}

.cart-btn{
    color: #01012b !important;
}

/* Right Side Links (Hello Name, Notification Bell, Support) */
.whmcs-navbar .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.whmcs-navbar .navbar-nav .nav-link {
    color: #01012b !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.dropdown-toggle{
    color: #01012b !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

/* Notification Bell with Dot */
.whmcs-navbar .navbar-nav .nav-link .fa-bell,
.whmcs-navbar .navbar-nav .nav-link .fa-flag {
    font-size: 16px !important;
    position: relative !important;
}
/* Yellow dot indicator for notifications */
.whmcs-navbar .navbar-nav .nav-link .label-info,
.whmcs-navbar .navbar-nav .nav-link .badge {
    position: absolute !important;
    top: -5px !important;
    right: -8px !important;
    background-color: #ff9800 !important;
    border-radius: 50% !important;
    width: 8px !important;
    height: 8px !important;
    color: transparent !important; /* Hide number, show dot */
    padding: 0 !important;
}


.verification-banner {
    padding: 56px !important;
}

/* Cart Button Box (Exact Match) */
.whmcs-navbar .cart-btn {
    border: 1px solid #ffffff !important;
    border-radius: 4px !important;
    padding: 6px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    background: transparent !important;
    color: #ffffff !important;
    height: 38px !important;
    margin-left: 10px !important;
}

.whmcs-navbar .cart-btn i {
    font-size: 16px !important;
}

.whmcs-navbar .cart-btn .badge {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    background-color: #0ab9c2 !important; /* Cyan Badge */
    color: #ffffff !important;
    border-radius: 50% !important;
    padding: 3px 6px !important;
    font-size: 11px !important;
    font-weight: bold !important;
    min-width: 18px !important;
    text-align: center !important;
}

/* Remove default "Cart" text inside the button if it exists, keeping only icon */
.whmcs-navbar .cart-btn .sr-only {
    display: none !important;
}

/* --- 5. Verify Email Alert Box (Exact Match) --- */
.verify-email-alert, 
.alert-warning {
    background-color: #a7a7a7 !important; /* Gray Background */
    border: none !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 20px !important;
    margin: 0 !important;
}

.verify-email-alert .btn, 
.alert-warning .btn {
    background-color: #c01b1b !important; /* Dark Red Button */
    color: #ffffff !important;
    border: none !important;
    padding: 6px 20px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}

.email-button{
     padding-left: 125px;
}



/* ==============================================================
   MOBILE RESPONSIVENESS
   ============================================================== */
@media (max-width: 1199px) {
    .custom-navbar .mobi-con {
        flex-wrap: wrap !important;
    }
    .logo {
        flex-grow: 1 !important;
    }
    
    /* Mobile Dropdown Menu */
    #unifiedNavbarContent {
        width: 100% !important;
        background-color: #010424 !important;
        margin-top: 15px !important;
        padding: 15px !important;
        border-top: 1px solid #333 !important;
        position: absolute !important;
        z-index: 999 !important;
        left: 0 !important;
        top: 60px !important;
    }
    
    .custom-navbar .nav-menu {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    
    #serach-div {
        margin-left: 0 !important;
        margin-top: 20px !important;
        width: 100% !important;
    }
    
    .header-search-input {
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    /* Stack secondary navbar items on very small screens */
    .whmcs-navbar .container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0px !important;
    }
    
    .whmcs-navbar .d-flex.align-items-center.ml-auto {
        width: 100% !important;
        justify-content: space-between !important;
    }
    
    .whmcs-navbar .navbar-nav {
        gap: 10px !important;
    }
    
    .whmcs-navbar .navbar-nav .nav-link {
        font-size: 13px !important;
    }
    
    .custom-header-breadcrumb .breadcrumb {
        font-size: 12px !important;
    }
}

@media (max-width: 767px) {
    #whye {
        max-width: 324px !important;
    }

    .locations-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    }
}

#whye{
    width: max-content !important;
}

.navbar-collapse {
    background: none !important;
}

header.header .logo-img {
    max-width: 100% !important;
    max-height: fit-content !important;
}

.sub-nav{
    padding-right: 171px !important;
}


@media (max-width: 767px) {
     .sub-nav {
        padding-right: 35px !important;
}
}

.dropdown-content #servrop{
     color: #ffffff !important; 
}

.servrop{
      color: #ffffff !important; 
}

.company-div{
      gap: 10px;
    flex-direction: column !important;
    display: flex;
    background: #fff;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: none;

}

/* header */



/* --- Email Verification & Alert Banners (Image Match) --- */
.verification-banner, 
.alert-warning {
    background-color: #fff8e1 !important;
    border: none !important;
    border-left: 4px solid #f59e0b !important;
    color: #92400e !important;
    padding: 14px 24px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 4px !important;
    margin-bottom: 25px !important;
    width: 100% !important;
    margin-top: 45px;
}

.verification-banner i, 
.alert-warning i.fa-exclamation-triangle {
    color: #f59e0b !important;
    font-size: 16px !important;
    margin-right: 12px !important;
}

.verification-banner .btn, 
.alert-warning .btn {
    background-color: transparent !important;
    border: 1px solid #f59e0b !important;
    color: #92400e !important;
    border-radius: 6px !important;
    padding: 5px 15px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    width: fit-content;
}

.verification-banner .btn:hover, 
.alert-warning .btn:hover {
    background-color: #f59e0b !important;
    color: #fff !important;
}

/* --- Clean Breadcrumb (Image Match) --- */
.custom-header-breadcrumb .breadcrumb {
    background: transparent !important;
    padding: 15px 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.custom-header-breadcrumb .breadcrumb-item,
.custom-header-breadcrumb .breadcrumb-item a {
    color: #0d1b3e !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
}

.custom-header-breadcrumb .breadcrumb-item.active {
    color: #2eaef3 !important; /* Blue for current page */
    font-weight: 700 !important;
}

.custom-header-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "/" !important;
    color: #8899b4 !important; /* Muted gray separator */
    font-size: 12px !important;
    padding: 0 10px !important;
}

/* Make sure mobile looks good */
@media (max-width: 767px) {
    .verification-banner, .alert-warning {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
}

@media (min-width: 1200px) {
    .container
 {
        max-width: 1700px !important;
    }
}

/* --- Quick Access Dropdown Styles --- */
.nca-widget-item[data-toggle="collapse"] .toggle-icon,
.nca-widget-item[data-bs-toggle="collapse"] .toggle-icon {
    transition: transform 0.3s ease !important;
}

/* Rotate arrow when dropdown is open */
.nca-widget-item[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg) !important;
}

.quick-access-menu {
    background-color: #f8fafc !important; /* Slightly distinct background for dropdown */
    border-bottom: 1px solid var(--border) !important;
}

.nca-widget-item.sub-item {
    padding-left: 45px !important; /* Indent sub items */
    font-size: 13.5px !important;
    background: transparent !important;
}

.nca-widget-item.sub-item:hover {
    background-color: #f0f7ff !important;
}


/* ==============================================================
   LEFT SIDEBAR STICKY & ACTIVE STATES
   ============================================================== */

/* Make the sidebar sticky when scrolling */
.sticky-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 140px; 
    z-index: 99;
    align-self: flex-start; 
}

/* Active Menu Item Styling */
.nca-widget-item.active-nav {
    background-color: #00013712 !important;
    color: var(--navy) !important;
    font-weight: 700 !important;
}

/* Active Menu Item Icon Color */
.nca-widget-item.active-nav .s-icon,
.nca-widget-item.active-nav .s-icon i {
    color: var(--blue) !important;
}

/* Active State for Sub Items (Quick Access) */
.nca-widget-item.sub-item.active-nav {
    background-color: #f0f7ff !important;
    border-left: none !important;
    font-weight: 700 !important;
}

/* Mobile waladi sticky eka off kireema (Scroll issues nathi wenna) */
@media (max-width: 991px) {
    .sticky-sidebar {
        position: relative;
        top: 0;
    }
}

section#main-body{
        margin: 0;
    padding: 65px 0px;
    min-height: 350px;
}

/* header */






  /* --- CUSTOM CLIENT AREA STYLES --- */
  /* ====================================== */
  :root {
    --navy:   #000036;
    --blue:   #2eaef3;
    --red:    #fc1c44;
    --surface:#f4f7fb;
    --border: #e4eaf3;
    --muted:  #8899b4;
    --text:   #0d1b3e;
    --card-shadow: 0 2px 18px rgba(0,0,54,.07);
  }
   .sidebar{
        max-width: 385px !important;
   }

  /* SIDEBAR STYLES */
  .profile-card { background: var(--navy); border-radius: 16px; padding: 28px 24px; color: #fff; position: relative; overflow: hidden; margin-bottom: 20px; } 
  .profile-card::after { content: ''; position: absolute; bottom: -30px; left: -20px; width: 100px; height: 100px; border-radius: 50%; background: rgba(252,28,68,.07); }
  .profile-card .label {font-size: 14px;font-weight: 900;letter-spacing: 1.5px;color: #ffffff;text-transform: uppercase;margin-bottom: 14px;display: flex;align-items: center;gap: 7px;}
  .profile-card .label::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.12); }
  .profile-card .company {font-size: 20px;font-weight: 800;margin-bottom: 2px;text-transform: capitalize;}
  .profile-card .name {font-size: 15px;/* color: rgba(255,255,255,.65); */margin-bottom: 12px;}
  .profile-card .address {font-size: 16px;color: rgba(255,255,255,.8);line-height: 1.7;}
  .profile-card .update-btn {display: flex;align-items: center;justify-content: center;gap: 8px;width: 100%;margin-top: 20px;padding: 11px;background: #c70000;color: #fff;border: none;border-radius: 10px;font-size: 13px;font-weight: 700;text-decoration: none;transition: background .2s;position: relative;z-index: 1;}
  .profile-card .update-btn:hover { background: #d0142c; color: #fff; text-decoration: none; }

  .nca-widget { background: #fff; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; box-shadow: var(--card-shadow); margin-bottom: 20px; }
  .nca-widget-header {padding: 16px 20px 12px;font-size: 15px;font-weight: 700;letter-spacing: 1.5px;color: #000036;text-transform: uppercase;border-bottom: 1px solid var(--border);}
  .nca-widget-item {display: flex;align-items: center;justify-content: space-between;padding: 14px 20px;text-decoration: none;color: var(--text);font-size: 16px;font-weight: 600;border-bottom: 1px solid var(--border);transition: background .15s;}
  .nca-widget-item:hover { background: #f0f7ff; text-decoration: none; border-left-color: var(--blue); }
  .nca-widget-item:last-child { border-bottom: none; }
  .nca-widget-item .s-left { display: flex; align-items: center; gap: 12px; }
  .nca-widget-item .s-icon { width: 34px; height: 34px; border-radius: 8px; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--navy); }
  .nca-widget-item.red .s-icon { background: #fff0f2; color: var(--red); }
  .nca-widget-item.blue .s-icon { background: #e8f5fd; color: var(--blue); }
  .nca-widget-item .s-count {font-size: 16px;font-weight: 800;color: var(--navy);background: var(--surface);padding: 2px 10px;border-radius: 20px;}
  .nca-widget-item.red .s-count { background: #fff0f2; color: var(--red); }
  .nca-widget-item .arrow { margin-left: auto; color: #000000; font-size: 11px; }

  /* MAIN CONTENT STYLES */
  .stat-cards {display: grid;grid-template-columns: repeat(5, 1fr);gap: 14px;margin-bottom: 20px;}
  .stat-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 18px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 10px; box-shadow: var(--card-shadow); transition: transform .2s; position: relative; overflow: hidden; }
  .stat-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--border); transition: background .2s; }
  .stat-card:hover { transform: translateY(-3px); text-decoration: none; }
  .stat-card:hover::after { background: var(--blue); }
  .stat-card.danger:hover::after { background: var(--red); }
  .stat-card .sc-top { display: flex; align-items: center; justify-content: space-between; }
  .stat-card .sc-label {font-size: 17px;font-weight: 700;text-transform: uppercase;color: var(--muted);}
  .stat-card .sc-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
  .stat-card .sc-icon.navy { background: rgba(0,0,54,.06); color: var(--navy); }
  .stat-card .sc-icon.blue { background: rgba(46,174,243,.1); color: var(--blue); }
  .stat-card .sc-icon.red { background: rgba(252,28,68,.08); color: var(--red); }
  .stat-card .sc-value { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1; }
  .stat-card.danger .sc-value { color: var(--red); }
  .credit-sc{font-size: 20px !important;}


  .panels-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .nca-panel { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--card-shadow); }
  .nca-panel.full { grid-column: span 2; }
  .nca-panel .panel-head { padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
  .nca-panel .panel-title { font-size: 17px; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 10px; margin: 0; }
  .nca-panel .panel-title i { width: 32px; height: 32px; border-radius: 8px; background: rgba(0,0,54,.05); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--navy); }
  .nca-panel .panel-title i.red-icon { background: rgba(252,28,68,.07); color: var(--red); }
  .nca-panel .panel-title i.blue-icon { background: rgba(46,174,243,.09); color: var(--blue); }
  .nca-panel .panel-link { font-size: 12px; font-weight: 700; color: var(--blue); text-decoration: none; padding: 7px 14px; border: 1.5px solid var(--border); border-radius: 8px; transition: background .15s; }
  .nca-panel .panel-link:hover { background: var(--surface); border-color: var(--blue); text-decoration: none; }
  .nca-panel .panel-link.danger { color: var(--red); }
  .nca-panel .panel-link.danger:hover { border-color: var(--red); background: #fff0f2; }
  .nca-panel .panel-body { padding: 20px 24px; }

  .overdue-box { display: flex; align-items: flex-start; gap: 14px; background: #fff5f6; border: 1px solid rgba(252,28,68,.18); border-radius: 12px; padding: 18px 20px; }
  .overdue-box .ob-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(252,28,68,.1); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--red); }
  .overdue-box .pay-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; padding: 10px 20px; border-radius: 9px; font-size: 12.5px; font-weight: 700; text-decoration: none; }
  
  .list-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text); }
  .list-item:hover { text-decoration: none; }
  .list-item:last-child { border-bottom: none; padding-bottom: 0; }
  .list-item:first-child { padding-top: 0; }
  .list-item .li-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
  .list-item .li-icon.navy { background: rgba(0,0,54,.05); color: var(--navy); }
  .list-item .li-icon.blue { background: rgba(46,174,243,.08); color: var(--blue); }
  .list-item .li-info { flex: 1; min-width: 0; }
  .list-item .li-title { font-size: 15px; font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .status-pill { font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
  .status-pill.active, .status-pill.answered { background: #e6f9f1; color: #0a7a4b; border-color: #a7ecd0; }
  .status-pill.suspended, .status-pill.closed { background: #f0f2f5; color: #64748b; border-color: #e0e4ea; }
  .status-pill.pending, .status-pill.open { background: #e8f0fe; color: #1a56db; border-color: #93c5fd; }

  @media (max-width: 1100px) { .stat-cards { grid-template-columns: repeat(3, 1fr); } .panels-grid { grid-template-columns: 1fr; } .nca-panel.full { grid-column: span 1; } }
  @media (max-width: 900px) { .stat-cards { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 540px) { .stat-cards { grid-template-columns: 1fr 1fr; } }


  /* --- CUSTOM CLIENT AREA STYLES --- */



/* ======================================clientareahome========================= */
/* ============================================================================= */



/* ==============================================================
   CUSTOM PRODUCTS & SERVICES PAGE STYLES (Equal Height Cards & Clean Tabs)
   ============================================================== */
.panel-link.danger i{
    color: #fc1c44;
}
.panel-link i{
        color: var(--blue);
}

.custom-services-page {
    --navy-l:   #0a0a5c;
    --shadow-sm:  0 2px 14px rgba(0,0,54,.06);
    --shadow-md:  0 4px 24px rgba(0,0,54,.10);
    --shadow-lg:  0 10px 36px rgba(0,0,54,.14);
    --text-soft:  #4a5578;
    width: 100%;
    max-width: 100%;
}

.custom-services-page .main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    min-width: 0;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Page Hero */
.custom-services-page .page-hero { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow-sm); overflow: hidden; position: relative; flex-wrap: wrap; gap: 15px; }
.custom-services-page .page-hero::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 200px; background: linear-gradient(135deg, transparent, rgba(46,174,243,.04)); pointer-events: none; }
.custom-services-page .hero-eyebrow {font-size: 11px;font-weight: 700;letter-spacing: 1.5px;color: var(--blue);text-transform: uppercase;margin-bottom: 5px;display: flex;align-items: center;gap: 6px;}
.custom-services-page .hero-eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; }
.custom-services-page .hero-title { font-size: 24px !important; font-weight: 800; color: var(--navy); margin-bottom: 3px; }
.custom-services-page .hero-sub {font-size: 14px;color: var(--muted);}
.custom-services-page .hero-stats { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.custom-services-page .hero-stat { text-align: center; padding: 13px 20px; background: var(--surface); border-radius: 12px; border: 1px solid var(--border); flex-grow: 1; }
.custom-services-page .hs-num { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1; }
.custom-services-page .hs-label { font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; margin-top: 3px; }
.custom-services-page .hero-stat.blue .hs-num {color: #00964a;}
.custom-services-page .hs-num-c { color: #a5a5a5 !important; }

/* Controls Bar */
.custom-services-page .controls-bar { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; display: flex; justify-content: space-between; gap: 15px; box-shadow: var(--shadow-sm); flex-wrap: wrap; flex-direction: column; }

/* Underline Tabs Design */
.custom-services-page .status-tabs { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; width: 100%; padding-bottom: 0; justify-content: space-between; }
.status-tabs-div { display: flex; gap: 20px; flex-wrap: wrap; }
.custom-services-page .stab { padding: 8px 0 14px 0; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; border-radius: 0; transition: color .2s; border: none; display: flex; align-items: center; gap: 8px; user-select: none; position: relative; margin-bottom: -1px; background: transparent; white-space: nowrap; }
.custom-services-page .stab:hover { color: var(--navy); background: transparent; }
.custom-services-page .stab.active { color: var(--navy); font-weight: 800; background: transparent; }
.custom-services-page .stab.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: #c70000eb; border-radius: 3px 3px 0 0; }
.custom-services-page .stab .cnt { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 12px; transition: all .2s; }
.custom-services-page .stab.active .cnt { background: var(--navy); color: #fff; }
.custom-services-page .stab:not(.active) .cnt { background: #f1f5f9; color: var(--navy); }

/* Search and View Toggles */
.custom-services-page .ctrl-right { display: flex; align-items: center; gap: 10px; width: 100%; justify-content: space-between; margin-top: 5px; flex-wrap: wrap; }
.custom-services-page .view-toggle { display: flex; background: var(--surface); padding: 3px; border-radius: 9px; gap: 3px; border: 1px solid var(--border); }
.custom-services-page .vt-btn { background: transparent; border: none; padding: 7px 13px; border-radius: 7px; cursor: pointer; color: var(--muted); font-size: 13px; transition: all .2s; }
.custom-services-page .vt-btn:hover { background: #fff; color: var(--text); }
.custom-services-page .vt-btn.active {background: #c70000eb;color: #fff;box-shadow: 0 2px 8px rgba(46,174,243,.25);}

.custom-services-page .search-en {display: flex; align-items: center; gap: 10px; flex-wrap: wrap;}
.custom-services-page .search-wrap { position: relative; width: 100%; max-width: 280px; }
.custom-services-page .search-wrap i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 12px; pointer-events: none; }
.custom-services-page .search-input { padding: 9px 14px 9px 36px; border: 1.5px solid var(--border); border-radius: 9px; font-size: 13px; color: var(--text); background: var(--surface); width: 100%; transition: all .2s; }
.custom-services-page .search-input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(46,174,243,.1); }

/* Action Buttons */
.custom-services-page .action-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.custom-services-page .action-btn {display: inline-flex;align-items: center;justify-content: center; gap: 7px;padding: 9px 15px;font-size: 13px;font-weight: 600;border-radius: 9px;text-decoration: none;transition: all .2s;cursor: pointer;border: none;}
.custom-services-page .btn-pa {background: #002796;color: #fff;}
.custom-services-page .btn-pa:hover { background: #2499d8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(46,174,243,.25); color: #fff; }
.custom-services-page .btn-sa { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); }
.custom-services-page .btn-sa:hover { background: #fff; border-color: #f5a114; color: #f5a114; }

/* =========================================
   GRID VIEW (EQUAL HEIGHT ALIGNMENT FIX)
   ========================================= */
.custom-services-page .grid-view { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.custom-services-page .grid-view.hidden, .custom-services-page .table-view.hidden { display: none; }

.custom-services-page .svc-card { 
    background: #fff; 
    border: 1.5px solid var(--border); 
    border-radius: 16px; 
    overflow: hidden; 
    box-shadow: var(--shadow-sm); 
    transition: transform .25s, box-shadow .25s, border-color .25s; 
    position: relative; 
    display: flex;           /* Added for Equal Height */
    flex-direction: column;  /* Added for Equal Height */
    height: 100%;            /* Fills Grid Cell */
}
.custom-services-page .svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(46,174,243,.3); }
.custom-services-page .svc-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.custom-services-page .svc-card.active::before { background: linear-gradient(90deg, #059669, #34d399); }
.custom-services-page .svc-card.cancelled::before, .custom-services-page .svc-card.terminated::before { background: linear-gradient(90deg, #94a3b8, #cbd5e1); }
.custom-services-page .svc-card.suspended::before { background: linear-gradient(90deg, #f59e0b, #fcd34d); }
.custom-services-page .svc-card.pending::before { background: linear-gradient(90deg, var(--blue), #7dd3fc); }

.custom-services-page .card-top { padding: 18px 20px 15px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); background: linear-gradient(135deg, var(--surface) 0%, #fff 100%); }
.custom-services-page .card-icon-box { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 19px; color: var(--blue); box-shadow: inset 0 0 0 1px var(--border); }

/* Status Pills */
.custom-services-page .spill {display: inline-flex;align-items: center;gap: 5px;padding: 5px 12px;border-radius: 20px;font-size: 12px;font-weight: 700;text-transform: uppercase;letter-spacing: .4px;justify-content: center;}
.custom-services-page .spill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.custom-services-page .sp-active { background: #ecfdf5; color: #059669; border: 1px solid rgba(16,185,129,.25); } .custom-services-page .sp-active::before { background: #059669; box-shadow: 0 0 5px #059669; }
.custom-services-page .sp-cancelled, .custom-services-page .sp-terminated { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; } .custom-services-page .sp-cancelled::before, .custom-services-page .sp-terminated::before { background: #94a3b8; }
.custom-services-page .sp-suspended { background: #fffbeb; color: #d97706; border: 1px solid rgba(245,158,11,.25); } .custom-services-page .sp-suspended::before { background: #d97706; }
.custom-services-page .sp-pending { background: #eff6ff; color: #2563eb; border: 1px solid rgba(59,130,246,.25); } .custom-services-page .sp-pending::before { background: #3b82f6; }

/* Body Area Flex Grow Fix */
.custom-services-page .card-body { 
    padding: 16px 20px; 
    display: flex;           /* Added */
    flex-direction: column;  /* Added */
    flex-grow: 1;            /* Pushes Footer to the bottom */
}
.custom-services-page .card-name { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.45; margin-bottom: 10px; word-wrap: break-word; }
.custom-services-page .card-ip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 3px 10px; font-size: 11.5px; font-weight: 600; color: var(--red); word-break: break-all; margin-bottom: 14px; width: fit-content; }
.custom-services-page .card-ip i { font-size: 10px; color: var(--muted); }

/* Details Grid pushed to bottom of body */
.custom-services-page .details-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 10px; 
    padding: 13px; 
    background: var(--surface); 
    border-radius: 10px; 
    border: 1px solid var(--border); 
    margin-top: auto;        /* Aligns this box to the bottom always */
}
.custom-services-page .dg-item { display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.custom-services-page .dg-item.full { grid-column: span 2; }
.custom-services-page .dg-label { font-size: 9.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.custom-services-page .dg-value { font-size: 14px; font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.custom-services-page .dg-value.price { font-size: 16px; }
.custom-services-page .dg-value.date { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--text-soft); }

.custom-services-page .card-foot { padding: 13px 20px; border-top: 1px solid var(--border); }
.custom-services-page .manage-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px; background: #fff; color: var(--navy); border: 1px solid var(--border); border-radius: 10px; font-size: 12.5px; font-weight: 700; text-decoration: none; cursor: pointer; transition: all .2s; box-shadow: var(--shadow-sm); }
.custom-services-page .manage-btn:hover { background: var(--surface); transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--blue); border-color: var(--blue); text-decoration: none; }

/* TABLE VIEW */
.custom-services-page .table-view { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; display: block; }
.custom-services-page .svc-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.custom-services-page .svc-table thead tr { background: var(--surface); border-bottom: 2px solid var(--border); border-radius: 16px 16px 0 0; }
.custom-services-page .svc-table thead th {padding: 15px 18px;font-size: 13px;font-weight: 800;text-transform: uppercase;letter-spacing: 1px;color: var(--text-soft);text-align: left;border: none;white-space: nowrap;}
.custom-services-page .svc-table tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; cursor: pointer; }
.custom-services-page .svc-table tbody tr:hover { background: #f8fafc; }
.custom-services-page .svc-table tbody td { padding: 15px 18px; border: none; vertical-align: middle; }
.custom-services-page .td-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(0,0,54,.06); display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--navy); }
.custom-services-page .td-name {font-size: 15px;font-weight: 600;color: var(--navy);margin-bottom: 5px; word-wrap: break-word; white-space: normal;}
.custom-services-page .td-ip { display: inline-flex; align-items: center; gap: 5px; background: var(--surface); border: 1px solid var(--border); border-radius: 5px; padding: 2px 8px; font-size: 11px; font-weight: 600; color: var(--red); word-break: break-all; }
.custom-services-page .td-price {font-size: 16px;font-weight: 700;color: var(--navy);}
.custom-services-page .td-cycle {font-size: 13px;color: var(--muted);margin-top: 2px;}
.custom-services-page .td-date {font-size: 14px;color: var(--text-soft);font-weight: 500;display: flex;align-items: center;gap: 7px; white-space: nowrap;}
.custom-services-page .td-btn {display: inline-flex;align-items: center;gap: 6px;padding: 8px 16px;background: #fff;color: #000036;border: 1px solid #000036;border-radius: 8px;font-size: 12.5px;font-weight: 700;text-decoration: none;transition: all .2s;white-space: nowrap;width: 100%;justify-content: space-between;}
.custom-services-page .td-btn:hover { background: var(--surface); color: var(--blue); border-color: var(--blue); text-decoration: none; }
.custom-services-page .td-btn.grey {background: #000036;color: #ffffff;border: 1px solid var(--border);border-color: var(--border);} 
.custom-services-page .td-btn.grey:hover { background: var(--surface); color: var(--navy); border-color: var(--muted); }
.custom-services-page .td-btn i { color: black; }
.custom-services-page .td-btn.grey i { color: #ffffff; }
.custom-services-page .td-btn:hover i { color: #000035; }
.custom-services-page .td-btn.grey:hover i { color: #000036; }
.custom-services-page .td-btn.grey:hover { color: #000036; border-color: #000035; }

/* ==============================================================
   100% RESPONSIVE MEDIA QUERIES (FORCE GRID VIEW ON MOBILE/TABLET)
   ============================================================== */
@media (max-width: 1199px) {
    .custom-services-page .grid-view { display: grid !important; grid-template-columns: repeat(2, 1fr); }
    .custom-services-page .table-view { display: none !important; }
    .custom-services-page .view-toggle { display: none !important; }
    
    .custom-services-page .ctrl-right { flex-direction: column; align-items: flex-start; gap: 15px; }
    .custom-services-page .search-en { width: 100%; justify-content: space-between; }
    .custom-services-page .search-wrap { max-width: 100%; flex-grow: 1; }
    .custom-services-page .action-btns { width: 100%; }
    .custom-services-page .action-btn { flex-grow: 1; justify-content: center; }
}

@media(max-width: 767px) {
    .custom-services-page .page-hero { flex-direction: column; align-items: flex-start; }
    .custom-services-page .hero-stats { width: 100%; }
    .custom-services-page .grid-view { grid-template-columns: 1fr !important; }
    
    .custom-services-page .controls-bar { padding: 15px; }
    .status-tabs-div { gap: 10px; width: 100%; }
    .custom-services-page .stab { font-size: 13px; padding: 6px 0 10px 0; }
    
    .custom-services-page .search-en { flex-direction: column-reverse; align-items: stretch; }
}

@media(max-width: 480px) {
    .custom-services-page .hero-stat { min-width: calc(50% - 6px); padding: 10px; }
    .custom-services-page .action-btns { flex-direction: column; }
    .custom-services-page .status-tabs-div { justify-content: space-between; }
}

/* ==============================================================
   LEFT SIDEBAR MOBILE RESPONSIVENESS (< 991px)
   ============================================================== */
@media (max-width: 991px) {
    .sidebar {
        position: relative !important;
        top: 0 !important;
        width: 100% !important;
        max-width: 750px !important; 
        margin: 0 auto 30px auto !important; 
        display: block !important;
    }
    
    .profile-card, 
    .nca-widget {
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}


/* ======================================clientareahome========================= */
/* ============================================================================= */


/* ===================================clientareainvoices.tpl======================== */
/* =================================================================================
/* ==============================================================
   CUSTOM INVOICES PAGE STYLES (Clean Underline Tabs & Auto Card View)
   ============================================================== */
.custom-invoices-page {
    --navy-l:     #0a0a5c;
    --shadow-sm:  0 2px 14px rgba(0,0,54,.06);
    --shadow-md:  0 4px 24px rgba(0,0,54,.10);
    --shadow-lg:  0 10px 36px rgba(0,0,54,.14);
    --text-soft:  #4a5578;
    width: 100%;
    max-width: 100%;
}

.custom-invoices-page .main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    min-width: 0;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* --- Page Hero --- */
.custom-invoices-page .page-hero { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; flex-wrap: wrap; gap: 15px; }
.custom-invoices-page .page-hero::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 200px; background: linear-gradient(135deg, transparent, rgba(46,174,243,.04)); pointer-events: none; }
.custom-invoices-page .hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--blue); text-transform: uppercase; margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.custom-invoices-page .hero-eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; }
.custom-invoices-page .hero-title { font-size: 24px !important; font-weight: 800; color: var(--navy); margin-bottom: 3px; line-height: 1.2; }
.custom-invoices-page .hero-sub {font-size: 14px; font-weight: 500;}

.custom-invoices-page .hero-stats { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.custom-invoices-page .hero-stat { text-align: center; padding: 13px 20px; background: var(--surface); border-radius: 12px; border: 1px solid var(--border); flex-grow: 1; }
.custom-invoices-page .hs-num { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1; }
.custom-invoices-page .hs-label { font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; margin-top: 3px; }
.custom-invoices-page .hero-stat.active-stat .hs-num { color: #fc1c44; }

/* --- Controls Bar --- */
.custom-invoices-page .controls-bar { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; display: flex; flex-direction: column; gap: 15px; box-shadow: var(--shadow-sm); }
.custom-invoices-page .controls-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; width: 100%; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.custom-invoices-page .controls-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; width: 100%; padding-top: 5px; }

/* Underline Tabs Design */
.custom-invoices-page .status-tabs { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: -1px; }
.custom-invoices-page .stab { padding: 8px 0 14px 0; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; border-radius: 0; transition: color .2s; border: none; display: flex; align-items: center; gap: 8px; user-select: none; position: relative; background: transparent; white-space: nowrap; }
.custom-invoices-page .stab:hover { color: var(--navy); background: transparent; }
.custom-invoices-page .stab.active { color: var(--navy); font-weight: 800; background: transparent; }
.custom-invoices-page .stab.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: #c70000eb; border-radius: 3px 3px 0 0; }
.custom-invoices-page .stab .cnt { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 12px; transition: all .2s; }
.custom-invoices-page .stab.active .cnt { background: var(--navy); color: #fff; }
.custom-invoices-page .stab:not(.active) .cnt { background: #f1f5f9; color: var(--navy); }

/* Search and View Toggles */
.custom-invoices-page .ctrl-right { display: flex; align-items: center; gap: 10px; padding-left: 0; margin-bottom: 8px; flex-wrap: wrap; }
.custom-invoices-page .search-wrap { position: relative; width: 100%; max-width: 280px; }
.custom-invoices-page .search-input { padding: 9px 14px 9px 36px; border: 1.5px solid var(--border); border-radius: 9px; font-size: 13px; color: var(--text); background: var(--surface); width: 100%; outline: none; transition: all .2s; }
.custom-invoices-page .search-input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(46,174,243,.1); }
.custom-invoices-page .search-input::placeholder { color: var(--muted); }

.custom-invoices-page .view-toggle { display: flex; background: var(--surface); padding: 3px; border-radius: 9px; gap: 3px; border: 1px solid var(--border); }
.custom-invoices-page .vt-btn { background: transparent; border: none; padding: 7px 13px; border-radius: 7px; cursor: pointer; color: var(--muted); font-size: 13px; transition: all .2s; }
.custom-invoices-page .vt-btn:hover { background: #fff; color: var(--text); }
.custom-invoices-page .vt-btn.active { background: #c70000eb; color: #fff; box-shadow: 0 2px 8px rgba(46,174,243,.25); }

/* Action Buttons */
.custom-invoices-page .action-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.custom-invoices-page .action-btn {display: inline-flex;align-items: center;justify-content: center;gap: 7px;padding: 9px 15px;font-size: 13px;font-weight: 600;border-radius: 9px;text-decoration: none;transition: all .2s;cursor: pointer;border: none;}
.custom-invoices-page .btn-pa {background: #002796;color: #fff;}
.custom-invoices-page .btn-pa:hover { background: #2499d8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(46,174,243,.25); color: #fff; text-decoration: none; }
.custom-invoices-page .btn-sa { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); }
.custom-invoices-page .btn-sa:hover { background: #fff; border-color: #f5a114; color: #f5a114; text-decoration: none; }

/* Status Pills */
.custom-invoices-page .spill {display: inline-flex;align-items: center;gap: 5px;padding: 5px 12px;border-radius: 20px;font-size: 12px;font-weight: 700;text-transform: uppercase;letter-spacing: .4px;background: transparent;justify-content: center;width: 100%;}
.custom-invoices-page .spill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; display: block; }
.custom-invoices-page .sp-paid { color: #059669; border: 1px solid rgba(5,150,105,0.3); background: #ecfdf5; } .custom-invoices-page .sp-paid::before { background: #059669; box-shadow: 0 0 5px #059669; }
.custom-invoices-page .sp-unpaid { color: #fc1c44; border: 1px solid rgba(252,28,68,0.3); background: #fff0f2; } .custom-invoices-page .sp-unpaid::before { background: #fc1c44; }
.custom-invoices-page .sp-cancelled, .custom-invoices-page .sp-collections { color: #64748b; border: 1px solid rgba(100,116,139,0.3); background: #f1f5f9; } .custom-invoices-page .sp-cancelled::before, .custom-invoices-page .sp-collections::before { background: #94a3b8; }
.custom-invoices-page .sp-refunded { color: #8b5cf6; border: 1px solid rgba(139,92,246,0.3); background: #f5f3ff; } .custom-invoices-page .sp-refunded::before { background: #8b5cf6; }

/* --- Table View --- */
.custom-invoices-page .table-view { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; display: block; }
.custom-invoices-page .svc-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.custom-invoices-page .svc-table thead tr { background: var(--surface); border-bottom: 2px solid var(--border); }
.custom-invoices-page .svc-table thead th {padding: 15px 18px;font-size: 13px;font-weight: 800;text-transform: uppercase;letter-spacing: 1px;color: var(--text-soft);text-align: left;border: none;white-space: nowrap;}
.custom-invoices-page .svc-table tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; cursor: pointer; }
.custom-invoices-page .svc-table tbody tr:hover { background: #f8fafc; }
.custom-invoices-page .svc-table tbody td { padding: 15px 18px; border: none; vertical-align: middle; }

.custom-invoices-page .td-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(0,0,54,.06); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.custom-invoices-page .td-name {font-size: 15px;font-weight: 700;color: var(--navy);margin-bottom: 0;}
.custom-invoices-page .td-price { font-size: 16px; font-weight: 800; color: var(--navy); }
.custom-invoices-page .td-date {font-size: 14px;color: var(--text-soft);font-weight: 500;display: flex;align-items: center;gap: 7px; white-space: nowrap;}

/* Table Action Buttons */
.custom-invoices-page .td-btn {display: inline-flex;align-items: center;gap: 6px;padding: 8px 16px;border-radius: 8px;font-size: 12.5px;font-weight: 700;text-decoration: none;transition: all .2s;white-space: nowrap;width: 100%;}
.custom-invoices-page .td-btn.navy { background: #fff; color: #000036; border: 1px solid #000036; }
.custom-invoices-page .td-btn.navy:hover { background: var(--surface); color: var(--blue); border-color: var(--blue); text-decoration: none; }
.custom-invoices-page .td-btn.red { background: #fc1c44; color: #fff; border: 1px solid #fc1c44; }
.custom-invoices-page .td-btn.red:hover {     background: var(--surface);color: #fc1c44;border-color: #fc1c44;text-decoration: none; }
.custom-invoices-page .td-btn.grey {background: #000036;color: #ffffff;border: 1px solid var(--border);border-color: var(--border);} 
.custom-invoices-page .td-btn.grey:hover { background: var(--surface); color: var(--navy); border-color: var(--muted); text-decoration: none; }

/* Pagination */
.custom-invoices-page .tbl-pagination { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--surface); border-top: 1px solid var(--border); border-bottom-left-radius: 16px; border-bottom-right-radius: 16px;}
.custom-invoices-page .pg-info { font-size: 13px; color: var(--text-soft); font-weight: 600; }
.custom-invoices-page .pg-controls { display: flex; align-items: center; gap: 10px; }
.custom-invoices-page .pg-btn { border: none; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; transition: color .2s; }
.custom-invoices-page .pg-btn:hover { color: var(--navy); }
.custom-invoices-page .pg-btn.disabled { opacity: 0.5; cursor: not-allowed; }
.custom-invoices-page .pg-btn.page-num { background: #c70000eb; color: #fff; border-radius: 6px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 12px; }

/* GRID VIEW */
.custom-invoices-page .grid-view { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.custom-invoices-page .grid-view.hidden, .custom-invoices-page .table-view.hidden { display: none; }

.custom-invoices-page .svc-card { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; padding: 20px; display: flex; flex-direction: column; gap: 15px; height: 100%; }
.custom-invoices-page .svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(46,174,243,.3); }

.custom-invoices-page .card-header-flex { display: flex; justify-content: space-between; align-items: flex-start; }
.custom-invoices-page .card-details { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 13px; background: var(--surface); border-radius: 10px; border: 1px solid var(--border); margin-bottom: auto; }
.custom-invoices-page .cd-row { display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.custom-invoices-page .cd-row span:first-child { font-size: 9.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.custom-invoices-page .cd-row span:last-child { font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==============================================================
   100% RESPONSIVE MEDIA QUERIES (FORCE GRID VIEW ON MOBILE/TABLET)
   ============================================================== */
@media (max-width: 1199px) {
    .custom-invoices-page .grid-view { display: grid !important; grid-template-columns: repeat(2, 1fr); }
    .custom-invoices-page .table-view { display: none !important; }
    .custom-invoices-page .view-toggle { display: none !important; }
    
    .custom-invoices-page .ctrl-right { width: 100%; margin-top: 15px; }
    .custom-invoices-page .search-wrap { max-width: 100%; flex-grow: 1; }
}

@media(max-width: 900px){
    .custom-invoices-page .hero-stats { display: none; }
}

@media(max-width: 767px) {
    .custom-invoices-page .page-hero { flex-direction: column; align-items: flex-start; }
    .custom-invoices-page .grid-view { grid-template-columns: 1fr !important; }
    
    .custom-invoices-page .controls-top { flex-direction: column; align-items: stretch; border-bottom: none; }
    .custom-invoices-page .status-tabs { border-bottom: 1px solid var(--border); gap: 10px; justify-content: flex-start; }
    .custom-invoices-page .stab { font-size: 13px; padding: 6px 0 10px 0; }
    
    .custom-invoices-page .action-btns { width: 100%; flex-direction: column; }
    .custom-invoices-page .action-btn { width: 100%; justify-content: center; }
}


/* ===================================clientareainvoices.tpl======================== */
/* ================================================================================= */




/* =========================================supportticketslist.tpl========================= */
/* ==============================================================
   CUSTOM SUPPORT TICKETS PAGE STYLES (Clean Underline Tabs & Auto Card View)
   ============================================================== */
.custom-tickets-page {
    --navy:       #010424;
    --navy-l:     #0a0a5c;
    --blue:       #2eaef3;
    --red:        #fc1c44;
    --surface:    #f8fafc;
    --border:     #e4eaf3;
    --muted:      #8899b4;
    --text:       #0d1b3e;
    --shadow-sm:  0 2px 14px rgba(0,0,54,.04);
    --shadow-md:  0 4px 20px rgba(0,0,54,.08);
    --shadow-lg:  0 10px 36px rgba(0,0,54,.14);
    --text-soft:  #4a5578;
    color: var(--text);
    width: 100%;
    max-width: 100%;
}

.custom-tickets-page .main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    min-width: 0;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* --- Page Hero --- */
.custom-tickets-page .page-hero { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; flex-wrap: wrap; gap: 15px; }
.custom-tickets-page .page-hero::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 200px; background: linear-gradient(135deg, transparent, rgba(46,174,243,.04)); pointer-events: none; }
.custom-tickets-page .hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--blue); text-transform: uppercase; margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.custom-tickets-page .hero-eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; }
.custom-tickets-page .hero-title { font-size: 24px !important; font-weight: 800; color: var(--navy); margin-bottom: 3px; line-height: 1.2; }
.custom-tickets-page .hero-sub { font-size: 14px; font-weight: 500; color: var(--text-soft); }

.custom-tickets-page .hero-stats {display: flex;gap: 12px;align-items: center;/* flex-wrap: wrap; */}
.custom-tickets-page .hero-stat {text-align: center;padding: 13px 20px;background: var(--surface);border-radius: 12px;border: 1px solid var(--border);flex-grow: 1;/* display: flex; *//* padding-top: 120px; */}
.custom-tickets-page .hs-num { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1; }
.custom-tickets-page .hs-label { font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; margin-top: 3px; }
.custom-tickets-page .hero-stat.active-stat .hs-num { color: #00964a; }

/* --- Controls Bar --- */
.custom-tickets-page .controls-bar { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; display: flex; flex-direction: column; gap: 15px; box-shadow: var(--shadow-sm); }
.custom-tickets-page .controls-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; width: 100%; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.custom-tickets-page .controls-bottom { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 15px; width: 100%; padding-top: 5px; }

/* Underline Tabs Design */
.custom-tickets-page .status-tabs { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: -1px; }
.custom-tickets-page .stab { padding: 8px 0 14px 0; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; border-radius: 0; transition: color .2s; border: none; display: flex; align-items: center; gap: 8px; user-select: none; position: relative; background: transparent; white-space: nowrap; }
.custom-tickets-page .stab:hover { color: var(--navy); background: transparent; }
.custom-tickets-page .stab.active { color: var(--navy); font-weight: 800; background: transparent; }
.custom-tickets-page .stab.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: #c70000eb; border-radius: 3px 3px 0 0; }
.custom-tickets-page .stab .cnt { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 12px; transition: all .2s; }
.custom-tickets-page .stab.active .cnt { background: var(--navy); color: #fff; }
.custom-tickets-page .stab:not(.active) .cnt { background: #f1f5f9; color: var(--navy); }

/* Search and View Toggles */
.custom-tickets-page .ctrl-right { display: flex; align-items: center; gap: 10px; padding-left: 0; margin-bottom: 8px; flex-wrap: wrap; }
.custom-tickets-page .search-wrap { position: relative; width: 100%; max-width: 280px; }
.custom-tickets-page .search-input { padding: 9px 14px 9px 36px; border: 1.5px solid var(--border); border-radius: 9px; font-size: 13px; color: var(--text); background: var(--surface); width: 100%; outline: none; transition: all .2s; }
.custom-tickets-page .search-input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(46,174,243,.1); }
.custom-tickets-page .search-input::placeholder { color: var(--muted); }

.custom-tickets-page .view-toggle { display: flex; background: var(--surface); padding: 3px; border-radius: 9px; gap: 3px; border: 1px solid var(--border); align-items: center; }
.custom-tickets-page .vt-btn { background: transparent; border: none; padding: 7px 13px; border-radius: 7px; cursor: pointer; color: var(--muted); font-size: 13px; transition: all .2s; }
.custom-tickets-page .vt-btn:hover { background: #fff; color: var(--text); }
.custom-tickets-page .vt-btn.active { background: #c70000eb; color: #fff; box-shadow: 0 2px 8px rgba(46,174,243,.25); }

.td-btn{background: #000036; color: #ffffff;border: 1px solid var(--border); border-color: var(--border);
}

/* Action Buttons */
.custom-tickets-page .action-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.custom-tickets-page .action-btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 15px; font-size: 13px; font-weight: 600; border-radius: 9px; text-decoration: none; transition: all .2s; cursor: pointer; border: 1px solid transparent; }
.custom-tickets-page .btn-pa { background: #002796; color: #fff; }
.custom-tickets-page .btn-pa:hover { background: #2499d8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(46,174,243,.25); color: #fff; text-decoration: none; }
.custom-tickets-page .btn-sa { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); }
.custom-tickets-page .btn-sa:hover { background: #fff; border-color: #f5a114; color: #f5a114; text-decoration: none; }

/* Status Pills */
.custom-tickets-page .spill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; justify-content: center; width: 100%; }
.custom-tickets-page .spill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; display: block; }
.custom-tickets-page .sp-open, .custom-tickets-page .sp-inprogress { background: #eff6ff; color: #2563eb; border: 1px solid rgba(59,130,246,.25); } .custom-tickets-page .sp-open::before, .custom-tickets-page .sp-inprogress::before { background: #3b82f6; }
.custom-tickets-page .sp-answered { background: #ecfdf5; color: #059669; border: 1px solid rgba(16,185,129,.25); } .custom-tickets-page .sp-answered::before { background: #059669; box-shadow: 0 0 5px #059669; }
.custom-tickets-page .sp-customer-reply { background: #fffbeb; color: #d97706; border: 1px solid rgba(245,158,11,.25); } .custom-tickets-page .sp-customer-reply::before { background: #d97706; }
.custom-tickets-page .sp-closed { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; } .custom-tickets-page .sp-closed::before { background: #94a3b8; }
.custom-tickets-page .sp-custom { background: #f5f3ff; color: #8b5cf6; border: 1px solid rgba(139,92,246,.25); } .custom-tickets-page .sp-custom::before { background: #8b5cf6; }

/* --- Table View --- */
.custom-tickets-page .table-view { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; display: block; }
.custom-tickets-page .svc-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.custom-tickets-page .svc-table thead tr { background: var(--surface); border-bottom: 2px solid var(--border); }
.custom-tickets-page .svc-table thead th { padding: 15px 18px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-soft); text-align: left; border: none; white-space: nowrap; }
.custom-tickets-page .svc-table tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; cursor: pointer; }
.custom-tickets-page .svc-table tbody tr:hover { background: #f8fafc; }
.custom-tickets-page .svc-table tbody td { padding: 15px 18px; border: none; vertical-align: middle; }

.custom-tickets-page .td-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(0,0,54,.06); display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--navy); }
.custom-tickets-page .td-name { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 5px; word-wrap: break-word; white-space: normal; }
.custom-tickets-page .td-dept { display: inline-flex; align-items: center; gap: 5px; background: var(--surface); border: 1px solid var(--border); border-radius: 5px; padding: 2px 8px; font-size: 11px; font-weight: 600; color: var(--muted); }
.custom-tickets-page .td-date { font-size: 14px; color: var(--text-soft); font-weight: 500; display: flex; align-items: center; gap: 7px; white-space: nowrap; }

/* Table Action Buttons */
.custom-tickets-page .td-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: #fff; color: #000036; border: 1px solid #000036; border-radius: 8px; font-size: 12.5px; font-weight: 700; text-decoration: none; transition: all .2s; white-space: nowrap; width: 100%; justify-content: space-between; }
.custom-tickets-page .td-btn:hover { background: var(--surface); color: var(--blue); border-color: var(--blue); text-decoration: none; }
.custom-tickets-page .td-btn.grey { background: #000036; color: #ffffff; border: 1px solid var(--border); border-color: var(--border); } 
.custom-tickets-page .td-btn.grey:hover { background: var(--surface); color: var(--navy); border-color: var(--muted); text-decoration: none; }
.custom-tickets-page .td-btn i { color: black; }
.custom-tickets-page .td-btn.grey i { color: #ffffff; }
.custom-tickets-page .td-btn:hover i { color: #000035; }
.custom-tickets-page .td-btn.grey:hover i { color: #000036; }
.custom-tickets-page .td-btn.grey:hover { color: #000036; border-color: #000035; }

/* Pagination */
.custom-tickets-page .tbl-pagination { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--surface); border-top: 1px solid var(--border); border-bottom-left-radius: 16px; border-bottom-right-radius: 16px;}
.custom-tickets-page .pg-info { font-size: 13px; color: var(--text-soft); font-weight: 600; }
.custom-tickets-page .pg-controls { display: flex; align-items: center; gap: 10px; }
.custom-tickets-page .pg-btn { border: none; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; transition: color .2s; }
.custom-tickets-page .pg-btn:hover { color: var(--navy); }
.custom-tickets-page .pg-btn.disabled { opacity: 0.5; cursor: not-allowed; }
.custom-tickets-page .pg-btn.page-num { background: #c70000eb; color: #fff; border-radius: 6px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 12px; }

/* GRID VIEW */
.custom-tickets-page .grid-view { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.custom-tickets-page .grid-view.hidden, .custom-tickets-page .table-view.hidden { display: none; }
.custom-tickets-page .svc-card { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; padding: 20px; display: flex; flex-direction: column; gap: 15px; height: 100%; cursor: pointer; }
.custom-tickets-page .svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(46,174,243,.3); }

.custom-tickets-page .card-header-flex { display: flex; justify-content: space-between; align-items: flex-start; }
.custom-tickets-page .card-details { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 13px; background: var(--surface); border-radius: 10px; border: 1px solid var(--border); margin-bottom: auto; }
.custom-tickets-page .cd-row { display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.custom-tickets-page .cd-row span:first-child { font-size: 9.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.custom-tickets-page .cd-row span:last-child { font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==============================================================
   100% RESPONSIVE MEDIA QUERIES (FORCE GRID VIEW ON MOBILE/TABLET)
   ============================================================== */
@media (max-width: 1199px) {
    .custom-tickets-page .grid-view { display: grid !important; grid-template-columns: repeat(2, 1fr); }
    .custom-tickets-page .table-view { display: none !important; }
    .custom-tickets-page .view-toggle { display: none !important; }
    
    .custom-tickets-page .ctrl-right { width: 100%; margin-top: 15px; }
    .custom-tickets-page .search-wrap { max-width: 100%; flex-grow: 1; }
}

@media(max-width: 900px){
    .custom-tickets-page .hero-stats { display: none; }
}

@media(max-width: 767px) {
    .custom-tickets-page .page-hero { flex-direction: column; align-items: flex-start; }
    .custom-tickets-page .grid-view { grid-template-columns: 1fr !important; }
    
    .custom-tickets-page .controls-top { flex-direction: column; align-items: stretch; border-bottom: none; }
    .custom-tickets-page .status-tabs { border-bottom: 1px solid var(--border); gap: 10px; justify-content: flex-start; }
    .custom-tickets-page .stab { font-size: 13px; padding: 6px 0 10px 0; }
    
    .custom-tickets-page .action-btns { width: 100%; flex-direction: column; }
    .custom-tickets-page .action-btn { width: 100%; justify-content: center; }
}

/* ===================================supportticketslist.tpl================================ */



/* ===================================clientareaquotes.tpl================================ */

/* ==============================================================
   CUSTOM QUOTES PAGE STYLES (Clean Underline Tabs & Auto Card View)
   ============================================================== */
.custom-quotes-page {
    --navy:       #010424;
    --navy-l:     #0a0a5c;
    --blue:       #2eaef3;
    --red:        #fc1c44;
    --surface:    #f8fafc;
    --border:     #e4eaf3;
    --muted:      #8899b4;
    --text:       #0d1b3e;
    --shadow-sm:  0 2px 14px rgba(0,0,54,.06);
    --shadow-md:  0 4px 24px rgba(0,0,54,.10);
    --shadow-lg:  0 10px 36px rgba(0,0,54,.14);
    --text-soft:  #4a5578;
    color: var(--text);
    width: 100%;
    max-width: 100%;
}

.custom-quotes-page .main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    min-width: 0;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* --- Page Hero --- */
.custom-quotes-page .page-hero { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; flex-wrap: wrap; gap: 15px; }
.custom-quotes-page .page-hero::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 200px; background: linear-gradient(135deg, transparent, rgba(46,174,243,.04)); pointer-events: none; }
.custom-quotes-page .hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--blue); text-transform: uppercase; margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.custom-quotes-page .hero-eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; }
.custom-quotes-page .hero-title { font-size: 24px !important; font-weight: 800; color: var(--navy); margin-bottom: 3px; line-height: 1.2; }
.custom-quotes-page .hero-sub {font-size: 14px; font-weight: 500; color: var(--muted);}

.custom-quotes-page .hero-stats { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.custom-quotes-page .hero-stat { text-align: center; padding: 13px 20px; background: var(--surface); border-radius: 12px; border: 1px solid var(--border); flex-grow: 1; }
.custom-quotes-page .hs-num { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1; }
.custom-quotes-page .hs-label {font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; margin-top: 3px;}
.custom-quotes-page .hero-stat.active-stat .hs-num { color: #fc1c44; }

/* --- Controls Bar --- */
.custom-quotes-page .controls-bar { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; display: flex; flex-direction: column; gap: 15px; box-shadow: var(--shadow-sm); }
.custom-quotes-page .controls-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; width: 100%; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.custom-quotes-page .controls-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; width: 100%; padding-top: 5px; }

/* Underline Tabs Design */
.custom-quotes-page .status-tabs { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: -1px; }
.custom-quotes-page .stab { padding: 8px 0 14px 0; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; border-radius: 0; transition: color .2s; border: none; display: flex; align-items: center; gap: 8px; user-select: none; position: relative; background: transparent; white-space: nowrap; }
.custom-quotes-page .stab:hover { color: var(--navy); background: transparent; }
.custom-quotes-page .stab.active { color: var(--navy); font-weight: 800; background: transparent; }
.custom-quotes-page .stab.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: #c70000eb; border-radius: 3px 3px 0 0; }
.custom-quotes-page .stab .cnt { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 12px; transition: all .2s; }
.custom-quotes-page .stab.active .cnt { background: var(--navy); color: #fff; }
.custom-quotes-page .stab:not(.active) .cnt { background: #f1f5f9; color: var(--navy); }

/* Search and View Toggles */
.custom-quotes-page .ctrl-right { display: flex; align-items: center; gap: 10px; padding-left: 0; margin-bottom: 8px; flex-wrap: wrap; }
.custom-quotes-page .search-wrap { position: relative; width: 100%; max-width: 280px; }
.custom-quotes-page .search-input { padding: 9px 14px 9px 36px; border: 1.5px solid var(--border); border-radius: 9px; font-size: 13px; color: var(--text); background: var(--surface); width: 100%; outline: none; transition: all .2s; }
.custom-quotes-page .search-input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(46,174,243,.1); }
.custom-quotes-page .search-input::placeholder { color: var(--muted); }

.custom-quotes-page .view-toggle { display: flex; background: var(--surface); padding: 3px; border-radius: 9px; gap: 3px; border: 1px solid var(--border); align-items: center; }
.custom-quotes-page .vt-btn { background: transparent; border: none; padding: 7px 13px; border-radius: 7px; cursor: pointer; color: var(--muted); font-size: 13px; transition: all .2s; }
.custom-quotes-page .vt-btn:hover { background: #fff; color: var(--text); }
.custom-quotes-page .vt-btn.active { background: #c70000eb; color: #fff; box-shadow: 0 2px 8px rgba(46,174,243,.25); }

/* Top Action Buttons */
.custom-quotes-page .action-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.custom-quotes-page .action-btn {display: inline-flex;align-items: center;justify-content: center;gap: 7px;padding: 9px 15px;font-size: 13px;font-weight: 600;border-radius: 9px;text-decoration: none;transition: all .2s;cursor: pointer;border: none;}
.custom-quotes-page .btn-pa { background: #002796; color: #fff; }
.custom-quotes-page .btn-pa:hover { background: #2499d8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(46,174,243,.25); color: #fff; text-decoration: none; }
.custom-quotes-page .btn-sa { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); }
.custom-quotes-page .btn-sa:hover { background: #fff; border-color: #f5a114; color: #f5a114; text-decoration: none; }

/* Status Pills */
.custom-quotes-page .spill {display: inline-flex;align-items: center;gap: 6px;padding: 5px 14px;border-radius: 20px;font-size: 12px;font-weight: 800;text-transform: uppercase;letter-spacing: .5px;background: transparent;justify-content: center;color: #3d4045;border: 1px solid rgba(100, 116, 139, 0.3);background: #c7ddf3;}
.custom-quotes-page .spill::before { content: '•'; font-size: 18px; line-height: 0; position: relative; top: -1px; }
.custom-quotes-page .sp-accepted { color: #059669; border: 1px solid rgba(5,150,105,0.3); background: #ecfdf5; } 
.custom-quotes-page .sp-delivered { color: #2563eb; border: 1px solid rgba(37,99,235,0.3); background: #eff6ff; } 
.custom-quotes-page .sp-onhold { color: #d97706; border: 1px solid rgba(217,119,6,0.3); background: #fffbeb; } 
.custom-quotes-page .sp-expired, .custom-quotes-page .sp-lost, .custom-quotes-page .sp-dead { color: #64748b; border: 1px solid rgba(100,116,139,0.3); background: #f1f5f9; } 

/* --- Table View --- */
.custom-quotes-page .table-view { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; display: block; }
.custom-quotes-page .svc-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.custom-quotes-page .svc-table thead tr { background: var(--surface); border-bottom: 2px solid var(--border); }
.custom-quotes-page .svc-table thead th {padding: 15px 18px;font-size: 13px;font-weight: 800;text-transform: uppercase;letter-spacing: 1px;color: var(--text-soft);text-align: left;border: none;white-space: nowrap;}
.custom-quotes-page .svc-table tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; cursor: pointer; }
.custom-quotes-page .svc-table tbody tr:hover { background: #fcfdfd; }
.custom-quotes-page .svc-table tbody td { padding: 15px 18px; border: none; vertical-align: middle; }

.custom-quotes-page .td-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(0,0,54,.06); display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--navy); }
.custom-quotes-page .td-name {font-size: 15px;font-weight: 700;color: var(--navy);line-height: 1.4;margin-bottom: 0; word-wrap: break-word; white-space: normal;}
.custom-quotes-page .td-date {font-size: 14px;color: var(--text-soft);font-weight: 500;display: flex;align-items: center;gap: 7px; white-space: nowrap;}
.custom-quotes-page .td-date i { color: var(--muted); font-size: 12px; }

/* Table Action Buttons */
.custom-quotes-page .td-btn {display: inline-flex;align-items: center;gap: 6px;padding: 8px 16px;border-radius: 8px;font-size: 12.5px;font-weight: 700;text-decoration: none;transition: all .2s;white-space: nowrap;justify-content: center;}
.custom-quotes-page .td-btn.navy { background: #000036; color: #fff; border: 1px solid #000036; }
.custom-quotes-page .td-btn.navy:hover { background: var(--surface); color: var(--navy); border-color: var(--muted); text-decoration: none; }
.custom-quotes-page .td-btn:not(.navy) { background: #fff; color: #000036; border: 1px solid #000036; }
.custom-quotes-page .td-btn:not(.navy):hover { background: var(--surface); color: var(--blue); border-color: var(--blue); text-decoration: none; }

/* Pagination */
.custom-quotes-page .tbl-pagination { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--surface); border-top: 1px solid var(--border); border-bottom-left-radius: 16px; border-bottom-right-radius: 16px;}
.custom-quotes-page .pg-info { font-size: 13px; color: var(--text-soft); font-weight: 600; }
.custom-quotes-page .pg-controls { display: flex; align-items: center; gap: 10px; }
.custom-quotes-page .pg-btn { border: none; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; transition: color .2s; }
.custom-quotes-page .pg-btn:hover { color: var(--navy); }
.custom-quotes-page .pg-btn.disabled { opacity: 0.5; cursor: not-allowed; }
.custom-quotes-page .pg-btn.page-num { background: #c70000eb; color: #fff; border-radius: 6px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 12px; }

/* GRID VIEW */
.custom-quotes-page .grid-view { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.custom-quotes-page .grid-view.hidden, .custom-quotes-page .table-view.hidden { display: none; }

.custom-quotes-page .svc-card { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; padding: 20px; display: flex; flex-direction: column; gap: 15px; height: 100%; cursor: pointer; }
.custom-quotes-page .svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(46,174,243,.3); }

.custom-quotes-page .card-header-flex { display: flex; justify-content: space-between; align-items: flex-start; }
.custom-quotes-page .card-details { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 13px; background: var(--surface); border-radius: 10px; border: 1px solid var(--border); margin-bottom: auto; }
.custom-quotes-page .cd-row { display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.custom-quotes-page .cd-row span:first-child { font-size: 9.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.custom-quotes-page .cd-row span:last-child { font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==============================================================
   100% RESPONSIVE MEDIA QUERIES (FORCE GRID VIEW ON MOBILE/TABLET)
   ============================================================== */
@media (max-width: 1199px) {
    .custom-quotes-page .grid-view { display: grid !important; grid-template-columns: repeat(2, 1fr); }
    .custom-quotes-page .table-view { display: none !important; }
    .custom-quotes-page .view-toggle { display: none !important; }
    
    .custom-quotes-page .ctrl-right { width: 100%; margin-top: 15px; }
    .custom-quotes-page .search-wrap { max-width: 100%; flex-grow: 1; }
}

@media(max-width: 900px){
    .custom-quotes-page .hero-stats { display: none; }
}

@media(max-width: 767px) {
    .custom-quotes-page .page-hero { flex-direction: column; align-items: flex-start; }
    .custom-quotes-page .grid-view { grid-template-columns: 1fr !important; }
    
    .custom-quotes-page .controls-top { flex-direction: column; align-items: stretch; border-bottom: none; }
    .custom-quotes-page .status-tabs { border-bottom: 1px solid var(--border); gap: 10px; justify-content: flex-start; }
    .custom-quotes-page .stab { font-size: 13px; padding: 6px 0 10px 0; }
    
    .custom-quotes-page .action-btns { width: 100%; flex-direction: column; }
    .custom-quotes-page .action-btn { width: 100%; justify-content: center; }
}
/* ===================================clientareaquotes.tpl================================ */

/* ===================================clientareaproductdetails.tpl================================ */


.custom-prod-page {
    --navy:       #010424;
    --navy-l:     #0a0a5c;
    --blue:       #2eaef3;
    --red:        #fc1c44;
    --surface:    #f8fafc;
    --border:     #e4eaf3;
    --muted:      #8899b4;
    --text:       #0d1b3e;
    --shadow-sm:  0 2px 14px rgba(0,0,54,.04);
    --shadow-md:  0 4px 20px rgba(0,0,54,.08);
    color: var(--text);
}

.custom-prod-page .main-content { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.search-en{display: flex; gap: 20px;}
/* --- Top Navigation Bar --- */
.custom-prod-page .controls-bar { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 12px 20px; display: flex; box-shadow: var(--shadow-sm); margin-bottom: 5px; }
.custom-prod-page .status-tabs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0; padding: 0; border: none; }
.custom-prod-page .status-tabs .stab { padding: 8px 18px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; border-radius: 24px; transition: all .2s; display: flex; align-items: center; gap: 8px; text-decoration: none; border: 1px solid transparent; background: transparent; }
.custom-prod-page .status-tabs .stab:hover { color: var(--navy); background: var(--surface); border-color: var(--border); }
.custom-prod-page .status-tabs .stab.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* --- Detail Cards Structure (Image Match) --- */
.custom-prod-page .detail-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 24px; }
.custom-prod-page .dc-header { padding: 22px 25px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: #fff; flex-wrap: wrap; gap: 15px; }
.custom-prod-page .dc-header-left { display: flex; align-items: center; gap: 18px; }
.custom-prod-page .dc-icon { width: 52px; height: 52px; background: var(--surface); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--blue); }
.custom-prod-page .dc-title {font-size: 22px;font-weight: 800;color: var(--navy);margin-bottom: 2px;}
.custom-prod-page .dc-sub {font-size: 16px;color: var(--muted);font-weight: 500;}

.custom-prod-page .dc-list { padding: 0 25px; }
.custom-prod-page .dc-row {display: flex;justify-content: space-evenly;align-items: center;padding: 16px 0;border-bottom: 1px solid var(--border);}
.custom-prod-page .dc-row:last-child { border-bottom: none; }
.custom-prod-page .dc-label {font-size: 17px;font-weight: 600;color:#000000;display: flex;align-items: center;gap: 12px;width: 25%;}
.custom-prod-page .dc-label i { color: var(--blue); width: 18px; text-align: center; opacity: 0.8; font-size: 14px; }
.custom-prod-page .dc-value {font-size: 17px;font-weight: 700;color: var(--navy);width: 55%;text-align: right;word-wrap: break-word;}

/* Status Pills */
.custom-prod-page .spill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 18px; border-radius: 20px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.custom-prod-page .sp-active { background: #ecfdf5; color: #059669; border: 1px solid rgba(5,150,105,0.3); } 
.custom-prod-page .sp-pending { background: #fffbeb; color: #d97706; border: 1px solid rgba(217,119,6,0.3); } 
.custom-prod-page .sp-suspended, .custom-prod-page .sp-cancelled, .custom-prod-page .sp-terminated { background: #fee2e2; color: #fc1c44; border: 1px solid rgba(252,28,68,0.3); } 
.custom-prod-page .sp-badge-blue { background: var(--blue); color: #fff; border: 1px solid var(--blue); padding: 6px 18px; border-radius: 20px; font-size: 16px; font-weight: 700; }

/* Action Buttons Grid */
.custom-prod-page .action-btns-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 24px; }
.custom-prod-page .td-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; background: #fff; color: var(--navy); border: 1px solid var(--border); border-radius: 12px; font-size: 13px; font-weight: 700; text-decoration: none; transition: all .2s; width: 100%; box-shadow: var(--shadow-sm); cursor: pointer; }
.custom-prod-page .td-btn:hover { background: var(--surface); color: var(--navy); text-decoration: none; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.custom-prod-page .td-btn.blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.custom-prod-page .td-btn.blue:hover { opacity: 0.9; color: #fff; }
.custom-prod-page .td-btn.green { background: #059669; color: #fff; border-color: #059669; }
.custom-prod-page .td-btn.green:hover { opacity: 0.9; color: #fff; }
.custom-prod-page .td-btn.red { background: #fee2e2; color: var(--red); border-color: #fecaca; }
.custom-prod-page .td-btn.red:hover { background: #fecaca; color: var(--red); }

/* Form Styles */
.custom-prod-page .form-control { border-radius: 8px; border: 1px solid var(--border); padding: 10px 15px; font-size: 13px;width: 100%;
    height: 42px; }
.custom-prod-page .form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 0.2rem rgba(46,174,243,.15); }
.custom-prod-page label { font-weight: 600; color: var(--navy); font-size: 13px; }

@media(max-width:768px){
    .custom-prod-page .dc-row { flex-direction: column; align-items: flex-start; gap: 8px; }
    .custom-prod-page .dc-label, .custom-prod-page .dc-value { width: 100%; text-align: left; }
    .custom-prod-page .dc-header { flex-direction: column; align-items: flex-start; }
}
/* ===================================clientareaproductdetails.tpl================================ */


/* ==============================homepage=============================================== */
/* ==============================================================
   CUSTOM PREMIUM HOMEPAGE STYLES (EQUAL HEIGHT IMAGES & FLOATING SEARCH)
   ============================================================== */
.custom-home-page {
    --navy:       #010424;
    --navy-l:     #0a0a5c;
    --blue:       #2eaef3;
    --orange:     #f5a114;
    --surface:    #f8fafc;
    --border:     #e4eaf3;
    --muted:      #8899b4;
    --text:       #0d1b3e;
    --shadow-sm:  0 2px 14px rgba(0,0,54,.04);
    --shadow-md:  0 4px 24px rgba(0,0,54,.08);
    font-family: 'Poppins', sans-serif;
}

/* --- 1. Top Quick Shortcuts Widgets Layout --- */
.whms-icon-card-group {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)) !important;
    gap: 12px !important;
    margin-bottom: 35px !important;
}
.whms-icon-cards {
    padding: 0 !important;
    max-width: 100% !important;
    flex: 1 1 0% !important;
}
.whms-icon-card {
    background: var(--navy) !important;
    border-radius: 12px !important;
    padding: 20px 10px !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    box-shadow: var(--shadow-sm) !important;
    height: 100% !important;
    border: none !important;
}
.whms-icon-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-md) !important;
    background: #fd7e14 !important;
}
.whms-icon-card .ico-container {
    margin: 0 !important;
}
.whms-icon-card i {
    font-size: 24px !important;
    color: #fff !important;
}
.whms-icon-card {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.9) !important;
    line-height: 1.3 !important;
}

/* --- 2. Heading Section --- */
.whms-section-heading {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--navy) !important;
    margin: 40px 0 25px 0 !important;
}

/* =========================================
   CRITICAL FIX: FLOATING SEARCH DROPDOWN Panel
   ========================================= */
.map-search-bar {
    max-width: 550px;
    margin: 0 auto 40px auto;
}
.search-container {
    position: relative !important;
    width: 100%;
}
.search-container i.search-icon {
    position: absolute;
    left: 34px !important;
    top: 50%;
    transform: translateY(-50%);
    color: var(--navy);
    font-size: 15px;
    z-index: 5;
}
#search-bar {
    width: 100%;
    padding: 14px 20px 14px 46px;
    border: 1.5px solid var(--border);
    border-radius: 30px;
    font-size: 14px;
    background: #fff;
    color: var(--text);
    outline: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}
#search-bar:focus {
    border-color: var(--blue);
    box-shadow: 0 4px 15px rgba(46,174,243,.15);
}

/* FIX: This style layer creates a float element overlay without pushing contents downwards */
.custom-dropdown-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    box-shadow: var(--shadow-md) !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    z-index: 9999 !important; /* Forces layout depth stay on top of product grids */
    padding: 8px 0 !important;
    display: none;
}
.custom-dropdown-item {
    padding: 12px 20px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--text) !important;
    cursor: pointer !important;
    transition: background 0.15s !important;
    text-align: left !important;
}
.custom-dropdown-item:hover {
    background: var(--surface) !important;
    color: var(--blue) !important;
}

/* =========================================
   3. PRODUCTS GRID & EQUAL HEIGHT SHAPES FIX
   ========================================= */
.whms-product-card-group {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -10px !important;
    margin-left: -10px !important;
}
.product-card-container {
    padding-right: 10px !important;
    padding-left: 10px !important;
}

/* Forces Desktop to display exactly 6 columns inside a standard grid element row container */
@media (min-width: 1200px) {
    .product-card-container {
        flex: 0 0 16.666667% !important;
        max-width: 16.666667% !important;
    }
}

.whms-product-card {
    background: #fff !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important; /* Guarantees matching layout constraints */
    transition: transform 0.25s, box-shadow 0.25s !important;
}
.whms-product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--shadow-md) !important;
}

/* Product Card Images Style Match */
.whms-product-card .card-img-top {
    width: 100% !important;
    height: 140px !important; /* Set standard even picture mask boundaries */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative !important;
}
.whms-product-card .img-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(1,4,36,0.15) 100%);
}

.whms-product-card .card-body {
    padding: 20px 15px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important; /* Pushes content buttons downward to stay even */
}
.whms-product-card .pricing-card-title {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: var(--navy) !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    min-height: 42px !important; /* Keeps names horizontally equal */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.whms-product-card .tagline-text {
    font-size: 12px !important;
    color: var(--muted) !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
    flex-grow: 1 !important; /* Keeps layout baseline clean */
}

/* Premium Orange Action Button Layout Override */
.whms-product-card .btn-outline-primary {
    background: var(--orange) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 24px !important;
    padding: 9px 15px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    width: 100% !important;
    display: block !important;
    transition: background 0.2s, transform 0.15s !important;
    box-shadow: 0 3px 10px rgba(245,161,20,0.2) !important;
    margin-top: auto !important;
}
.whms-product-card .btn-outline-primary:hover {
    background: #e0920f !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 15px rgba(245,161,20,0.35) !important;
}

/* --- See More Control Elements --- */
.see-more-see-less-btn .see {
    background: var(--navy) !important;
    color: #fff !important;
    border: none !important;
    padding: 11px 32px !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    transition: background 0.2s !important;
}
.see-more-see-less-btn .see:hover {
    background:#000238 !important;
}

/* --- Mobile Specific Adaptations --- */
@media (max-width: 1199px) {
    .product-card-container {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}
@media (max-width: 767px) {
    .whms-icon-card-group { grid-template-columns: repeat(3, 1fr) !important; }
    .product-card-container {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}
@media (max-width: 480px) {
    .whms-icon-card-group { grid-template-columns: repeat(2, 1fr) !important; }
    .product-card-container {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}


/* ==============================homepage=============================================== */


/* =================================login ======================================== */


.custom-login-wrapper {
    --navy:       #010424;
    --navy-l:     #0a0a5c;
    --blue:       #2eaef3;
    --surface:    #f8fafc;
    --border:     #e4eaf3;
    --muted:      #8899b4;
    --text:       #0d1b3e;
    --shadow-lg:  0 10px 40px rgba(0,0,54,.15);
    
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
}

.login-split-box {
    display: flex;
    width: 100%;
    max-width: 1000px;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* --- Left Side: Dark Login Form --- */
.login-form-side {
    flex: 1.2;
    background: var(--navy);
    padding: 50px 60px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}
.login-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.login-header p {
    color: var(--muted);
    font-size: 14px;
}

/* Dark Form Inputs */
.login-form-side .form-control-label {
    color: rgba(255,255,255,0.8);
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.login-form-side .input-group-text {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-right: none;
    color: var(--blue);
}

.login-form-side .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 14px;
    padding: 12px 15px;
}

.login-form-side .form-control:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--blue);
    box-shadow: none;
    color: #fff;
}

.login-form-side .form-control::placeholder {
    color: rgba(255,255,255,0.3);
}

.login-form-side .btn-reveal-pw {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-left: none;
    color: rgba(255,255,255,0.6);
}

.forgot-pw-link {
    color: var(--blue) !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.forgot-pw-link:hover {
    color: #fff !important;
}

/* Captcha Area */
.login-form-side .captcha-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

/* Action Buttons */
.login-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.btn-login-main {
    background: var(--blue);
    color: #fff;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}
.btn-login-main:hover {
    background: #2499d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46,174,243,0.4);
}

.remember-me-checkbox {
    color: rgba(255,255,255,0.7);
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* --- Right Side: Light Info Form --- */
.login-info-side {
    flex: 1;
    background: var(--surface);
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 1px solid var(--border);
}

.info-graphic {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,54,.06);
    margin-bottom: 30px;
    border: 1px solid var(--border);
}
.info-graphic i {
    font-size: 50px;
    color: var(--navy);
}

.login-info-side h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 15px;
}

.login-info-side p {
    font-size: 14.5px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-create-acc {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    text-decoration: none !important;
}
.btn-create-acc:hover {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 4px 15px rgba(1,4,36,0.2);
}

/* Custom Flash Messages for Dark Bg */
.login-form-side .alert {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}
.login-form-side .alert-danger {
    border-color: rgba(252,28,68,0.5);
    background: rgba(252,28,68,0.1);
}

/* ==============================================================
   RESPONSIVE DESIGN
   ============================================================== */
@media (max-width: 991px) {
    .login-split-box {
        flex-direction: column;
    }
    .login-form-side {
        padding: 40px 30px;
    }
    .login-info-side {
        padding: 40px 30px;
        border-left: none;
        border-top: 1px solid var(--border);
    }
}
@media (max-width: 576px) {
    .login-form-side {
        padding: 30px 20px;
    }
    .login-header h2 {
        font-size: 26px;
    }
}

/* =================================login ======================================== */




/* ===============================ADDON.TPL=========================== */

#order-standard_cart {
    --navy:       #010424;
    --navy-l:     #0a0a5c;
    --blue:       #2eaef3;
    --red:        #d32f2f;
    --red-hover:  #b71c1c;
    --surface:    #f8fafc;
    --border:     #e4eaf3;
    --muted:      #8899b4;
    font-family: 'Poppins', sans-serif;
}

/* --- Main Title --- */
#order-standard_cart .header-lined {
    border-bottom: none;
    margin-bottom: 25px;
}
#order-standard_cart .header-lined h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.5px;
}

/* --- Left Sidebar (Dark Navy Theme) --- */
#order-standard_cart .cart-sidebar .panel {
    background: var(--navy);
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,54,.1);
    overflow: hidden;
}
#order-standard_cart .cart-sidebar .panel-heading {
    background: var(--navy-l);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 18px 20px;
}
#order-standard_cart .cart-sidebar .list-group-item {
    background: transparent;
    color: var(--muted);
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 14px 20px;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s ease;
}
#order-standard_cart .cart-sidebar .list-group-item:last-child {
    border-bottom: none;
}
#order-standard_cart .cart-sidebar .list-group-item:hover {
    color: #fff;
    background: rgba(255,255,255,0.03);
}
#order-standard_cart .cart-sidebar .list-group-item.active {
    background: rgba(46,174,243,0.1);
    color: #fff;
}
#order-standard_cart .cart-sidebar .list-group-item i {
    color: var(--blue);
    margin-right: 8px;
}

/* --- Product Addon Cards (Matches Image Layout) --- */
#order-standard_cart .products .product {
    padding: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,54,.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    margin-bottom: 20px;
}
#order-standard_cart .products .product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,54,.08);
}

/* Fix Form Layout inside Card */
#order-standard_cart .products .product form {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    margin: 0;
}

/* Card Header (Dark Navy) */
#order-standard_cart .products .product header {
    background: var(--navy);
    color: #fff;
    padding: 20px 15px;
    text-align: center;
    border-radius: 16px 16px 0 0;
    margin: 0;
    max-width: 100%;
}
#order-standard_cart .products .product header span {
    font-size: 16px;
    font-weight: 800;
    display: block;
    line-height: 1.3;
}

/* Card Body (Description & Dropdown) */
#order-standard_cart .products .product .product-desc {
    padding: 25px 20px 15px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
#order-standard_cart .products .product .product-desc p {
    font-size: 13px;
    color: #4a5578;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    padding-left: 24px;
    font-weight: 500;
}
/* Fake Checkmark Bullet */
#order-standard_cart .products .product .product-desc p::before {
    content: '\f058'; /* FontAwesome Check Circle */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--red);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 15px;
}

/* Related Product Select Dropdown */
#order-standard_cart .products .product .form-group {
    margin-top: auto;
    width: 100%;
}
#order-standard_cart .products .product select.form-control {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 13px;
    padding: 8px 12px;
    color: var(--text);
    box-shadow: none;
}
#order-standard_cart .products .product select.form-control:focus {
    border-color: var(--blue);
}

/* Card Footer (Pricing & Button) */
#order-standard_cart .products .product footer {
    padding: 0 20px 25px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border-top: none;
    max-width: 100%;
}

/* Pricing Styling */
#order-standard_cart .products .product .product-pricing {
    width: 100%;
    margin-bottom: 15px;
}
#order-standard_cart .products .product .product-pricing span.price {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    display: block;
}
/* Small billing cycle text (Monthly, Annually) */
#order-standard_cart .products .product .product-pricing {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 1px;
}

/* Red Order Button */
#order-standard_cart .products .product footer button.btn-success {
    background: var(--red);
    border: none;
    border-radius: 30px;
    padding: 12px 20px;
    width: 100%;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(211,47,47,0.25);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
#order-standard_cart .products .product footer button.btn-success:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211,47,47,0.35);
}
#order-standard_cart .products .product footer button.btn-success i {
    display: none; /* Hide default cart icon if desired, or remove this line to keep it */
}
#order-standard_cart .products .product footer button.btn-success::after {
    content: '\f061'; /* Add Arrow Right icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 12px;
}


/* ===============================ADDON.TPL=========================== */




/* =====================================masspay.tpl======================= */
/* =====================================masspay.tpl======================= */


.custom-masspay-page {
    --navy:       #010424;
    --navy-l:     #0a0a5c;
    --blue:       #2eaef3;
    --red:        #fc1c44;
    --surface:    #f8fafc;
    --border:     #e4eaf3;
    --muted:      #8899b4;
    --text:       #0d1b3e;
    --shadow-sm:  0 2px 14px rgba(0,0,54,.06);
    --shadow-md:  0 4px 24px rgba(0,0,54,.10);
    --text-soft:  #4a5578;
    color: var(--text);
    width: 100%;
    max-width: 100%;
    font-family: 'Poppins', sans-serif;
}

.custom-masspay-page .main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    min-width: 0;
}


tr.masspay-invoice-detail td {
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* --- Page Hero --- */
.custom-masspay-page .page-hero { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; flex-wrap: wrap; gap: 15px; }
.custom-masspay-page .page-hero::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 200px; background: linear-gradient(135deg, transparent, rgba(46,174,243,.04)); pointer-events: none; }
.custom-masspay-page .hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--blue); text-transform: uppercase; margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.custom-masspay-page .hero-eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; }
.custom-masspay-page .hero-title { font-size: 24px !important; font-weight: 800; color: var(--navy); margin-bottom: 3px; line-height: 1.2; }
.custom-masspay-page .hero-sub { font-size: 14px; font-weight: 500; color: var(--text-soft); }
.custom-masspay-page .hero-stats { display: flex; gap: 12px; align-items: center; justify-content: center; width: 60px; height: 60px; background: var(--surface); border-radius: 50%; border: 1px solid var(--border); }
.custom-masspay-page .hero-stats i { font-size: 26px; color: var(--blue); opacity: 0.8; }

/* --- Mass Pay Card --- */
.custom-masspay-page .masspay-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 25px;
    overflow: hidden;
}

.custom-masspay-page .mp-table {
    width: 100%;
    border-collapse: collapse;
}
.custom-masspay-page .mp-table th {
    padding: 15px 20px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-soft);
    border-bottom: 2px solid var(--border);
    text-align: left;
}
.custom-masspay-page .mp-table th.text-right { text-align: right; }

.custom-masspay-page .mp-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--navy);
    font-size: 13.5px;
    font-weight: 500;
    vertical-align: middle;
}
.custom-masspay-page .mp-table td.text-right { text-align: right; }

/* Invoice Header Row */
.custom-masspay-page .invoice-header-row td {
    background: var(--surface);
    color: var(--blue);
    font-size: 15px;
    font-weight: 800;
    padding: 12px 20px;
}
.custom-masspay-page .invoice-header-row strong {
    display: flex;
    align-items: center;
    gap: 8px;
}
.custom-masspay-page .invoice-header-row strong::before {
    content: '\f15c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 14px;
}

/* Totals Area */
.custom-masspay-page .totals-row td {
    border-bottom: none;
    padding: 10px 20px;
    font-weight: 600;
    color: var(--text-soft);
}
.custom-masspay-page .totals-row.final-total td {
    font-size: 18px;
    font-weight: 800;
    color: var(--red);
    border-top: 2px solid var(--border);
    padding-top: 15px;
    padding-bottom: 25px;
}

/* Payment Method Section */
.custom-masspay-page .payment-section {
    background: var(--surface);
    padding: 20px 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}
.custom-masspay-page .ps-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.custom-masspay-page .ps-left label {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.custom-masspay-page .ps-left select {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    font-weight: 600;
    outline: none;
    min-width: 280px;
    background: #fff;
    cursor: pointer;
}
.custom-masspay-page .ps-left select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(46,174,243,.1);
}

.custom-masspay-page .btn-pay {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}
.custom-masspay-page .btn-pay:hover {
    background: #e11017;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(252,28,68,.3);
}

/* Responsive */
@media (max-width: 767px) {
    .custom-masspay-page .page-hero { flex-direction: column; align-items: flex-start; gap: 14px; }
    .custom-masspay-page .hero-stats { display: none; }
    .custom-masspay-page .payment-section { flex-direction: column; align-items: stretch; }
    .custom-masspay-page .ps-left select { min-width: 100%; }
    .custom-masspay-page .btn-pay { width: 100%; justify-content: center; margin-top: 10px; }
    .custom-masspay-page .mp-table th, .custom-masspay-page .mp-table td { padding: 12px 10px; }
}

/* =====================================masspay.tpl======================= */

/* =====================================clentareaaddfunds.tpl======================= */


.custom-addfunds-page {
    --navy:       #010424;
    --navy-l:     #0a0a5c;
    --blue:       #2eaef3;
    --red:        #fc1c44;
    --surface:    #f8fafc;
    --border:     #e4eaf3;
    --muted:      #8899b4;
    --text:       #0d1b3e;
    --shadow-sm:  0 2px 14px rgba(0,0,54,.06);
    --shadow-md:  0 4px 24px rgba(0,0,54,.10);
    --text-soft:  #4a5578;
    color: var(--text);
    width: 100%;
    max-width: 100%;
    font-family: 'Poppins', sans-serif;
}

.custom-addfunds-page .main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    min-width: 0;
}

/* --- Page Hero --- */
.custom-addfunds-page .page-hero { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; flex-wrap: wrap; gap: 15px; }
.custom-addfunds-page .page-hero::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 200px; background: linear-gradient(135deg, transparent, rgba(46,174,243,.04)); pointer-events: none; }
.custom-addfunds-page .hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--blue); text-transform: uppercase; margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.custom-addfunds-page .hero-eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; }
.custom-addfunds-page .hero-title { font-size: 24px !important; font-weight: 800; color: var(--navy); margin-bottom: 3px; line-height: 1.2; }
.custom-addfunds-page .hero-sub { font-size: 14px; font-weight: 500; color: var(--text-soft); }
.custom-addfunds-page .hero-stats { display: flex; gap: 12px; align-items: center; justify-content: center; width: 60px; height: 60px; background: var(--surface); border-radius: 50%; border: 1px solid var(--border); }
.custom-addfunds-page .hero-stats i { font-size: 26px; color: var(--blue); opacity: 0.8; }

/* --- Add Funds Card --- */
.custom-addfunds-page .addfunds-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 30px;
    overflow: hidden;
}

/* Limits Table */
.custom-addfunds-page .af-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.custom-addfunds-page .af-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--navy);
}
.custom-addfunds-page .af-table tr:last-child td {
    border-bottom: none;
}
.custom-addfunds-page .af-table td strong {
    font-weight: 700;
}
.custom-addfunds-page .text-right {
    text-align: right;
}

/* Form Styles */
.custom-addfunds-page .form-group {
    margin-bottom: 20px;
}
.custom-addfunds-page .form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    display: block;
    margin-bottom: 8px;
}
.custom-addfunds-page .form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    transition: all 0.2s;
    background: #fff;
}
.custom-addfunds-page .form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(46,174,243,.1);
    outline: none;
}
.custom-addfunds-page select.form-control {
    cursor: pointer;
}

/* Submit Button */
.custom-addfunds-page .btn-submit {
    background: var(--navy);
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    width: 100%;
    transition: all 0.3s;
    cursor: pointer;
    margin-top: 10px;
}
.custom-addfunds-page .btn-submit:hover {
    background: var(--navy-l);
    box-shadow: 0 6px 20px rgba(0,0,54,.15);
    transform: translateY(-2px);
}

/* Footer Note */
.custom-addfunds-page .card-note {
    margin-top: 20px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

/* Alerts Override */
.custom-addfunds-page .alert {
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: none;
}
.custom-addfunds-page .alert-danger {
    background: #fee2e2;
    color: #b91c1c;
    border-left: 4px solid #ef4444;
}

/* Responsive */
@media (max-width: 767px) {
    .custom-addfunds-page .page-hero { flex-direction: column; align-items: flex-start; gap: 14px; }
    .custom-addfunds-page .hero-stats { display: none; }
    .custom-addfunds-page .addfunds-card { padding: 20px; }
    .custom-addfunds-page .af-table td { padding: 12px 15px; font-size: 13px; }
}


/* =====================================clentareaaddfunds.tpl======================= */
/* =====================================clentareaaddfunds.tpl======================= */


/* ============================serverstatrus============================== */
/* ============================serverstatrus============================== */


.custom-status-page {
    --navy:       #010424;
    --navy-l:     #0a0a5c;
    --blue:       #2eaef3;
    --red:        #fc1c44;
    --surface:    #f8fafc;
    --border:     #e4eaf3;
    --muted:      #8899b4;
    --text:       #0d1b3e;
    --shadow-sm:  0 2px 14px rgba(0,0,54,.06);
    --shadow-md:  0 4px 24px rgba(0,0,54,.10);
    --text-soft:  #4a5578;
    color: var(--text);
    width: 100%;
    max-width: 100%;
    font-family: 'Poppins', sans-serif;
}

.custom-status-page .main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    min-width: 0;
}

/* --- Page Hero --- */
.custom-status-page .page-hero { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; flex-wrap: wrap; gap: 15px; }
.custom-status-page .page-hero::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 200px; background: linear-gradient(135deg, transparent, rgba(46,174,243,.04)); pointer-events: none; }
.custom-status-page .hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--blue); text-transform: uppercase; margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.custom-status-page .hero-eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; }
.custom-status-page .hero-title { font-size: 24px !important; font-weight: 800; color: var(--navy); margin-bottom: 3px; line-height: 1.2; }
.custom-status-page .hero-sub { font-size: 14px; font-weight: 500; color: var(--text-soft); }
.custom-status-page .hero-stats { display: flex; gap: 12px; align-items: center; justify-content: center; width: 60px; height: 60px; background: var(--surface); border-radius: 50%; border: 1px solid var(--border); }
.custom-status-page .hero-stats i { font-size: 26px; color: var(--blue); opacity: 0.8; }

/* --- Controls Bar (Tabs & Buttons) --- */
.custom-status-page .controls-bar { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; display: flex; flex-direction: column; gap: 15px; box-shadow: var(--shadow-sm); margin-bottom: 5px; }
.custom-status-page .controls-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; width: 100%; border-bottom: 1px solid var(--border); padding-bottom: 15px; }
.custom-status-page .controls-bottom { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 15px; width: 100%; }

/* View Tabs (Open, Scheduled, Resolved, RSS) */
.custom-status-page .status-tabs { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: -16px; }
.custom-status-page .stab { padding: 8px 0 14px 0; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; border-radius: 0; transition: color .2s; border: none; display: flex; align-items: center; gap: 8px; text-decoration: none; position: relative; background: transparent; }
.custom-status-page .stab:hover { color: var(--navy); text-decoration: none; }
.custom-status-page .stab.active { color: var(--navy); font-weight: 800; }
.custom-status-page .stab.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: #c70000eb; border-radius: 3px 3px 0 0; }
.custom-status-page .stab-rss { color: #d97706; font-size: 14px; margin-left: auto; }
.custom-status-page .stab-rss:hover { color: #b45309; }

/* Action Buttons */
.custom-status-page .action-btns { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; }
.custom-status-page .action-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 15px; font-size: 13px; font-weight: 600; border-radius: 9px; text-decoration: none; transition: all .2s; cursor: pointer; border: none; }
.custom-status-page .btn-pa { background: #002796; color: #fff; }
.custom-status-page .btn-pa:hover { background: #2499d8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(46,174,243,.25); color: #fff; text-decoration: none; }
.custom-status-page .btn-sa { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); }
.custom-status-page .btn-sa:hover { background: #fff; border-color: #f5a114; color: #f5a114; text-decoration: none; }

/* --- Premium Alerts --- */
.custom-status-page .premium-alert { border-radius: 12px; padding: 15px 20px; font-size: 14px; font-weight: 600; border: none; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-sm); }
.custom-status-page .premium-alert.alert-success { background: #ecfdf5; color: #059669; border-left: 4px solid #10b981; }
.custom-status-page .premium-alert.alert-info { background: #eff6ff; color: #1d4ed8; border-left: 4px solid #3b82f6; }

/* --- Status Cards & Tables --- */
.custom-status-page .status-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 20px; }
.custom-status-page .sc-header { padding: 20px 25px; border-bottom: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.custom-status-page .sc-title { font-size: 18px; font-weight: 800; color: var(--navy); margin: 0; }
.custom-status-page .sc-body { padding: 25px; }

/* Table overrides */
.custom-status-page .table-responsive { border: none; margin: 0; }
.custom-status-page .status-table { width: 100%; border-collapse: collapse; min-width: 600px; margin: 0; }
.custom-status-page .status-table th { background: var(--surface); color: var(--text-soft); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 16px 20px; border: none; border-bottom: 2px solid var(--border); }
.custom-status-page .status-table td { padding: 16px 20px; border: none; border-bottom: 1px solid var(--border); font-size: 14.5px; color: var(--navy); font-weight: 600; vertical-align: middle; }
.custom-status-page .status-table tbody tr:hover { background: #f8fafc; }

/* Status Badges */
.custom-status-page .spill { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 5px 14px; border-radius: 20px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.custom-status-page .sp-critical, .custom-status-page .sp-high { background: #fee2e2; color: #fc1c44; border: 1px solid rgba(252,28,68,0.3); } 
.custom-status-page .sp-low { background: #ecfdf5; color: #059669; border: 1px solid rgba(5,150,105,0.3); } 
.custom-status-page .sp-info { background: #eff6ff; color: #2563eb; border: 1px solid rgba(37,99,235,0.3); } 

/* Issue Item Details */
.custom-status-page .issue-affecting { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 15px; }
.custom-status-page .issue-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 15px; }
.custom-status-page .issue-meta-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.custom-status-page .issue-meta-item i { color: var(--blue); }
.custom-status-page .issue-desc { font-size: 14px; color: var(--text); line-height: 1.6; background: var(--surface); padding: 15px 20px; border-radius: 8px; border: 1px solid var(--border); }

/* Pagination */
.custom-status-page .pagination-container { display: flex; justify-content: flex-end; margin-top: 10px; }
.custom-status-page .pg-btn { padding: 8px 20px; background: #fff; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--navy); text-decoration: none; transition: all 0.2s; margin-left: 10px; }
.custom-status-page .pg-btn:hover:not(.disabled) { background: var(--surface); border-color: var(--blue); color: var(--blue); }
.custom-status-page .pg-btn.disabled { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 767px) {
    .custom-status-page .page-hero { flex-direction: column; align-items: flex-start; gap: 14px; }
    .custom-status-page .hero-stats { display: none; }
    .custom-status-page .controls-top { flex-direction: column; align-items: stretch; border-bottom: none; }
    .custom-status-page .status-tabs { border-bottom: 1px solid var(--border); padding-bottom: 0; justify-content: flex-start; }
    .custom-status-page .stab-rss { margin-left: 0; margin-top: 10px; border-bottom: none !important; }
    .custom-status-page .action-btns { flex-direction: column; width: 100%; }
    .custom-status-page .action-btn { width: 100%; justify-content: center; }
}


/* ============================serverstatrus============================== */
/* ============================serverstatrus============================== */




/* ==================supportticketsubmit-stepone.tpl======================= */
/* ==================supportticketsubmit-stepone.tpl======================= */


.custom-tickets-page {
    --navy:       #010424;
    --navy-l:     #0a0a5c;
    --blue:       #2eaef3;
    --red:        #fc1c44;
    --surface:    #f8fafc;
    --border:     #e4eaf3;
    --muted:      #8899b4;
    --text:       #0d1b3e;
    --shadow-sm:  0 2px 14px rgba(0,0,54,.06);
    --shadow-md:  0 4px 24px rgba(0,0,54,.10);
    --shadow-lg:  0 10px 36px rgba(0,0,54,.14);
    --text-soft:  #4a5578;
    color: var(--text);
    width: 100%;
    max-width: 100%;
    font-family: 'Poppins', sans-serif;
}

/* --- Layout Wrapper (Main + Right Sidebar) --- */
.custom-tickets-page .custom-layout-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
}

.custom-tickets-page .main-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.custom-tickets-page .sidebar-column {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* --- Page Hero --- */
.custom-tickets-page .page-hero { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; flex-wrap: wrap; gap: 15px; }
.custom-tickets-page .page-hero::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 200px; background: linear-gradient(135deg, transparent, rgba(46,174,243,.04)); pointer-events: none; }
.custom-tickets-page .hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--blue); text-transform: uppercase; margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.custom-tickets-page .hero-eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; }
.custom-tickets-page .hero-title { font-size: 24px !important; font-weight: 800; color: var(--navy); margin-bottom: 3px; line-height: 1.2; }
.custom-tickets-page .hero-sub { font-size: 14px; font-weight: 500; color: var(--text-soft); }
.custom-tickets-page .hero-stats {display: flex;gap: 12px;align-items: center;justify-content: center;width: 260px;height: 60px;background: var(--surface);border-radius: 50%;/* padding-left: 117px; */}
.custom-tickets-page .hero-stats i { font-size: 26px; color: var(--blue); opacity: 0.8; }

/* --- Recent Tickets Block (Right Sidebar) --- */
.custom-tickets-page .recent-tickets-container {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.custom-tickets-page .rtc-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    font-weight: 800;
    color: var(--navy);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
}
.custom-tickets-page .custom-recent-tickets { display: flex; flex-direction: column; }
.custom-tickets-page .crt-item { padding: 15px 20px; border-bottom: 1px solid var(--border); text-decoration: none !important; color: var(--navy); transition: all 0.2s ease; font-size: 13.5px; font-weight: 700; line-height: 1.5; display: block; }
.custom-tickets-page .crt-item:last-child { border-bottom: none; }
.custom-tickets-page .crt-item:hover { background: var(--surface); color: var(--blue); padding-left: 24px; }
.custom-tickets-page .crt-item small { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-weight: 600; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.5px; }

/* --- Controls Bar --- */
.custom-tickets-page .controls-bar { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; display: flex; flex-direction: column; gap: 15px; box-shadow: var(--shadow-sm); }
.custom-tickets-page .controls-top { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 15px; width: 100%; }

/* Action Buttons */
.custom-tickets-page .action-btns { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; }
.custom-tickets-page .action-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 15px; font-size: 13px; font-weight: 600; border-radius: 9px; text-decoration: none; transition: all .2s; cursor: pointer; border: none; }
.custom-tickets-page .btn-pa { background: #002796; color: #fff; }
.custom-tickets-page .btn-pa:hover { background: #2499d8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(46,174,243,.25); color: #fff; text-decoration: none; }
.custom-tickets-page .btn-sa { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); }
.custom-tickets-page .btn-sa:hover { background: #fff; border-color: #f5a114; color: #f5a114; text-decoration: none; }

/* GRID VIEW */
.custom-tickets-page .grid-view { display: grid; grid-template-columns: repeat(auto-fill, minmax(289px, 1fr)); gap: 18px; }
.custom-tickets-page .svc-card { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; display: flex; flex-direction: column; height: 100%; }
.custom-tickets-page .svc-card.clickable:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(46,174,243,.3); cursor: pointer; }
.custom-tickets-page .svc-card.clickable::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), #7dd3fc); }
.custom-tickets-page .card-top { padding: 20px 20px 0 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.custom-tickets-page .card-icon-box { width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--blue); box-shadow: inset 0 0 0 1px var(--border); transition: all 0.3s ease; }
.custom-tickets-page .svc-card.clickable:hover .card-icon-box { background: var(--blue); color: #fff; }
.custom-tickets-page .card-body { padding: 15px 20px; display: flex; flex-direction: column; flex-grow: 1; }
.custom-tickets-page .card-name { font-size: 16px; font-weight: 800; color: var(--navy); line-height: 1.3; margin-bottom: 8px; }
.custom-tickets-page .card-desc { font-size: 13px; color: var(--text-soft); line-height: 1.5; flex-grow: 1; }
.custom-tickets-page .card-foot { padding: 15px 20px; border-top: 1px solid var(--border); background: var(--surface); }
.custom-tickets-page .manage-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px; background: #fff; color: var(--navy); border: 1px solid var(--border); border-radius: 10px; font-size: 12.5px; font-weight: 700; text-decoration: none; cursor: pointer; transition: all .2s; box-shadow: var(--shadow-sm); }
.custom-tickets-page .manage-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); text-decoration: none; }

/* ==============================================================
   100% RESPONSIVE MEDIA QUERIES
   ============================================================== */
@media (max-width: 1199px) {
    .custom-tickets-page .grid-view { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 991px) {
    .custom-tickets-page .custom-layout-wrapper { flex-direction: column; }
    .custom-tickets-page .sidebar-column { width: 100%; }
}
@media(max-width: 767px) {
    .custom-tickets-page .page-hero { flex-direction: column; align-items: flex-start; gap: 14px; }
    .custom-tickets-page .hero-stats { display: none; } 
    .custom-tickets-page .grid-view { grid-template-columns: 1fr; }
    .custom-tickets-page .action-btns { flex-direction: column; width: 100%; }
    .custom-tickets-page .action-btn { width: 100%; justify-content: center; }
}





/* ==================supportticketsubmit-stepone.tpl======================= */
/* ==================supportticketsubmit-stepone.tpl======================= */


/* -====================user-switch-account.tpl========================== */
/* -====================user-switch-account.tpl========================== */

.custom-switch-account {
    --navy:       #010424;
    --blue:       #2eaef3;
    --surface:    #f8fafc;
    --border:     #e4eaf3;
    --muted:      #8899b4;
    --text:       #0d1b3e;
    --text-soft:  #4a5578;
    --shadow-sm:  0 2px 14px rgba(0,0,54,.06);
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    width: 100%;
}

.custom-switch-account .custom-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    padding: 24px 26px;
    margin-bottom: 20px;
}

.custom-switch-account .card-heading {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-switch-account .card-heading i {
    color: var(--blue);
}

.custom-switch-account .select-account {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.custom-switch-account .account-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.custom-switch-account .account-item:hover:not(.disabled) {
    border-color: rgba(46,174,243,.4);
    background: var(--surface);
    color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46,174,243,.12);
}

.custom-switch-account .account-item.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f1f5f9;
}

.custom-switch-account .account-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-switch-account .account-name i {
    font-size: 18px;
    color: var(--muted);
    transition: color 0.2s;
}

.custom-switch-account .account-item:hover:not(.disabled) .account-name i {
    color: var(--blue);
}

.custom-switch-account .badge-owner {
    background: rgba(46,174,243, 0.1);
    color: var(--blue);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-switch-account .badge-closed {
    background: #fee2e2;
    color: #ef4444;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-switch-account .btn-shop {
    display: inline-block;
    background: #002796;
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none !important;
    transition: all 0.2s;
    border: none;
    margin-top: 10px;
}
.custom-switch-account .btn-shop:hover {
    background: #2499d8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46,174,243,.25);
    color: #fff;
}


/* -====================user-switch-account.tpl========================== */
/* -====================user-switch-account.tpl========================== */





/* -====================clientareaemails.tpll========================== */
/* -====================clientareaemails.tpl========================== */


.custom-form-wrapper {
    --navy:       #010424;
    --blue:       #2eaef3;
    --surface:    #f8fafc;
    --border:     #e4eaf3;
    --text-soft:  #4a5578;
    --shadow-sm:  0 2px 14px rgba(0,0,54,.06);
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

/* Force WHMCS containers to allow the dropdown to overflow */
.custom-form-wrapper .card,
.custom-form-wrapper .card-body,
.tab-content, 
.tab-pane {
    overflow: visible !important;
}

.custom-form-wrapper .card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
    overflow: hidden;
}

.custom-form-wrapper .card-body {
    padding: 28px 32px;
}

.custom-form-wrapper .card-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.custom-form-wrapper .form-group {
    margin-bottom: 20px;
}

.custom-form-wrapper .col-form-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-soft);
    margin-bottom: 8px;
    display: block;
}

.custom-form-wrapper .form-control,
.custom-form-wrapper .custom-select {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 10px 15px;
    font-size: 14px;
    color: var(--navy);
    box-shadow: none;
    transition: all 0.2s ease;
    width: 100%;
    height: auto;
}

.custom-form-wrapper .form-control:focus,
.custom-form-wrapper .custom-select:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(46,174,243,0.15);
}

.custom-form-wrapper .form-control:disabled,
.custom-form-wrapper .custom-select:disabled {
    background-color: #f1f5f9;
    color: var(--text-soft);
    cursor: not-allowed;
}

/* Action Buttons */
.custom-form-wrapper .form-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.custom-form-wrapper .btn-primary {
    background: #002796;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    transition: all 0.2s;
}

.custom-form-wrapper .btn-primary:hover {
    background: #2499d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46,174,243,.25);
}

.custom-form-wrapper .btn-default {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--navy);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.custom-form-wrapper .btn-default:hover {
    background: #e2e8f0;
}

/* Checkboxes */
.custom-form-wrapper .form-check {
    padding-left: 0;
}
.custom-form-wrapper .form-check label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 500;
    cursor: pointer;
}
.custom-form-wrapper .form-check-input {
    margin-top: 0;
    cursor: pointer;
}






/* -====================clientareaemails.tpl========================== */
/* -====================clientareaemails.tpl========================== */



/* ==============clientareadetails=================== */
/* ==============clientareadetails=================== */


/* Phone dropdown fix - single scrollbar like country dropdown */
.iti {
    width: 100%;
}

.iti__country-list {
    position: absolute !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    overflow-y: visible !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    box-shadow: none !important;
    border: 1px solid #ced4da !important;
    border-top: none !important;
    width: 100% !important;
    z-index: 9999 !important;
}

/* Correctly target the Bootstrap wrappers */
.table-responsive, .form-group {
    overflow: visible !important;
}

.iti__country-list::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
}

.iti__flag-container {
    position: relative !important;
}

.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
    background-color: transparent !important;
}

/* If the form is inside a responsive table wrapper */
.iti__table-responsive {
    overflow: visible !important;
}

/* If it is just a generic wrapper causing it, ensure the form-group allows overflow */
.iti__form-group {
    overflow: visible !important;
}

/* ==============================================================
   FIX FOR PHONE DROPDOWN CUT-OFF IN ACCOUNT DETAILS
   ============================================================== */

/* 1. Strip the overflow restrictions from ALL parent layers */
form[action="?action=details"] .card,
form[action="?action=details"] .card-body,
form[action="?action=details"] .row,
form[action="?action=details"] .col-md-6,
form[action="?action=details"] .form-group,
.intl-tel-input {
    overflow: visible !important;
}

/* 2. Re-apply the float clearing (since we removed overflow: hidden) so the layout doesn't break */
form[action="?action=details"] .row::after,
form[action="?action=details"] .card-body::after {
    content: "";
    display: table;
    clear: both;
}

/* 3. Fix the dropdown list itself to prevent horizontal scrollbars */
.intl-tel-input .country-list {
    white-space: normal !important; /* Forces long country names to wrap to the next line */
    overflow-x: hidden !important;  /* Kills the horizontal scrollbar */
    width: max-content !important;  /* Lets the box expand if it needs to */
    min-width: 100% !important;     /* Ensures it's at least as wide as the input */
    z-index: 9999 !important;       /* Forces it to the very front */
}

.intl-tel-input .country-name{
    font-size: 12px !important;
}

.country-list #inputPhone{
    padding-left: 84px !important;
}

.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input, .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input[type=tel], .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input[type=text] {
    padding-left: 84px !important;
}

/* ==============clientareadetails=================== */
/* ==============clientareadetails=================== */


/* ===============cart========================  */
.pull-right
 {
    font-size: 18px;
    color: #4caf50 !important;
}

.clearfix span {
    font-size: 14px;
    font-weight: 700 !important; 
}



#order-standard_cart .summary-container
{
   margin: 0;
    padding: 10px;
    min-height: 100px;
    border-radius: 3px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%) !important;
    font-size: .8em; 
}

#order-standard_cart .header-lined h1{
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #000036 !important;
}

#order-standard_cart label, #order-standard_cart p.domain-renewal-desc, .service-renewals .div-renewal-period-label{
    color: #000036 !important;
    margin-right: 10px !important;
    font-weight: 300 !important;
    font-size: 16px !important;
}

#order-standard_cart .field, #order-standard_cart .form-control{
    color: #000000 !important;
    font-size: 16px !important;
    padding-left: 83px !important;
}

#order-standard_cart .secondary-cart-body p{
    color: #000000;
    font-size: 16px;
}

.summary-title {
    font-size: 1.4rem;
    font-weight: 800;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
    margin-bottom: 20px;
        color: black;
}

/* Button */
.btn-checkout-modern {
    background: linear-gradient(135deg, #369 0%, #000036 100%) !important;
    color: white !important;
    padding: 15px;
    border-radius: 10px;
    font-weight: 800;
    width: 100%;
    border: none;
    transition: 0.3s;
    cursor: pointer;
}
.btn-checkout-modern:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
#order-standard_cart .field, #order-standard_cart .form-control{
        padding: 6px !important;
}

/*  */


/* acou */

.form-check{
        color: black !important;
}

.col-form-label{
     color: black !important;    
}

.form-control{
    padding: 5px 19px !important;
}

.new-massege{
    width: 100% !important;
}
/* acou */

.cardbody-detaills{
         overflow: visible !important;
}
.intl-tel-input .country-list .country-name, .intl-tel-input .country-list .flag-box{
        font-size: 12px !important;
}

.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 .selected-flag {
    width: 86px;
    padding-left: 15px;
    color: black !important;
}

.intl-tel-input.separate-dial-code .selected-dial-code {
    display: table-cell;
    vertical-align: middle;
    padding-left: 20px !important;
}
.modal-content{
    margin-top: 190px !important;
}

.selected-dial-code{
    padding-left: 29px !important;
    color: black !important;
}

.intl-tel-input .country-list .country .dial-code {
    color: #000000 !important;
}

#inputPhone{
    padding-left: 94px !important;
}

#registration .prepend-icon .field-icon{
        margin-left: -2px !important;
}

#registration .prepend-icon .field {
    
    padding-left: 46px !important;
}



#order-standard_cart .prepend-icon .field {
   
    padding-left: 47px !important;
}


#order-standard_cart .prepend-icon .field-icon{
    margin-left: -2px !important;
}

#order-standard_cart .field, #order-standard_cart .form-control{
    padding-left: 83px !important;
}

.btn-default {
    color: #ffffff;
    background-color: #3498db;
    border-color: #ccc;
    padding: 5px 7px !important;
    border-radius: 5px !important;
}

.btn-default {
    color: #ffffff;
    background-color: #3498db;
    border-color: #ccc;
    padding: 5px 7px !important;
    border-radius: 5px !important;
}

.form-control-label{
    color: black !important;
}

.text-right label{
        color: black !important;
}

.iti__country-list{
   color: black !important; 
}


/* clientarea-product */

.server-control-panel {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e5e9;
    margin: 20px 0;
    overflow: hidden;
}

.panel-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #000036 0%, #1e3a8a 100%);
    color: white;
    display: flex;
    align-items: center;
    border-radius: 19px;
    height: 94px;
}

.panel-header h4 {
    margin: 0;
    font-weight: 600;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-body {
    padding: 24px;
}

.control-section {
    margin-bottom: 30px;
}

.control-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-group-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.btn-control {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    background: white;
    color: #495057;
    flex: 1;
    min-width: 120px;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.btn-control:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.btn-control.reboot:hover  {
    border-color: #f39c12;
    color: #ffffff;
}

.btn-control.reboot {
    background-color: #f39c12;
    color: white;
}

.btn-control.shutdown:hover  {
    border-color: #e74c3c;
    color: #ffffff;
}

.btn-control.shutdown{
    background-color: #e74c3c;
    color: white;
}

.btn-control.manual_reboot:hover{
    border-color: #3498db;
    color: #ffffff;
}

.btn-control.manual_reboot  {
    background-color: #3498db;
    color: white;
}

.os-install-section {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e1e8ed;
}

.os-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 12px;
}

.form-group {
    flex: 1;
    min-width: 250px;
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
    display: block;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 7px 15px;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.btn-install {
    background: linear-gradient(135deg, #27ae60, #219653);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    height: fit-content;
    cursor: pointer;
    margin: auto;
    margin-top: 28px;
}

.btn-install:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
    color: white;
}

.btn-install:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-info {
    color: #6c757d;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-container {
    margin-top: 20px;
    transition: all 0.3s ease;
}

.alert {
    border-radius: 8px;
    border: none;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.server-details {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
}

.server-details div {
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .btn-group-controls {
        flex-direction: column;
    }
    
    .os-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-group {
        min-width: 100%;
    }
    
    .panel-body {
        padding: 20px;
    }
}
        :root {
            --primary-color: #3498db;
            --success-color: #2ecc71;
            --warning-color: #f39c12;
            --danger-color: #e74c3c;
            --info-color: #17a2b8;
            --dark-color: #2c3e50;
            --light-color: #f8f9fa;
            --border-radius: 6px;
            --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }
        .config-panel-header {
            background: linear-gradient(135deg, #000036 0%, #1e3a8a 100%);
            color: white;
            padding: 18px 24px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            border-radius:20px 20px 0 0;
                border-radius: 19px;
            height: 124px;
        }
        .config-panel-header p{
             color: #ffffff; 
        }
        .service-info p {
    color: #ffffff; 
    }
        
        .config-panel-header h4 {
            margin: 0;
            font-weight: 600;
            font-size: 1.25rem;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #fff;
            border-radius: 19px;
        }


        .config-panel-header .nav-link.active {
            background-color: #ffffff00 !important;
            border-color: #dee2e600;
        }
        .compact-config-options {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            overflow: hidden;
            margin-bottom: 1.5rem;
        }
        
        .compact-config-header {
            background: #f8f9fa;
            padding: 0.75rem 1rem;
            border-bottom: 1px solid #e9ecef;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
                .compact-config-header h4 {
            margin: 0;
            font-size: 19px;
            font-weight: 600;
            color: black;
            display: flex;
            align-items: center;
        }
                
        .compact-config-header h4 i {
            margin-right: 0.5rem;
                color: #000036;
            font-size: 0.9rem;
        }
        
        .options-count {
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    padding: 14px 33px;
    font-size: 14px;
    font-weight: 600;
}
        .compact-options-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 45PX;
            padding: 1rem;
        }
        
        .compact-option-item {
            background: #f8fafc;
            border-radius: var(--border-radius);
            padding: 0.75rem;
            border-left: 4px solid #e11017;
            transition: all 0.2s ease;
        }
        
        .compact-option-item:hover {
            background: #f1f8ff;
            transform: translateY(-1px);
        }
        
        .option-name {
            font-size: 16px;
            font-weight: 600;
            color: var(--dark-color);
            margin-bottom: 0.4rem;
            display: flex;
            align-items: center;
        }
        
          .option-name i {
    margin-right: 0.4rem;
    font-size: 14px;
    color: #000000;
    width: 12px;
    text-align: center;
     }
        
        .option-value {
            font-size: 12px;
            font-weight: 500;
            color: #2c3e50;
        }
        
        .option-badge {
            display: inline-block;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
        }
        
        .badge-yes {
            background: rgba(46, 204, 113, 0.15);
            color: var(--success-color);
        }
        
        .badge-no {
            background: rgba(231, 76, 60, 0.15);
            color: var(--danger-color);
        }
        
        .badge-quantity {
            background: rgba(52, 152, 219, 0.15);
            color: var(--primary-color);
        }
        
        /* Ultra-compact inline layout */
        .inline-options-container {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            padding: 1rem;
        }
        
        .inline-option-row {
            display: flex;
            align-items: center;
            padding: 0.5rem 0;
            border-bottom: 1px solid #f1f3f4;
        }
        
        .inline-option-row:last-child {
            border-bottom: none;
        }
        
        .inline-option-name {
            flex: 0 0 50%;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--dark-color);
            display: flex;
            align-items: center;
        }
        
        .inline-option-name i {
            margin-right: 0.5rem;
            font-size: 0.8rem;
            color: var(--primary-color);
            width: 16px;
            text-align: center;
        }
        
        .inline-option-value {
            flex: 1;
            font-size: 0.85rem;
            font-weight: 500;
            color: #2c3e50;
            text-align: right;
        }
        
        /* Minimal tags layout */
        .tags-options-container {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            padding: 1rem;
        }
        
        .options-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        
        .option-tag {
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 20px;
            padding: 0.4rem 0.8rem;
            font-size: 0.8rem;
            display: flex;
            align-items: center;
        }
        
        .option-tag i {
            margin-right: 0.4rem;
            font-size: 0.7rem;
        }
        
        .tag-yes {
            border-color: rgba(46, 204, 113, 0.3);
            background: rgba(46, 204, 113, 0.08);
        }
        
        .tag-no {
            border-color: rgba(231, 76, 60, 0.3);
            background: rgba(231, 76, 60, 0.08);
        }
        
        .tag-quantity {
            border-color: rgba(52, 152, 219, 0.3);
            background: rgba(52, 152, 219, 0.08);
        }
        
        @media (max-width: 576px) {
            .compact-options-grid {
                grid-template-columns: 1fr;
                    gap: 33px;
                padding: 0.75rem;
            }
            
            .inline-option-name {
                flex: 0 0 60%;
            }
        }

          :root {
            --primary: #4361ee;
            --primary-light: #4895ef;
            --secondary: #3f37c9;
            --success: #4cc9f0;
            --info: #4895ef;
            --warning: #f72585;
            --danger: #e63946;
            --dark: #1d3557;
            --light: #f8f9fa;
            --gray: #8d99ae;
            --border-radius: 12px;
            --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--dark);
            min-height: 100vh;
        }
        
        .service-dashboard {
            max-width: 100%;
            margin: 0 auto;
        }
        
        .dashboard-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }
        
        .dashboard-title {
            font-weight: 700;
            color: var(--dark);
            font-size: 1.8rem;
            margin: 0;
        }
        
        .service-card {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            overflow: hidden;
            margin-bottom: 30px;
            transition: var(--transition);
            border: none;
        }
        
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        }
        
        .service-header {
            padding: 25px 30px;
            background: linear-gradient(135deg, #000036 0%, #1e3a8a 100%);
            color: white;
            display: flex;
            align-items: center;
            border-radius: 19px;
           height: 94px
        }
        
        .service-icon {
            width: 70px;
            height: 70px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            font-size: 28px;
        }
        
        .service-info h2 {
            margin: 0 0 5px 0;
            font-weight: 700;
            font-size: 1.6rem;
        }
        
        .service-info p {
            margin: 0;
            opacity: 0.9;
            font-size: 1rem;
        }
        
        .status-badge {
            display: inline-block;
            padding: 6px 15px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-left: auto;
        }
        
        .status-active {
                background: rgb(255 255 255 / 20%);
                color: #ffffff;
                border: 1px solid rgb(255 255 255 / 30%);
                padding: 10px 48px;
                font-size: 16px;
        }
        
        .status-pending {
            background: rgba(247, 37, 133, 0.2);
            color: #ffffff;
            border: 1px solid rgba(247, 37, 133, 0.3);
        }
        
        .status-suspended {
            background: rgba(230, 57, 70, 0.2);
            color: var(--danger);
            border: 1px solid rgba(230, 57, 70, 0.3);
        }
        
        .status-terminated {
            background: rgba(141, 153, 174, 0.2);
            color: var(--gray);
            border: 1px solid rgba(141, 153, 174, 0.3);
        }
        
        .service-body {
            padding: 30px;
        }
        
        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
            margin-bottom: 30px;
        }
        
        .info-card {
            background: var(--light);
            border-radius: 10px;
            padding: 10px;
            transition: var(--transition);
            border-left: 4px solid #e11017;
        }
        
        .info-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .info-card h4 {
            font-size: 16px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--gray);
            margin: 0 0 8px 0;
            font-weight: 600;
        }
        
        .info-card p {
            font-size: 14px;
            font-weight: 700;
            color: var(--dark);
            margin: 0;
        }
        
        .action-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
        }
        
        .action-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 14px 12px;
            border-radius: 10px;
            font-weight: 600;
            transition: var(--transition);
            text-decoration: none;
            border: none;
            font-size: 0.95rem;
            background-color: #0b95e552;
        }
        
        .action-btn i {
            margin-right: 8px;
            font-size: 1rem;
        }
        
        .btn-upgrade {
            background: linear-gradient(135deg, var(--success) 0%, #3a86ff 100%);
            color: white;
        }
        
        .btn-renew {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            color: white;
        }
        
        .btn-cancel {
            background: linear-gradient(135deg, var(--danger) 0%, #ff5a5f 100%);
            color: white;
        }
        
        .action-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 7px 15px rgba(0, 0, 0, 0.1);
            color: rgb(3, 3, 3);
        }
        
        .action-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
                background-color: #0b95e552;
        }
        
        .metrics-bar {
            display: flex;
            justify-content: space-between;
            background: white;
            border-radius: var(--border-radius);
            padding: 20px 30px;
            box-shadow: var(--box-shadow);
            margin-bottom: 30px;
        }
        
        .metric {
            text-align: center;
            flex: 1;
        }
        
        .metric-value {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 5px;
        }
        
        .metric-label {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--gray);
            font-weight: 600;
        }
        
        .divider {
            width: 1px;
            background: #e9ecef;
            margin: 0 20px;
        }
        
        @media (max-width: 768px) {
            .service-header {
                flex-direction: column;
                text-align: center;
            }
            
            .service-icon {
                margin-right: 0;
                margin-bottom: 15px;
            }
            
            .status-badge {
                margin-left: 0;
                margin-top: 15px;
            }
            
           
            
            .info-grid {
                grid-template-columns: 1fr;
            }
            
            .action-grid {
                grid-template-columns: 1fr;
            }
        }

        #controlStatus {
    display: none;
}

.show-status {
    display: block !important;
}

stat-label-total{
    color: #000000;
}


/* clientarea-product */

.bell-new{
    color: white !important;
}

/* =========================================
   WHMCS Notification Dropdown Custom Styles
   ========================================= */

/* The Nav Item Container */
.custom-nav-notification {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

/* The Bell Icon Button */
.notification-toggle {
    position: relative;
    padding: 8px 12px !important;
    transition: color 0.3s ease;
}

.notification-toggle i {
    font-size: 1.3rem;
}

.notification-toggle:hover {
    color: #ffc107; /* Hover වෙද්දී කහ පාට වෙනවා */
}

/* The Yellow Notification Dot (Fix කරලා තියෙන්නේ) */
.notification-badge {
    position: absolute;
    top: 6px;
    right: 10px;
    width: 10px;
    height: 10px;
    background-color: #ffc107;
    border: 2px solid #000033; /* ඔයාගේ header background color එකට ගැලපෙන්න මේක වෙනස් කරන්න */
    border-radius: 50%;
    /* පොඩි ලස්සන animation එකක් */
    animation: pulse-badge 2s infinite; 
}

/* Dropdown Menu Container */
.notification-dropdown-menu {
    min-width: 320px;
    padding: 0;
    margin-top: 15px !important;
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

/* Dropdown Header */
.notification-header {
    background-color: #f8f9fa;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Notification Items */
.notification-item {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background-color: #000036;
}

.notification-item a {
    display: flex;
    align-items: flex-start;
    padding: 12px 15px;
    text-decoration: none;
    color: #4a4a4a;
}

/* Icons inside notifications */
.notification-icon {
    margin-right: 12px;
    margin-top: 2px;
    font-size: 1.1rem;
}

/* Text content inside notifications */
.notification-content {
    font-size: 0.85rem;
    line-height: 1.5;
    word-wrap: break-word;
}

/* Empty state (Notifications නැති වෙලාවට) */
.notification-empty {
    padding: 30px 15px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.notification-empty i {
    font-size: 2rem;
    color: #ddd;
}

/* Yellow dot Animation */
@keyframes pulse-badge {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 193, 7, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

.dropdown-notification-button{
       background-color: #ffffff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 54, 0.15);
    padding: 10px 0;
    margin-top: 10px;
    min-width: 330px !important; 
}
/* contct-us */

#order-standard_cart .field, #order-standard_cart .form-control {
    padding-left: 14px !important;
}

#order-standard_cart #inputPhone {
    padding-left: 83px !important;
}

.alert-note{
    gap: 12px;
    display: flex;
    flex-direction: column;
}

#order-standard_cart .order-summary .product-group {
    margin: 0 0 5px 0;
    display: block;
    font-style: normal !important;
    font-size: 16px !important;
}

#order-standard_cart .secondary-cart-body{
width: 62% !important;
}


#order-standard_cart .secondary-cart-sidebar{
    float: right;
    width: 38% !important;
    position: relative;
    min-height: 1px;
padding-right: 0px; 
 padding-left: 0px;
}

.pull-right
 {
    font-size: 18px;
    color: #4caf50 !important;
}

#btnCompleteProductConfig.hover{
       background-color: #01012b !important;
    color: #ffffff !important;
}

.clearfix span {
    font-size: 14px;
    font-weight: 700 !important; 
}
.serach-div{
      width: 100%;
    background-color: #000036;
    border: 1px solid #000036;
    border-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    padding: 8px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: white;
    /* display: flex; */
    flex-direction: column;  
    }

    .header.header .navbar #whyEServersDropdown{
        color: #ffffff !important;
    }

    #serach-div a{
        color: #ffffff !important;
    }

    .header .navbar .location-itemnav{
        color: #01012b !important;
    }

 @media (max-width: 320px) {
    #whmcs-navbar .container{
    padding: 8px 5px !important;
    }
}

/* ==============================================================
   4. PRODUCT CARDS (MODERN GRID)
   ============================================================== */
.product-card-modern {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px; /* Card එකක් පාසා යටින් ඇති පරතරය */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.product-header {
    display: flex;
    justify-content: space-between;
}

.product-name { font-weight: 800; color: #111; font-size: 18px !important; }
.product-price { color: #8e1b1b; font-weight: 800; font-size: 1.5rem; }

.config-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

.product-actions {
    display: flex;             
    gap: 12px;                 
    justify-content: flex-end;  
    align-items: center;       
    margin-top: 15px;         
}

.config-item { display: flex; align-items: center; font-size: 16px; color: #444; }
.check-icon { color: #000036; margin-right: 8px; }

.btn-edit-modern { background: #2a9ee2; color: #ffffff; padding: 6px 15px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.btn-remove-modern { background: #b91c1c; color: #ffffff; padding: 6px 15px; border-radius: 6px; font-weight: 700; border: none; }


.btn-edit-modern:hover { background: #5293e7; }
.btn-remove-modern:hover { background: #a72f2f; }
/* ==============================================================
   5. ORDER SUMMARY
   ============================================================== */
.order-summary-dark {
    background: white; 
    color: #000;
    border-radius: 15px;
    padding: 30px;
    position: sticky;
    top: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.total-amount { font-size: 2.4rem; font-weight: 900; color: #000; }
.btn-checkout-modern {
    background: linear-gradient(135deg, #369 0%, #000036 100%) !important;
    color: white !important;
    padding: 15px;
    border-radius: 10px;
    font-weight: 800;
    width: 100%;
    text-align: center;
    border: none;
    margin-top: 15px;
}

.main-shopping-cart-wrapper{
    background-color: transparent !important;
}

/* ==============================================================
   3. PROMO SECTION & SPACING (The Gap Fix)
   ============================================================== */
.promo-section-modern {
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px; /* මෙමගින් Promo box එක සහ Cards අතර ලස්සන පරතරයක් (Gap) ලැබෙනවා */
}

.btn-order-now{
    background-color: #2ba4e8 !important;
}

.promo-btn {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    background-color: #2a9ee2;
    border-radius: 8px;
    
}

#order-standard_cart .secondary-cart-sidebar .summary-row{
    font-size: 16px;
}

#btnCompleteProductConfig .hover{
    background-color: #0a0a5c !important;
    color: #fdfdfd !important;
}


/* ===============cart========================  */



/* ========================account-contacts-new.tpl====================== */
/* ========================account-contacts-new.tpl====================== */
.alert-new{
    
    padding: 15px 20px;
    display: grid !important;
    
}
   





/* ========================account-contacts-new.tpl====================== */
/* ========================account-contacts-new.tpl====================== */