
:root {
    --color-neutral-000: #ffffff;
    --color-neutral-100: #f0f0f1;
    --color-neutral-200: #e0e0e2;
    --color-neutral-300: #c0c2c5;
    --color-neutral-400: #a1a3a8;
    --color-neutral-500: #81858b;
    --color-neutral-600: #62666d;
    --color-neutral-700: #424750;
    --color-neutral-800: #232933;
    --color-neutral-900: #030a16;

    --color-brand-primary-10: #fcfeff;
    --color-brand-primary-100: #d0f1f9;
    --color-brand-primary-300: #4ccbe9;
    --color-brand-primary-500: #1ab1d4;
    --color-brand-primary-700: #1796b4;
    --color-brand-primary-900: #10697e;
    --color-brand-secondary-10: #fcfeff;
    --color-brand-secondary-100: #cafef4;
    --color-brand-secondary-300: #02a583;
    --color-brand-secondary-500: #028e71;
    --color-brand-secondary-700: #016f59;
    --color-brand-secondary-900: #014436;

    --color-badge-reject: #62666d;
    --color-badge-supplied: #028e71;
    --color-badge-delivery: #f9a825;
    --color-badge-success: #016f59;
    --color-badge-warning: #f0ad4e;


    --color-hint-object-neutral: #62666d;
    --color-hint-text-neutral: #62666d;
    --color-hint-object-error: #ef5661;
    --color-hint-text-error: #ef5661;
    --color-hint-object-success: #57cfb1;
    --color-hint-text-success: #57cfb1;
    --color-hint-object-caution: #f9a825;
    --color-hint-text-caution: #f9a825;
    --color-hint-object-inProgress: #009df0;
    --color-hint-text-inProgress: #009df0;

    --color-rating-0-1: #f92d00;
    --color-rating-1-2: #f97800;
    --color-rating-0-2: #f9bc00;
    --color-rating-2-3: #b1b64d;
    --color-rating-3-4: #65aa57;
    --color-rating-4-5: #00a049;

    --color-brand-solid: #d6daf6;
    --color-brand-solid-darker: #c9cff9;
    --color-delivery-none-inventory: #0fabc6;
    --color-delivery-tipax: #feb900;
    --color-delivery-post: #feb900;
    --color-delivery-ship-by-seller: #d86b00;
    --color-delivery-jet: #a63489;
    --color-delivery-drop-off: #008eb2;
    --color-delivery-fast: #6bb927;
    --color-delivery-heavy: #d86b00;
    --color-delivery-express: #e6123d;
    --color-bg-light: #ffffff;
    --color-bg-dark: #f5f7fa;
    --color-bg-darker: #e6e6e6;
    --color-bg-scrim-dark: rgba(0, 0, 0, 0.3019607843);
    --color-bg-scrim-light: rgba(255, 255, 255, 0.8509803922);
    --color-white: #ffffff;
    --color-black: #030a16;
    --color-border-grade-0: #ffffff;
    --color-border-grade-1: #f0f0f1;
    --color-border-grade-2: #e0e0e2;
    --color-bg-neutral: rgba(98, 102, 109, 0.08);
    --color-bg-error: rgba(239, 86, 97, 0.08);
    --color-bg-success: rgba(87, 207, 177, 0.08);
    --color-bg-caution: rgba(249, 168, 37, 0.08);
    --color-bg-inProgress: rgba(0, 157, 240, 0.08);
    --color-text-white: #ffffff;
    --color-text-disable: #c0c2c5;
    --color-text-low-emphasis: #81858b;
    --color-text-high-emphasis: #424750;
    --color-text-heading: #030a16;
    --color-text-primary: #1ab1d4;
    --color-text-secondary: #016f59;
    --color-icon-white: #ffffff;
    --color-icon-primary: #1ab1d4;
    --color-icon-secondary: #016f59;
    --color-icon-black: #030a16;
    --color-icon-disable: #e0e0e2;
    --color-icon-high-emphasis: #424750;
    --color-icon-warning-dark: #f97800;
    --color-icon-low-emphasis: #a1a3a8;
    --color-icon-error: #ef5661;
    --color-icon-success: #57cfb1;
    --color-icon-warning: #f9a825;
    --color-icon-neutral-hint: #62666d;
    --color-icon-ai: linear-gradient(114deg, #8f4aec 0%, #6860f3 49%, #2586ff 100%);
    --color-button-primary: #1ab1d4;
    --color-button-primary-hover: linear-gradient(0deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)), #1ab1d4;
    --color-button-primary-pressed: linear-gradient(0deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)), #1ab1d4;
    --color-button-secondary: #cafef4;
    --color-button-secondary-hover: linear-gradient(0deg, rgba(52, 0, 66, 0.08), rgba(52, 0, 66, 0.08)), #cafef4;
    --color-button-secondary-pressed: linear-gradient(0deg, rgba(52, 0, 66, 0.12), rgba(52, 0, 66, 0.12)), #cafef4;
    --color-button-error: #ef5661;
    --color-button-error-hover: linear-gradient(0deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)), #ef5661;
    --color-button-error-pressed: linear-gradient(0deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)), #ef5661;
    --color-button-white: #ffffff;
    --color-button-disable: #c0c2c5;
    --color-button-black: #030a16;
    --color-button-text-primary: #ffffff;
    --color-button-text-secondary: #ffffff;
    --color-button-text-white: #030a16;
    --color-button-text-black: #ffffff;

    --color-black-friday: #df2d3d;
    --color-bg-ai: linear-gradient(114deg, #8f4aec 0%, #6860f3 49%, #2586ff 100%)
}

