﻿body {
}
@font-face {
    font-family: 'Panton';
    src: url('/fonts/Nunito/static/Nunito-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'PantonExtraBold';
    src: url('/fonts/Nunito/static/Nunito-ExtraBold.ttf') format('truetype');
    font-weight: bolder;
    font-style: normal;
}
.offcanvas,
.offcanvas-backdrop {
    z-index: 99999 !important;
}
.nav-tabs .nav-link.active {
    font-weight: bold;
}

.avatar-50 {
    width: 50px;
    height: 50px;
}

.ItemSizes .form-control, .ItemSizes form-select {
    min-width: 80px;
}

.glow {
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.8), /* outer glow */
    0 0 20px rgba(255, 193, 7, 0.6), 0 0 30px rgba(255, 193, 7, 0.4);
}
.navbar-nav .nav-link{
    font-size: 14px !important;
}

:root {
    --bs-secondary: #ed1b4c;
}
.bg-secondary {
    background-color: #ed1b4c !important;
}

.swal2-container {
    z-index: 1061;
}

.added-wishlist i {
    color: #dc3545 !important;
}
.rounded {
    border-radius: 5px !important;
}
#form_Pricing .form-control, div.rounded {
    border-radius: 5px !important;
    font-size: 11px !important;
}
#form_Pricing .input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu), .input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
#form_Pricing .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: -1px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
#form_Pricing .btn {
    border-radius: 5px;
}
#form_Pricing .form-check, [data-EditIcon] {
    font-size: 11px !important;
}
li::marker {
    color: #E02454; /* Bullet color */
}
.scroll {
    overflow: auto;
    white-space: nowrap;
}
.Text-Panton {
    font-family: 'Panton';
}
.Text-PantonExtraBold {
    font-family: 'PantonExtraBold';
}

h1, h2, h3, h4, h5, h6, p, .nav-item, .btn {
    font-family: 'Panton';
}
.office-item p {
    font-family: unset;
}
.text-justify {
    text-align: justify;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
[data-product] [data-Title] {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 12px;
}
/* Thin scrollbar For WebKit browsers */
::-webkit-scrollbar {
    width: 6px; /* width of the scrollbar */
    height: 6px; /* height of the scrollbar (for horizontal scrollbar) */
}

::-webkit-scrollbar-thumb {
    background-color: #888; /* color of the scrollbar thumb */
    border-radius: 10px; /* rounded corners for the scrollbar */
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #555; /* darker color when hovering */
    }

::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* background of the scrollbar track */
}
/* For Firefox */
html {
    scrollbar-width: thin; /* makes the scrollbar thin */
    scrollbar-color: #888 #f1f1f1; /* scrollbar thumb and track colors */
}
.max-width-80px{
    max-width: 80px !important;
}
.max-width-100px {
    max-width: 100px !important;
}
.max-width-150px {
    max-width: 150px !important;
}
.w-30px {
    width: 30px !important;
}
.w-80px {
    width: 80px !important;
}
.w-100px {
    width: 100px !important;
}
.w-150px {
    width: 150px !important;
}
.w-200px {
    width: 200px !important;
}
.w-300px {
    width: 300px !important;
}
.fs-11px {
    font-size: 11px !important;
}
.fs-13px {
    font-size: 13px !important;
}
#mySidebar .nav-link:hover {
    background-color: lightblue;
}

#mySidebarSmall {
    max-height: 300px; /* adjust as needed */
    overflow-y: auto;
}


#myTab {
    -webkit-overflow-scrolling: touch;
}

    #myTab .nav-item {
        flex-shrink: 0;
    }

    #myTab::-webkit-scrollbar {
        height: 6px;
    }

    #myTab::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.3);
        border-radius: 3px;
    }

.counter-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

    .counter-scroll-wrapper::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }

    .counter-scroll-wrapper .row > div {
        min-width: 250px; /* width of each card */
        flex: 0 0 auto; /* prevent shrinking */
        cursor: grab; /* shows grab cursor */
    }
