/* --- Background & Layout --- */
body.primary-bg-color, section#main-body {
    background-color: #f4f7fc !important;
}

/* Sidebar Main Background */
.billing-sidebar-main-container {
    background-color: #0f2236 !important; /* Meken thama dark blue box eka okkomata apply wenne */
    border-radius: 15px;
    padding: 20px 10px !important;
    margin-bottom: 30px;
}

/* --- Profile Section --- */
.g-sidebar-profile {
    text-align: center;
    padding: 0px 10px 3px 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
}

.g-sidebar-profile-avatar {
    width: 65px; height: 65px; background: #e63946; color: white; font-size: 26px; font-weight: bold; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px auto;
}
.g-sidebar-profile h4 { color: #fff; font-size: 16px; margin: 0 0 5px 0; font-weight: 600; }
.g-sidebar-company { background: rgba(255,255,255,0.05); color: #8da4be; font-size: 11px; padding: 4px 12px; border-radius: 12px; display: inline-block; margin-bottom: 15px; border: 1px solid rgba(255,255,255,0.1); }
.g-sidebar-stats { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.g-stat-box { background: rgba(255,255,255,0.03); padding: 10px; border-radius: 8px; flex: 1; border: 1px solid rgba(255,255,255,0.05); }
.g-stat-num { display: block; font-size: 18px; font-weight: bold; color: #e63946; }
.g-stat-label { font-size: 10px; color: #8da4be; letter-spacing: 0.5px; text-transform: uppercase; }
.g-btn-update { background: #e63946; color: #fff; width: 100%; border-radius: 8px; padding: 10px; font-weight: 600; font-size: 13px; border: none; display:block; text-decoration: none; }
.g-btn-update:hover { color: #fff; text-decoration: none; background: #d62828; }

/* --- Sidebar Menu Styling (1st Image Look) --- */
.card-sidebar {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 20px !important;
}

/* Section Title (e.g., "MENU", "Your Info") */
.card-sidebar .card-header {
    background: transparent !important;
    border: none !important;
    padding: 5px 10px 15px 10px !important;
}
.card-sidebar .card-title {
    color: #486380 !important;
    font-size: 11px !important;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    width: 100%;
}
.card-sidebar .card-title i.fa-chevron-up { margin-left: auto; opacity: 0.5; font-size: 10px; }

/* Menu Links styling */
.card-sidebar .list-group-item {
    background: transparent !important;
    border: none !important;
    color: #8da4be !important; /* Menu text color */
    padding: 10px !important;
    border-radius: 10px !important;
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}
.card-sidebar .list-group-item:hover, 
.card-sidebar .list-group-item.active {
    background: rgba(255,255,255,0.05) !important;
    color: #fff !important; /* White text on active/hover */
}

/* Icon Box Design (The box around icons) */
.g-menu-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05); /* Default gray box */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    transition: 0.3s;
}
.g-menu-icon i {
    color: #486380;
    font-size: 14px;
}
/* WHMCS default icon fallback */
.sidebar-menu-item-icon {
    color: #486380;
    width: 25px;
    text-align: center;
    font-size: 15px;
    margin-right: 10px;
}

/* Icon Box Red Background on Hover/Active */
.card-sidebar .list-group-item:hover .g-menu-icon,
.card-sidebar .list-group-item.active .g-menu-icon {
    background: #e63946;
}
.card-sidebar .list-group-item:hover .g-menu-icon i,
.card-sidebar .list-group-item.active .g-menu-icon i,
.card-sidebar .list-group-item.active .sidebar-menu-item-icon {
    color: #ffffff !important;
}

/* Badge (0 vs. 1+) Styling */
.g-menu-badge, .card-sidebar .badge {
    background: rgba(255,255,255,0.05) !important; /* Default dark background for 0 */
    color: #8da4be !important;
    font-size: 10px !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    font-weight: bold;
}
.g-menu-badge.has-items, .sidebar-menu-item-badge .badge {
    background: #e63946 !important; /* Red background if > 0 */
    color: #fff !important;
}

/* Fix WHMCS internal text for info panels */
.card-sidebar .card-body {
    padding: 0 10px 15px 10px !important;
    color: #8da4be !important;
    font-size: 13px !important;
    line-height: 1.6;
}
.card-sidebar .card-body a.btn, 
.card-sidebar .card-body button.btn {
    background: #e63946 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    width: 100%;
    margin-top: 15px;
    text-align: center;
    display: block;
}
.card-sidebar .card-body a.btn:hover { background: #d62828 !important; }

/* Dashboard Cards and Welcome Box */
.g-welcome-box { background: #ffffff; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 4px 15px rgba(0,0,0,0.03); margin-bottom: 25px; flex-wrap: wrap; gap: 15px;height: 100px;}
.g-welcome-avatar { width: 60px; height: 60px; background: #e63946; color: white; font-size: 24px; font-weight: bold; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; box-shadow: 0 4px 10px rgba(230,57,70,0.3);}
.g-custom-panel { background: #ffffff; border-radius: 12px; border: none; box-shadow: 0 4px 15px rgba(0,0,0,0.03); margin-bottom: 25px; height: calc(100% - 25px);}
.g-custom-panel .card-header { background: transparent; border-bottom: none; padding: 20px 20px 10px 20px; display: flex; justify-content: space-between; align-items: center;}
.g-custom-panel .panel-icon-wrap { background: #0b1c30; color: #fff; width: 35px; height: 35px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; margin-right: 10px;}
.g-custom-panel .card-title { font-size: 19px !important; font-weight: 700; color: #0b1c30; display: flex; align-items: center; margin: 0; }
.g-custom-panel .g-btn-panel { font-size: 14px; font-weight: bold; text-transform: uppercase; border-radius: 5px; padding: 6px 15px; color: #fff !important;}
.g-custom-panel .btn-red { background: #e63946; }
.g-custom-panel .btn-blue { background: #0b1c30; }


/* Custom Menu Links Styling */
.custom-menu-link {
    background: transparent !important;
    border: none !important;
    color: #8da4be !important;
    padding: 10px 15px !important;
    border-radius: 10px !important;
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}
.custom-menu-link:hover, .custom-menu-link.active {
    background: rgba(255,255,255,0.05) !important;
    color: #fff !important;
}
.custom-menu-link:hover .g-menu-icon, .custom-menu-link.active .g-menu-icon {
    background: #e63946 !important;
}
.custom-menu-link:hover .g-menu-icon i, .custom-menu-link.active .g-menu-icon i {
    color: #fff !important;
}

/* New Contact Button Styling inside the Dark Blue Box */
.sidebar-footer-btn-wrapper .btn {
    background: #e63946 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px !important;
    font-weight: 600 !important;
    width: 100% !important;
    display: block;
    text-align: center;
}
.sidebar-footer-btn-wrapper .btn:hover {
    background: #d62828 !important;
}


/* --- WHMCS Sidebars Dekama Ekama Blue Box Ekakata Genima --- */
.billing-sidebar-main-container {
    background-color: #0f2236 !important; /* Meken thama dark blue box eka okkomata apply wenne */
    border-radius: 15px;
    padding: 20px 10px !important;
    margin-bottom: 30px;
}

/* Ethule thiyena white boxes transparent kirima */
.billing-sidebar-main-container .sidebar,
.card-sidebar, .card-sidebar .card-header, .card-sidebar .card-body {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

/* --- Menu Titles & Body Texts --- */
.custom-menu-title {
    color: #486380 !important;
    font-size: 11px !important;
    font-weight: bold;
    padding: 0 15px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.custom-menu-body {
    padding: 0 15px 10px 15px;
    color: #8da4be;
    font-size: 13px;
}

/* --- Custom Menu Links Styling --- */
.custom-menu-link {
    background: transparent !important;
    border: none !important;
    color: #8da4be !important;
    padding: 10px 15px !important;
    border-radius: 10px !important;
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}
.custom-menu-link:hover, .custom-menu-link.active {
    background: rgba(255,255,255,0.05) !important;
    color: #fff !important;
}
.g-menu-icon {
    width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; margin-right: 12px; transition: 0.3s;
}
.g-menu-icon i { color: #486380; font-size: 14px; }

/* Icon Red Background on Hover/Active */
.custom-menu-link:hover .g-menu-icon, .custom-menu-link.active .g-menu-icon { background: #e63946 !important; }
.custom-menu-link:hover .g-menu-icon i, .custom-menu-link.active .g-menu-icon i { color: #fff !important; }

/* Buttons (Like + New Contact) */
.sidebar-footer-btn-wrapper .btn {
    background: #e63946 !important; color: #ffffff !important; border: none !important; border-radius: 8px !important; padding: 10px !important; font-weight: 600 !important; width: 100% !important; display: block; text-align: center; margin-bottom: 20px;
}
.sidebar-footer-btn-wrapper .btn:hover { background: #d62828 !important; }


/* --- Welcome Box Styling --- */
.g-welcome-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    flex-wrap: wrap;
    gap: 15px;
    border: 1px solid #f0f2f5;
}

.g-welcome-avatar {
    width: 60px;
    height: 60px;
    background: #e63946;
    color: white;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(230,57,70,0.3);
}

.welcome-right-actions {
    min-width: 150px;
}

.welcome-right-actions .btn-order-services {
    background: #e63946;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(230,57,70,0.3);
    width: 100%;
    border: none;
    transition: 0.3s;
}

.welcome-right-actions .btn-order-services:hover {
    background: #d62828;
    color: white;
}

.welcome-right-actions .btn-new-ticket {
    background: #ffffff;
    color: #6c757d;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 20px;
    width: 100%;
    transition: 0.3s;
}

.welcome-right-actions .btn-new-ticket:hover {
    background: #f8fafc;
    color: #495057;
}


/* --- Global Custom Top Bar (header.tpl) --- */
.custom-topbar-global {
    background: #0b1a2e; /* Sidebar eke dark blue color eka */
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
}

/* Breadcrumb Styling */
.custom-topbar-left {
    font-size: 11px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.breadcrumb-muted {
    color: #8da4be !important;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
        font-size: 14px;

}


.breadcrumb-muted:hover { color: #8da4be !important; }
.custom-topbar-left strong {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

/* Right Side Buttons Styling */
.custom-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.g-top-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    text-decoration: none !important;
    transition: 0.3s;
    cursor: pointer;
}
.g-top-btn:hover { background: rgba(255,255,255,0.1); }

/* Notifications Bell */
.notify-btn { position: relative; padding: 8px 12px; }
.notify-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e63946;
    color: white;
    font-size: 9px;
    border-radius: 50%;
    padding: 3px 6px;
    font-weight: bold;
}

/* Red Cart Button */
.cart-btn-red {
    background: #e63946 !important;
    border: none !important;
    border-radius: 20px !important; /* Pill shape */
    padding: 8px 18px;
}
.cart-btn-red:hover { background: #d62828 !important; }
.cart-btn-red i { margin-right: 5px; color: #fff; }
.cart-badge {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 5px;
    font-size: 11px;
}

/* Hide original WHMCS topbar and breadcrumbs to prevent duplicates */
.topbar.bg-light, .master-breadcrumb { display: none !important; }


/* Dashboard Card Fixes for 1st Image Look */
.g-custom-panel {
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04) !important; /* Soft Shadow */
    overflow: hidden;
    background: #fff !important;
}

.g-custom-panel .card-header {
    padding: 20px 25px !important;
    border: none !important;
}

.g-custom-panel .card-body {
    padding: 5px 25px !important;
    border-top: 3px solid #dc3545;
    box-shadow: none !important;
    height: fit-content;
    min-height: 150px;
    max-height: 300px;
    overflow-y: auto;
}

/* Alert Boxes within Cards */
.invoice-alert-box {
    background: #fff5f5 !important;
    border: 1px dashed #feb2b2 !important;
    border-radius: 10px;
    padding: 20px;
}

/* Sidebar Active State Fix */
.custom-menu-link.active {
    background: rgba(255,255,255,0.08) !important;
    border-left: 3px solid #e63946; /* Sidebar active indication */
}

/* Top Welcome Box shadow update */
.g-welcome-box {
    box-shadow: 0 10px 25px rgba(0,0,0,0.02) !important;
}


/* Email Verification Alert Styling */
.email-verification-alert {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    margin: 20px 30px 10px 30px !important; /* Topbar එකට පහළින් gap එකක් තැබීමට */
    padding: 15px 25px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
}

.email-verification-alert .alert-text {
    color: #486380 !important;
    font-size: 13px;
    font-weight: 500;
}

.email-verification-alert .btn-resend {
    background: #486380 !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    text-transform: uppercase;
    font-weight: 700;
    padding: 8px 15px !important;
    border: none !important;
}

/* Original WHMCS Alert එක hide කරලා අපේ style එක පෙන්වීමට */
section#main-body .alert-warning[role="alert"] {
    background: #fffbe6 !important; /* ලා කහ පාටක් (attention සඳහා) */
    border: 1px solid #ffe58f !important;
    color: #856404 !important;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* --- New Custom Verify Alert Design --- */
.g-custom-verify-alert {
    background: #ffffff !important;
    border: 1px solid #eef2f7 !important;
    border-radius: 12px !important;
    padding: 12px 20px !important;
    margin: 20px 0 !important; /* Content එකට උඩින් gap එකක් */
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
}

.g-alert-icon-wrap {
    background: rgba(230, 57, 70, 0.1); /* Light red background */
    color: #e63946;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 14px;
}

.g-alert-text {
    color: #486380 !important;
    font-size: 13px;
    font-weight: 600;
}

/* Resend Button Styling */
.btn-resend-custom {
    background: #486380 !important; /* Muted blue-grey */
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-resend-custom:hover {
    background: #364a60 !important;
    box-shadow: 0 4px 8px rgba(72, 99, 128, 0.2);
}

/* Close Button Styling */
.g-alert-close {
    background: transparent !important;
    color: #cbd5e0 !important;
    border: none !important;
    font-size: 14px !important;
    padding: 5px 10px !important;
    transition: 0.3s;
}

.g-alert-close:hover {
    color: #e63946 !important;
}

/* Gap between buttons on mobile */
.gap-2 {
    gap: 10px;
}


/* --- Email Verification Alert Fix (1st Image Look) --- */
.verification-banner.email-verification {
    background: #ffffff !important;
    border: 1px solid #eef2f7 !important;
    border-radius: 12px !important;
    margin: 0 0 20px !important;
    padding: 15px 25px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    position: relative !important;
}

.verification-banner.email-verification .row {
    display: flex !important;
    align-items: center !important;
}

/* Alert Icon */
.verification-banner.email-verification i.fa-exclamation-triangle {
    background: rgba(230, 57, 70, 0.1) !important;
    color: #e63946 !important;
    width: 35px !important;
    height: 35px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 15px !important;
}

/* Alert Text */
.verification-banner.email-verification span.text {
    color: #486380 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* Resend Button Custom Styling */
#btnResendVerificationEmail {
    background: #486380 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

/* Close Button (X) */
#btnEmailVerificationClose {
    background: transparent !important;
    color: #cbd5e0 !important;
    font-size: 20px !important;
    opacity: 1 !important;
}

/* --- Dashboard Section Spacing --- */
.billing-sidebar-with-content-main-wrapper {
    margin-top: 10px !important;
}

/* Sidebar background fix */
.billing-sidebar-main-container {
    background-color: #0f2236 !important;
    border-radius: 15px !important;
    padding: 20px 10px !important;
}


/* --- Email Verification Alert Global Fix --- */
.g-modern-alert {
    background: #ffffff !important;
    border: 1px solid #f0f2f5 !important;
    border-radius: 12px !important;
    padding: 15px 25px !important;
    margin: 0 0 25px 0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    width: 100% !important;
    display: block !important;
}

.g-alert-icon {
    background: rgba(108, 117, 125, 0.1) !important; /* Muted gray icon box */
    color: #6c757d !important;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.g-btn-resend {
    background: transparent !important;
    color: #486380 !important;
    border: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    margin-right: 20px !important;
    transition: 0.3s;
}

.g-btn-resend:hover {
    color: #e63946 !important;
    text-decoration: underline !important;
}

.g-close-alert {
    background: transparent !important;
    color: #cbd5e0 !important;
    border: none !important;
    font-size: 18px !important;
}

.g-close-alert:hover {
    color: #e63946 !important;
}

/* Hide original WHMCS banner backgrounds if they still appear */
.verification-banner.email-verification.bill-top {
    position: static !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.g-modern-alert {
    background: #ffffff !important;
    border: 1px solid #f0f2f5 !important;
    border-radius: 12px !important;
    padding: 15px 25px !important;
    margin: 0 0 25px 0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    width: 100% !important;
    /* display: block !important; <- Meka ain kala */
}


.client-conteiner{
  max-width: 1600px !important;  
}

.primary-content{
   margin: 0px auto !important;
}



/* sidebar */
/* --- Custom Sidebar Container --- */
.g-sidebar-container {
    background: #0f2236;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    font-family: 'Inter', sans-serif; /* Oyage theme eke font eka danna */
}

/* Profile Section */
.g-sidebar-profile {
    padding: 25px 20px;
    text-align: center;
}

.g-profile-avatar {
    width: 60px;
    height: 60px;
    background: #e63946;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    font-weight: bold;
    border: 3px solid rgba(255,255,255,0.1);
}

.g-sidebar-profile h4 {
    color: #fff;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.g-company-name {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    margin-top: 5px;
}

/* Stats Section */
.g-stats-wrapper {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.g-stat-item .g-num {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.g-stat-item .g-label {
    display: block;
    color: rgba(255,255,255,0.4);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Action Buttons (Profile/Contact/Logout) */
.g-action-btns-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 20px 0 10px;
}

.g-btn-side {
    width: 50%;
    background: rgba(255,255,255,0.05) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    font-size: 14px !important;
    padding: 8px 0 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
}

.g-btn-full-red {
    width: 100%;
    background: #e63946 !important;
    color: #fff !important;
    padding: 10px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    border-radius: 8px !important;
    margin-bottom: 10px !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
}

/* Menu Section */
.g-menu-section-title {
    color: rgba(255,255,255,0.3);
    font-size: 10px;
    font-weight: 800;
    padding: 0 25px;
    margin: 20px 0 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.g-menu-item-link {
    background: transparent !important;
    border: none !important;
    padding: 12px 20px !important;
    color: rgba(255,255,255) !important;
    font-size: 16px !important;
    transition: all 0.3s !important;
    margin: 2px 10px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.g-menu-item-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.05) !important;
}

/* --- ACTIVE STATE HIGHLIGHT --- */
.g-menu-item-link.active {
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
}

.g-menu-item-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: rgba(255,255,255,0.4);
    transition: 0.3s;
}

.g-menu-item-link.active .g-menu-item-icon {
    background: #e63946 !important;
    color: #fff !important;
}

.g-menu-item-badge {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 5px;
    padding: 2px 8px;
    font-size: 11px;
    margin-left: auto;
}

/* Order Service Special Button */
.g-menu-item-order {
    background: rgba(255,255,255,0.03) !important;
    margin-top: 10px !important;
}

/* sidebar */

/* invoice */
/* Filter Bar Container */
.g-invoice-filter-bar {
    border-radius: 8px; 
    padding: 10px 20px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.02); 
    border-bottom: 1px solid #eef2f5;
    background: #fff;
    margin-bottom: 20px;
}

/* Tabs Styling */
.g-filter-tab {
    padding: 15px 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #486380 !important;
    text-decoration: none !important;
    border: none !important;
    background: transparent !important;
    border-bottom: 3px solid transparent !important;
    margin-right: 25px !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
}

.g-filter-tab.active {
    color: #0b1a2e !important;
    border-bottom: 3px solid #0f2236 !important;
    font-weight: 700 !important;
}

.g-filter-tab .badge {
    background: #f1f5f9 !important;
    color: #486380 !important;
    border-radius: 20px !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
    margin-left: 8px !important;
}

/* Action Buttons (Add Funds / Mass Pay) */
.g-invoice-action-btn {
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    background: #ee626d !important;
    color: #ffffff !important;
    border: none !important;
    margin-left: 10px !important;
    text-decoration: none !important;
    transition: 0.3s;
}

.g-invoice-action-btn:hover {
    background: #d9535f !important;
    color: #fff !important;
}

.g-btn-mass-pay {
    background: #27ae60 !important;
}

.g-btn-mass-pay:hover {
    background: #219150 !important;
}

/* Table Area Styling */
.g-table-wrapper {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.g-invoice-table thead {
    background: #0b1a2e;
    color: #ffffff;
}

.g-invoice-table thead th {
    border: none !important;
    padding: 15px !important;
}

.g-invoice-table thead th:first-child {
    border-top-left-radius: 10px;
}

.g-invoice-table thead th:last-child {
    border-top-right-radius: 10px;
}

.g-invoice-table tbody td {
    padding: 15px !important;
    border-bottom: 1px solid #f0f2f5 !important;
    vertical-align: middle !important;
}

.g-td-bold {
    font-weight: bold;
    color: #0b1a2e;
}

.g-td-amount {
    font-weight: bold;
    color: #e63946;
}

/* Alert Banner Styling */
.g-invoice-alert {
    background: #d32f2f;
    color: white;
    border-radius: 8px;
    padding: 12px 20px;
}

.g-invoice-alert strong {
    font-weight: 700;
}
/* invoice */

.dataTables_info{
    display: flex;
    padding: 7px !important;
    align-items: center;
    color: #000000 !important;
    font-weight: 700 !important ;
    border-radius: 3px !important;
    box-shadow: none !important;
    background-color: #ffffff !important;
}
.billing-product-main{
        padding: 0px !important;
}

.alert-info{
        border-radius: 10px !important;
}

.card-body{
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px !important;
}

.billing-client-profile-add-div{
    display: flex !important;
    gap: 10px;
    flex-direction: column !important;
}


.billing-client-profile-bottom-selection-div {
    display: grid;
    grid-template-columns: none;
    gap: 8px;
}

.card, .mc-promo-login, .mc-promo-manage{
         border-radius: 13px !important;
}

.billing-sidebar-row {
    margin-right: unset;
    margin-left: unset;
}

.cart-sidebar .list-group-item{
    color: #ffffff !important;
}

.billing-quick-link-body .billing-quick-link-img{
    filter: invert(1) brightness(5);
}

.billing-quick-link-img:hover {
    width: 65px;
    transition: 0.3s ease-in-out;
}

.billing-quick-link-body {
    background-color: #00234a !important;
}

.billing-quick-link:hover{
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 18px !important;
}
.billing-quick-link-img:hover {
    width: 65px !important;;
    transition: 0.3s ease-in-out !important;
}

.billing-quick-link:hover{
        color: #c12107;
    font-weight: 500;
    font-size: 18px;
}

.billing-quick-link-body {
        border-radius: 15px !important; 
}

.billing-quick-link{
         color: #ffffff;
    font-weight: 500;
    font-size: 18px;
}

.cart-sidebar .list-group-item {
    color: #000000 !important;
}

#productList {
    max-height: 300px; 
    overflow-y: auto;
    padding-top: 10px;
}