:root {
    --global-transition: 0.3s all ease-in-out;
    --shadow-1: 0px 6px 12px rgba(3, 10, 22, 0.05);
    --shadow-2: 0px 0px 12px rgba(3, 10, 22, 0.1);
    --shadow-3: 0px 0px 12px rgba(3, 10, 22, 0.15);
    --shadow-footer: 0px -1px 1px rgba(0, 0, 0, 0.14), 0px -2px 2px rgba(0, 0, 0, 0.05);
    --breakpoint--xs: 320px;
    --breakpoint--sm: 640px;
    --breakpoint--md: 768px;
    --breakpoint--lg: 1024px;
    --breakpoint--xl: 1280px;
    --breakpoint--2xl: 1336px;
    --breakpoint--3xl: 1440px;
    --breakpoint--4xl: 1676px;
    --authenticated-header-height: 64px;
    --table-mobile-header-height: 56px;
    --bottom-navigation-height: 50px;
    --snack-z-index: 30;
    --modal-z-index: 20;
    --modal-below-navigation-z-index: 8;
    --navigation-modal-z-index: 9;
    --header-z-index: 4;
    --navigation-z-index: 10;
    --card-border-radius: 12px;
    --font-family: IRANYekan, sans-serif;
    --spacing-base: 4px;
    --global-radius: 8px;
    --small-radius: 4px;
    --medium-radius: 8px;
    --large-radius: 16px;
    --bottom-0: 0
}

.is_vendor #body_wrapper {
    background: var(--color-bg-dark);
}

.container-box {
    background: var(--color-neutral-000);
    border-radius: var(--medium-radius);
}


.d-grid {
    display: grid
}

.gap-1 {
    gap: calc(1 * var(--spacing-base));
}

.gap-2 {
    gap: calc(2 * var(--spacing-base));
}

.gap-3 {
    gap: calc(3 * var(--spacing-base));
}

.gap-4 {
    gap: calc(4 * var(--spacing-base));
}

.col-auto {
    grid-column: auto
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr))
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr))
}

.grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr))
}

.grid-cols-7 {
    grid-template-columns: repeat(7, minmax(0, 1fr))
}

.grid-cols-8 {
    grid-template-columns: repeat(8, minmax(0, 1fr))
}

.grid-cols-9 {
    grid-template-columns: repeat(9, minmax(0, 1fr))
}

.grid-cols-10 {
    grid-template-columns: repeat(10, minmax(0, 1fr))
}

.grid-cols-11 {
    grid-template-columns: repeat(11, minmax(0, 1fr))
}

.grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr))
}


.badge-supplied {
    background: var(--color-badge-supplied);
}