/* ── Sidebar shell ─────────────────────────────────────────── */
#sidebarWrapper {
    background: #0d2d52 !important;
    border-color: transparent !important;
    border-radius: 12px;
    padding: 0 !important;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

/* Brand strip */
.sidebar-brand {
    padding: 16px 14px 12px;
    border-bottom: 0.5px solid rgba(255,255,255,0.08);
}

    .sidebar-brand .brand-name {
        font-size: 13px;
        font-weight: 600;
        color: #fff;
        letter-spacing: 0.04em;
        margin: 0;
    }

    .sidebar-brand .brand-sub {
        font-size: 10px;
        color: rgba(255,255,255,0.35);
        margin: 0;
    }

/* Section labels */
.nav-section {
    padding: 14px 0 4px;
}

.nav-section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    padding: 0 14px 6px;
    display: block;
}

/* Nav links */
#mySidebar .nav-link,
#mySidebarMobile .nav-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.58);
    border-left: 2px solid transparent;
    border-radius: 0;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    font-size: 12px;
}

    #mySidebar .nav-link:hover,
    #mySidebarMobile .nav-link:hover {
        background: rgba(255,255,255,0.07);
        color: rgba(255,255,255,0.92);
        border-left-color: rgba(255,255,255,0.15);
    }

    #mySidebar .nav-link.active,
    #mySidebar .nav-link:focus,
    #mySidebarMobile .nav-link.active,
    #mySidebarMobile .nav-link:focus {
        background: rgba(255,255,255,0.11);
        color: #fff;
        border-left-color: #4a9eff;
    }

    #mySidebar .nav-link i,
    #mySidebarMobile .nav-link i {
        font-size: 15px;
        width: 18px;
        flex-shrink: 0;
        color: rgba(255,255,255,0.38);
    }

    #mySidebar .nav-link:hover i,
    #mySidebar .nav-link.active i,
    #mySidebarMobile .nav-link:hover i,
    #mySidebarMobile .nav-link.active i {
        color: rgba(255,255,255,0.75);
    }
    /* Sub-label under Shipping */
    #mySidebar .nav-link .nav-sublabel,
    #mySidebarMobile .nav-link .nav-sublabel {
        font-size: 10px;
        font-weight: 400;
        color: rgba(255,255,255,0.3);
        line-height: 1;
        margin-top: 1px;
    }

/* Badges */
#mySidebar .nav-badge,
#mySidebarMobile .nav-badge {
    margin-left: auto;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 600;
    background: rgba(220,53,69,0.85);
    color: #fff;
}

/* Sidebar footer (user strip) */
.sidebar-footer {
    margin-top: auto;
    padding: 12px 14px;
    border-top: 0.5px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 9px;
}

    .sidebar-footer .user-avatar {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: rgba(255,255,255,0.14);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 600;
        color: #fff;
        flex-shrink: 0;
    }

    .sidebar-footer .user-name {
        font-size: 12px;
        color: rgba(255,255,255,0.75);
        margin: 0;
    }

    .sidebar-footer .user-role {
        font-size: 10px;
        color: rgba(255,255,255,0.33);
        margin: 0;
    }

/* ── KPI counters ──────────────────────────────────────────── */
.kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.kpi-card {
    background: var(--bs-light);
    border: 0.5px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.kpi-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: solid 1px lightgray;
}

    .kpi-icon-wrap img {
        height: 24px;
    }

.kpi-card .kpi-label {
    font-size: 11px;
    color: #6b7280;
    margin: 0 0 2px;
}

.kpi-card .kpi-value {
    font-size: 22px;
    font-weight: 700;
    color: #c0392b;
    margin: 0;
    line-height: 1;
}

    .kpi-card .kpi-value sup {
        font-size: 13px;
        font-weight: 600;
    }

@@media (max-width: 768px) {
    .kpi-row {
        grid-template-columns: 1fr 1fr;
    }
}