.balance-card{
    background: var(--bs-primary);
    position:relative;
    overflow:hidden;
    padding: 35px 0 !important;
}
.balance-card h2,
.balance-card h5,
.balance-card h6{
    color: #FFFFFF !important;
}
.balance-card small{
    font-weight: 500 !important;
    font-size: 13px;
}

.balance-card::after{
    content:'';
    position:absolute;
    right:-40px;
    top:-40px;
    width:150px;
    height:150px;
    background:rgba(255,255,255,.25);
    border-radius:50%;
}
.balance-card .btn{
    background: var(--bs-primary-glass-bg) !important;
    border: 1px solid var(--bs-primary-glass-border) !important;
    color: white !important;
    font-weight: 800 !important;
    font-size: 16px;
}
.balance-card .btn:hover{
    background: var(--bs-primary) !important;
    color: #fff !important;
}

.balance-sub{
    background: var(--bs-primary-glass-bg) !important;
    border: 1px solid var(--bs-primary-glass-border) !important;
    border-radius: 5px;
}

.balance-sub i{
    background: linear-gradient(135deg, #005251, #27cfcd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.add-bal-cart{
    background: rgba(255, 255, 255, 0.55) !important;
    border: 1px solid white !important;
}




                
.rounded-icon{
    width:36px;
    height:36px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
}

/* Quick cards */
.quick-card{
    background:#fff;
    padding:14px 18px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.quick-icon{
    width:32px;
    height:32px;
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:14px;
}

.section {
    display: none;
}

.homepage-banner {
    width: 100%;
    margin: 0 0 28px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.homepage-banner-image,
.homepage-banner-image .carousel,
.homepage-banner-image .carousel-inner,
.homepage-banner-image .carousel-item,
.homepage-banner-image a {
    width: 100%;
}
.homepage-banner-img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    border: 0 !important;
    border-radius: 0;
}
.homepage-banner-image .carousel-indicators { margin-bottom: 10px; }

@media (max-width: 767px) {
    .homepage-banner { margin-bottom: 20px; }
}

.customer-dashboard-welcome,
.customer-orders-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}
.customer-dashboard-welcome h1,
.customer-orders-heading h2 {
    margin: 5px 0 0;
    color: var(--ink);
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 700;
}
.customer-dashboard-welcome p {
    color: var(--sub);
    margin: 7px 0 0;
}
.customer-dashboard-eyebrow,
.customer-panel-label {
    color: var(--bs-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.customer-dashboard-eyebrow i,
.customer-panel-label i { margin-right: 5px; }
.customer-balance-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    min-height: 156px;
    margin-bottom: 18px;
    padding: 28px 32px;
    border: 1px solid #b9e6ec;
    border-radius: 14px;
    background: linear-gradient(120deg, #eafcff, #d9f2ff 55%, #e8edff);
    color: #0c2540;
}
.customer-balance-panel::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    right: -55px;
    top: -80px;
    border: 1px solid rgba(35, 120, 255, .18);
    border-radius: 50%;
    box-shadow: 0 0 0 20px rgba(35, 120, 255, .04), 0 0 0 42px rgba(35, 120, 255, .03);
}
.customer-balance-panel strong { display: block; margin: 4px 0; font-size: 2rem; letter-spacing: .01em; }
.customer-balance-panel small { color: #4d6b82; }
.customer-balance-mark { color: #2378ff; font-size: 58px; opacity: .75; margin-right: 42px; z-index: 1; }
.customer-metrics { margin-bottom: 18px; }
.customer-metric {
    position: relative;
    height: 100%;
    min-height: 156px;
    padding: 18px 18px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--w);
    box-shadow: 0 7px 20px rgba(10, 32, 55, .05);
    overflow: hidden;
}
.customer-metric::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--bs-primary); }
.metric-amber-card::before { background: #e6a322; }
.metric-green-card::before { background: #20b486; }
.metric-violet-card::before { background: #7554c7; }
.metric-red-card::before { background: #dc5b68; }
.customer-metric-top { display: flex; align-items: center; justify-content: space-between; }
.customer-metric small { display: block; margin: 15px 0 4px; color: var(--sub); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.customer-metric strong { display: block; color: var(--ink); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.2; }
.customer-metric-note { display: block; margin-top: 8px; color: var(--sub); font-size: 11px; }
.metric-arrow { color: var(--sub); font-size: 15px; }
.customer-active-pill { padding: 5px 8px; border-radius: 99px; color: #16835d; background: #e1f8ee; font-size: 10px; font-weight: 700; }
.customer-active-pill i { font-size: 6px; vertical-align: middle; }
.customer-metric-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; font-size: 16px; }
.metric-blue { color: #2378ff; background: #e6f0ff; }
.metric-amber { color: #b77900; background: #fff4d9; }
.metric-green { color: #16835d; background: #e1f8ee; }
.metric-violet { color: #7554c7; background: #eee8ff; }
.metric-red { color: #c13e4c; background: #ffe5e7; }
.customer-order-stats .customer-metric { min-height: 136px; }
.customer-order-stats .customer-metric small { margin-top: 13px; }
.customer-orders-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 24px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--w); }
.customer-filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.customer-filter-pill { padding: 9px 14px; border: 1px solid var(--border); border-radius: 99px; background: transparent; color: var(--ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.customer-filter-pill:hover, .customer-filter-pill.active { border-color: #3688ff; background: #3688ff; color: #fff; }
.customer-order-search { display: flex; align-items: center; gap: 8px; min-width: 245px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 9px; color: var(--sub); background: var(--off); }
.customer-order-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.customer-analytics-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr); gap: 18px; margin: 22px 0; }
.customer-chart-panel, .customer-insight-panel { min-height: 270px; padding: 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--w); }
.customer-chart-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 25px; }
.customer-chart-heading h2, .customer-insight-panel h2 { margin: 5px 0 0; color: var(--ink); font-size: 1.25rem; }
.customer-chart-total { color: var(--sub); font-size: 12px; }
.customer-chart-wrap { min-height: 240px; display: flex; align-items: center; justify-content: center; }
.customer-chart-wrap .apexcharts-legend-text { color: var(--sub) !important; }
.customer-dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-green, .fill-green { background: #20b486; }
.dot-blue, .fill-blue { background: #3688ff; }
.dot-amber, .fill-amber { background: #e6a322; }
.dot-red, .fill-red { background: #dc5b68; }
.customer-insight-panel { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: linear-gradient(145deg, var(--w), var(--off)); }
.customer-insight-panel p { margin: 12px 0 20px; color: var(--sub); font-size: 13px; line-height: 1.65; }
.customer-quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 34px; }
.customer-quick-actions a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; color: var(--ink); background: var(--off); text-decoration: none; font-size: 13px; transition: border-color .15s, transform .15s; }
.customer-quick-actions a:hover { border-color: var(--bs-primary); transform: translateY(-2px); }
.customer-quick-actions a > i:first-child { color: var(--bs-primary); font-size: 18px; }
.customer-quick-actions a > i:last-child { margin-left: auto; color: var(--sub); }
.customer-orders-heading { align-items: center; margin-bottom: 14px; }
.customer-orders-heading h2 { font-size: 1.35rem; }
.customer-orders-card { overflow: hidden; border: 1px solid var(--border); box-shadow: 0 8px 28px rgba(10, 32, 55, .07); }
.customer-orders-card .table { margin-bottom: 0; }
.customer-orders-card thead th { padding: 14px 18px; color: var(--sub); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--border); }
.customer-orders-card tbody td { padding: 16px 18px; vertical-align: middle; color: var(--ink); }
.customer-status { display: inline-block; padding: 5px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; background: #e9eef5; color: #52677c; }
.customer-status-success { background: #e1f8ee; color: #16835d; }
.customer-status-in-process { background: #e6f0ff; color: #2378ff; }
.customer-status-waiting-action { background: #fff4d9; color: #a36800; }
.customer-status-rejected { background: #ffe5e7; color: #c13e4c; }

@media (max-width: 767px) {
    .customer-dashboard-welcome { align-items: flex-start; flex-direction: column; }
    .customer-dashboard-welcome .btn { width: 100%; justify-content: center; }
    .customer-balance-panel { padding: 22px; }
    .customer-balance-mark { margin-right: 0; font-size: 42px; }
    .customer-quick-actions { grid-template-columns: 1fr; }
    .customer-analytics-grid { grid-template-columns: 1fr; }
    .customer-orders-toolbar { align-items: stretch; flex-direction: column; }
    .customer-order-search { min-width: 0; }
    .customer-orders-heading { align-items: flex-start; flex-direction: column; }
    .customer-orders-heading .btn { width: 100%; }
    .customer-orders-card { margin-left: -4px; margin-right: -4px; }
}
.customer-m-menu{
    width:250px;
    display: block;
    min-height: 640px;
}
.customer-m-menu-content{
    width: calc(100% - 250px);
    min-height: 560px;
    overflow: auto;
}
.customer-m-menu .btn{
    background: transparent;
}

#menu .active {
    font-weight: 700;
    background: var(--bs-light-primary);
    margin-left: 1px;
    border-radius: 5px !important;
    border-left: 5px solid var(--bs-primary) !important;
    border-right: 1px solid var(--bs-primary) !important;
    border-top: 1px solid var(--bs-primary) !important;
    border-bottom: 1px solid var(--bs-primary) !important;
    padding-left: 16px;
}

#menu button{
    width: 100%;
    padding: 12px 20px 12px 20px;
    text-align: left;
    border: 1px solid white !important;
    font-weight: 500;
    margin-left: 1px;
    display: flex;
    align-items: center;
}

#menu button:focus,
#menu button:active,
#menu button:focus-visible {
    outline: 0 !important;
    box-shadow: none !important;
}
#menu button,
#menu .btn {
    transition: none !important;
}
.customer-m-menu-content label{
    color: #383838 !important;
    font-weight: 600 !important;
}
.api-copy-btn{
    background: #fafafd;
    border-top: 1px solid #d3dae1;
    border-bottom: 1px solid #d3dae1;
    border-right: 1px solid  #d3dae1;
    border-left: 0 !important;
    color: var(--bs-primary) !important;
}
.api-copy-btn:hover{
    background: #fafafd;
    border-top: 1px solid #d3dae1;
    border-bottom: 1px solid #d3dae1;
    border-right: 1px solid  #d3dae1;
    color: var(--bs-primary);
}
.api-copy-btn:active,
.api-copy-btn:focus,
.api-copy-btn:focus-visible {
    background: #fafafd !important;
    border-top: 1px solid #d3dae1 !important;
    border-bottom: 1px solid #d3dae1 !important;
    border-right: 1px solid  #d3dae1 !important;
    color: var(--bs-primary) !important;
}



.service-img{
    width: 120px;
}
.service-title{
    width: calc(100% - 120px);
}
.page-title{
    color: rgba(48, 48, 48, 1);
    font-size: 18px;
    font-weight: 600;
}
.service-tag{
    font-size: 12px !important;
}
.medium-height{
    min-height: 510px;
}
.maximum-height{
    min-height: 733px;
}
.dropdown-menu{
    width: 100%;
}
.modal-open-force {
    overflow: hidden !important;
    height: 100%;
}

/*  */

.invoice-container {
    max-width: 600px;
    margin: 5px auto;
    background: #ffffff;
    padding: 20px;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #6c757d;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.info-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #212529;
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-header {
    background-color: #f0f0f0 !important;
    border-bottom: none;
}

.table-header th {
    font-size: 0.7rem;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    padding-top: 12px;
    padding-bottom: 12px;
    border: none;
}

.table-row td {
    font-size: 0.9rem;
    padding-top: 15px;
    padding-bottom: 15px;
    vertical-align: middle;
}

.totals-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    width: 120px;
}

.totals-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: #212529;
    text-align: right;
}

.service-top-section{
    display: flex;
}












@media (max-width: 1399px) {
    .resource-tab-pane .btn{
        font-size: 12px !important;
    }
}
@media (max-width: 1199px) {
    .place-order, .place-order-loader{
        max-width: 100% !important;
    }
    .medium-height{
        min-height: auto;
    }
    .maximum-height{
        min-height: auto;
    }
}
@media (max-width: 767px) {
    .customer-m-menu{
        display: flex;
        gap: 10px;
        overflow: auto;
        width: 100%;
        border-bottom: 2px solid var(--bs-border-color);
        border-bottom-left-radius: 0 !important;
        border-top-left-radius: 0 !important;
        min-height: auto;
        background: transparent;
    }
    .customer-m-menu .btn{
        display: inline-flex;
    }
    .customer-m-menu span{
        width: max-content !important;
    }
    #menu .active{
        background: white;
        border: 0 !important;
        border-radius: 0 !important;
        border-bottom: 2px solid var(--bs-primary) !important;
        padding-left: 20px;
        font-weight: 500;

    }
    .customer-m-menu-content{
        width: 100%;
    }
    #orderModal .modal-dialog{
        max-width: 100% !important;
    }
}
@media (max-width: 440px) {
    .service-top-section{
        display: block;
    }
    .service-img{
        width: 100%;
        margin-bottom: 20px;
    }
    .service-title{
        width: 100%;
    }
}