.badge-delivery {
    background: var(--color-badge-delivery);
}

.badge-reject {
    background: var(--color-badge-reject);
}

.badge-success {
    background-color: var(--color-badge-success);
}

.badge-warning{
    background-color: var(--color-badge-warning);
}


.tooltip-btn {
    position: relative;
    /*padding: 10px 18px;*/
    /*background: #0066cc;*/
    /*color: white;*/
    /*border: none;*/
    /*border-radius: 6px;*/
    cursor: pointer;
}

.tooltip-btn:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
    pointer-events: none;
    margin-bottom: 8px;
    z-index: 10;
    opacity: 1;
    transition: all 0.15s ease;
}

.tooltip-btn::after {
    opacity: 0;
    transition: all 0.15s ease;
}

/* اختیاری: فلش پایین تولتیپ */
.tooltip-btn:hover::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
    margin-bottom: 2px;
}



.head_box {
    margin-bottom: 0;
    font-size: .875rem;
    font-weight: 700;
    line-height: 2.15;
    color: var(--color-neutral-700);
}
.text_box {
    margin-bottom: 0;
    color: var(--color-neutral-700);
}

.text-header {
    color: var(--color-text-low-emphasis);
}

.border-b {
    border-bottom: 1px solid var(--color-neutral-100)
}

.border-b-200 {
    border-bottom: 1px solid var(--color-neutral-200)
}

#vendorMenu .fto-circle-minus {
    color: #FF9800;
}

#vendorMenu .fto-cross-circle {
    color: #F44336;
}

#vendorMenu .fto-checkmark-cicle {
    color: #009688;
}

#vendorMenu .badge {
    font-size: 10px;
}

.VendorInformation .badge {
    font-size: 10px;
    line-height: 14px;
}

#vendorMenu .list-group-item {
    display: flex;
    justify-content: space-between;
    background: var(--color-neutral-000);
    border-color: var(--color-neutral-100);
}
.list-group-item.active {
    background: var(--color-button-primary) !important;
}

#vendorMenu .list-group-item:hover {
    background: var(--color-button-primary-hover) !important;
    color: var(--color-bg-scrim-light);
}


span.MenuAlertCountOffer {
    margin-right: 0.25rem;
    background: var(--color-brand-primary-100);
    color: var(--color-brand-primary-500);
    border-radius: 50px;
    height: 20px;
    line-height: 20px;
    width: 20px;
    text-align: center;
}

.description_page {
    background: var(--color-white);
    border-radius: var(--global-radius);
    padding: 0.5rem;
}




/* آیکون همبرگر */

.menu-toggle {
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    /*position: absolute;*/
    /*left: 20px;*/
    /*top: 20px;*/
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: #4f4f4f;
    border-radius: 3px;
    transition: all 0.3s;
}

/* منوی اصلی */
.vendorMenu {
    list-style: none;
    display: flex;
    /*gap: 2rem;*/
    /*justify-content: center;*/
}
.mobile_menu_bot {
    display: none;
    position: fixed;
    bottom: 0;
    z-index: 10000;
    right: 0;
    width: 100%;
    background: #f0f0f1;
    min-height: 50px;
    align-items: center;
    border-top: 1px solid #dfdfdf;
}

/*.vendorMenu li a {*/
/*    color: white;*/
/*    text-decoration: none;*/
/*    font-size: 1.1rem;*/
/*    padding: 0.5rem 1rem;*/
/*    transition: 0.3s;*/
/*}*/

/*.vendorMenu li a:hover {*/
/*    background: rgba(255,255,255,0.15);*/
/*    border-radius: 6px;*/
/*}*/

/* ------------------ موبایل ------------------ */
@media (max-width: 768px) {

    .mobile_menu_bot {
        display: flex;
    }

    .vendorMenu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: #f0f0f1;
        flex-direction: column;
        /*align-items: center;*/
        /*justify-content: center;*/
        transition: right 0.4s ease-in-out;
        z-index: 1000;
        border-left: 1px solid #dfdfdf;
    }

    .vendorMenu.active {
        right: 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}


@media (max-width: 600px) {
    .grid-cols-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}
