@font-face {
    font-family: 'Mikhak';
    src: url('../Fonts/Mikhak-VF.ttf') format('truetype');
    font-display: swap;
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Mikhak-light';
    src: url('../Fonts/Mikhak-Light.ttf') format('truetype');
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Regular';
    src: url('../Fonts/HamisheRegular.ttf') format('truetype');
    font-display: swap;
    font-weight: 600;
    font-style: normal;
}

*{font-family: 'Mikhak';}

.Regular {
    font-family: 'Regular';
}

.light {
    font-family: 'Mikhak-light';
}

.parent-container {
    position: relative;
}

.container-Menu {
    width: 97% !important;
    text-align: center;
    margin: 0 auto;
    height: 115px;
    border-radius: 30px;
    position: relative;
    z-index: 801;
}

.Categories-Menu {
    width: 90% !important;
    background-color: #EEF1F4;
    margin: auto;
    border-radius: 15px;
    position: absolute;
    z-index: 800;
    transform: translate(-50%, -40px);
    left: 50%; /* وسط چین کردن افقی */
}

.btn-Sabad {
    display: flex;
    height: 50px;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: #F2F4F6;
}

.btn-Sabad:hover {
    background-color: #F2F4F6;
}

.btn-login-register {
    background-color: #8200c8;
    height: 50px;
    display: flex; /* تبدیل به flexbox */
    align-items: center; /* وسط‌چینی عمودی محتوا */
    justify-content: center; /* وسط‌چینی افقی محتوا */
    text-align: center;
    gap: 8px; /* فاصله بین آیکون و متن */
    padding: 10px 15px; /* فضای مناسب داخل دکمه */
}

.btn-login-register:hover {
    background-color: #600392;
}

.btn-login-check {
    background-color: transparent;
    border: 1px solid #600392;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 10px 15px;
}

.btn-login-check:hover {
    background-color: transparent;
    border: 1px solid #600392;
}

.dropdown-details {
    padding: 10px;
    border-radius: 15px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.bg-purple {
    background-color: #f0ffeb;
    border: 1px solid rgb(166, 255, 166);
    padding: 10px;
}

.bg-gray {
    background-color: #f6f6f6;
}

.bg-gray1 {
    background-color: #EEF2F4;
}

#signupButton.disabled-reg {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}

.btn-Sabad .number {
    width: 25px;
    height: 27px;
    display: flex; /* flex برای وسط‌چینی داخل عدد */
    justify-content: center; /* وسط‌چینی افقی عدد */
    align-items: center; /* وسط‌چینی عمودی عدد */
    text-align: center;
    font-size: 14px; /* بهتر دیده شدن عدد */
}

i {
    display: flex; /* جلوگیری از بهم‌ریختگی آیکون */
    align-items: center;
}

.text-color {
    color: #7B1FA2;
}

.bg-color-purple {
    background-color: #7B1FA2;
}

.bg-color-purple:hover {
    background-color: #7B1FA2;
}

.fs-10 {
    font-size: 10px;
}

.fs-11 {
    font-size: 11px;
}

.fs-12 {
    font-size: 12px;
}

.fs-13 {
    font-size: 13px;
}

.fs-14 {
    font-size: 14px;
}

.fs-15 {
    font-size: 15px;
}

.fs-16 {
    font-size: 16px;
}

.fs-17 {
    font-size: 17px;
}

.fs-18 {
    font-size: 18px;
}

.fs-19 {
    font-size: 19px;
}

.fs-20 {
    font-size: 20px;
}

.fs-30 {
    font-size: 30px;
}

.fs-60 {
    font-size: 60px;
}

.white {
    color: white;
}

.blue {
    color: blue;
}

.red {
    color: red;
}

.yellow {
    color: yellow;
}

.green {
    color: green;
}

.orangered {
    color: orangered;
}

.black {
    color: black;
}

.pointer-cursor {
    cursor: pointer;
}

.text-search {
    padding: 15px;
    border-top-left-radius: 15px !important;
    border-bottom-left-radius: 15px !important;
    border: none;
    outline: none;
    background-color: #F2F4F6;
}

.product-search {
    padding: 14px;
    max-width: 250px;
    border-top-left-radius: 15px !important;
    border-bottom-left-radius: 15px !important;
    border: none;
    outline: none;
    background-color: white;
}

.text-search:focus {
    background-color: #F2F4F6;
}

.btn-search {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border: none;
    outline: none;
    background-color: #F2F4F6;
}

.btn-search:hover {
    background-color: #F2F4F6;
}

.btn-account {
    width: 45px;
    height: 45px;
    padding: 10px;
    border: 1px solid rgb(180, 180, 180);
}

.btn-basket {
    width: 47px;
    height: 47px;
    padding: 13px;
    background-color: #F2F4F6;
}

.img-menu {
    margin-right: 70px;
    transform: rotate(180deg);
}

.btn-close-menu {
    position: absolute;
    background-color: transparent;
    width: 40px;
    height: 40px;
    bottom: 64px;
    right: 62px;
    border: 5px dashed #600392;
    border-radius: 30px;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-close1 {
    position: absolute;
    bottom: 70px;
    right: 70px;
    border: 4px dashed #600392;
    border-radius: 30px;
    z-index: 2000;
}

.TextRTL {
    text-align: right;
    direction: rtl;
}

.dropdown-menu-mobile {
    width: 100%;
    right: auto !important; /* جلوگیری از مشکل چیدمان */
    top: 0 !important; /* قرارگیری دقیق زیر منوی اصلی */
}

.circle {
    display: inline-block;
    margin-left: 10px;
    width: 10px; /* اندازه دایره */
    height: 10px; /* اندازه دایره */
    border-radius: 50%; /* ایجاد دایره */
    background-color: #8200c8; /* رنگ دایره */
}

.circle-sub {
    display: inline-block;
    margin-left: 10px;
    width: 10px; /* اندازه دایره */
    height: 10px; /* اندازه دایره */
    border-radius: 50%; /* ایجاد دایره */
    border: 2px solid #8200c8; /* رنگ دایره */
}

/* اضافه کردن استایل برای زیرمنوها */
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    margin-left: 0.1rem;
    display: none; /* ابتدا زیرمنوها مخفی باشند */
}

.dropdown-submenu:hover .dropdown-menu {
    display: block; /* وقتی روی آیتم hover شد، زیرمنو نمایش داده شود */
}

/* افزایش z-index برای نمایش صحیح زیرمنوها */
.dropdown-menu {
    z-index: 1000;
}

.dropdown-submenu .dropdown-menu {
    z-index: 1001;
}

.card-login {
    background-color: #F6F7F9;
    border-radius: 20px;
    height: 540px;
}

.card-register {
    background-color: #F6F7F9;
    border-radius: 20px;
    height: 680px;
}

.card-forget {
    background-color: #F6F7F9;
    border-radius: 20px;
    height: 500px;
}

.card-reset {
    background-color: #F6F7F9;
    border-radius: 20px;
    height: 550px;
}

.text-margin {
    margin-top: 200px;
}

.img-login-user {
    border: 2px solid #c972f7;
    object-fit: cover;
    margin-top: 30px;
    border-radius: 50px;
}

@media screen and (max-width: 575px) {
    .img-login-user {
        height: 100px;
    }
}

.btn-login {
    position: relative;
    color: #600392;
    height: 45px;
    display: flex;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-login.active {
    color: white;
    background-color: #600392;
}

.btn-register {
    position: relative;
    color: #600392;
    height: 45px;
    display: flex;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-register.active {
    color: white;
    background-color: #600392;   
}

.txt-login {
    border: 1px solid gray !important;
}

.form-check-input {
    width: 22px !important;
    height: 22px !important;
}

.form-check-input:checked {
    background-color: #600392 !important;
    border-color: #c972f7 !important;
}

.btn-login-form {
    background-color: #600392;
    height: 45px;
    width: 130px;
    font-size: 14px;
    padding-top: 5px;
    border-radius: 15px;
}

.btn-login-form:hover {
    background-color: #600392;
}

.btn-confirm {
    background-color: #600392;
    height: 45px;
    padding-top: 10px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-confirm:hover {
    background-color: #600392;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #8200c8;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #8200c8;
}

/* از اینجا به پایین استایل منو دسکتاپ هستش ------------------------------------------------------------------------*/

/* ایجاد بک‌گراند تیره برای کل صفحه وقتی منو باز می‌شود */
body.menu-active::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* پس‌زمینه‌ی تیره */
    z-index: 800;
}

/* استایل برای آیتم‌های منو هنگام هاور */
.navbar-nav .nav-item:hover .nav-link {
    color: #7B1FA2 !important;  /* رنگ بنفش */
    font-weight: bold;  /* پررنگ */
    font-size: 15px;
}

/* نگه داشتن حالت هاور برای منو */
.navbar-nav .nav-item.hovered .nav-link {
    color: #7B1FA2 !important;
    font-weight: bold;
    font-size: 15px;
}

.mega-container {
    height: 70px;
    margin: 20px;
    margin-bottom: 10px;
    margin-top: 0;
    top: 0; /* وسط عمودی */
    left: 0;
    z-index: 100;
    display: none;
    align-items: center; /* وسط عمودی */
    position: relative;
    flex-wrap: nowrap; /* جلوگیری از خط شکنی در زیرمنوها */
    gap: 20px; /* فاصله بین زیرمنوها */
    transition: opacity 0.3s ease-in-out;
    background-color: white; /* پس‌زمینه سفید */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* سایه برای زیبایی */
}

.mega-container.show {
    display: flex; /* نمایش به صورت flex */
}

.mega-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    display: flex; /* استفاده از flexbox برای قرار دادن آیتم‌ها کنار هم */
    flex-direction: row; /* نمایش آیتم‌ها به صورت افقی */
    gap: 20px; /* فاصله بین آیتم‌ها */
}

.mega-container ul li{
    margin-bottom: 0px;
}

.mega-container ul li a {
    text-decoration: none;
    color: black;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

/*  */

.subMenu-container {
    margin: 20px;
    margin-top: 5px !important;
    top: 100%;
    left: 0;
    z-index: 100;
    display: none;
    position: relative;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;

    overflow: hidden;
    /* برای ستون‌بندی: */
    column-width: 180px;     /* عرض هر ستون (قابل تنظیم) */
    column-gap: 50px;        /* فاصله بین ستون‌ها */
}

.hover-text-purple {
    text-decoration: none;
    color: #000;
    display: inline-block;
    transition: all 0.3s ease;
}

.hover-text-purple:hover {
    color: #7B1FA2 !important;
    transform: translateX(-5px) scale(1.05) !important;
}

.subMenu-container.show {
    display: block;
}

.subMenu-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.subMenu-container ul li {
    margin-bottom: 10px;
}

.subMenu-container ul li a {
    text-decoration: none;
    color: black;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.subMenu-container ul li a:hover {
    color: #7B1FA2;
}

/*  */

.label-passwordText {
    line-height: 2.2;
}

.line-height {
    height: 40px;
    width: 1px;
    background-color: #c2c2c2;
}

.line-VeryHeight {
    height: 250px;
    width: 1px;
    background-color: #e3e3e3;
}

.footText {
    font-weight: normal;
    transition: transform 0.1s ease 0.1s;
}

.footText:hover {
    color: #7B1FA2 !important;
    font-weight: bold;
    transform: translateX(10px);
}

#emailNews {
    background-color: transparent;
    font-size: 14px;
    outline: none;
    box-shadow: none;
    width: 240px;
    border-bottom-color: black !important;
}

.scrollToTopBtn {
    position: fixed;
    bottom: 40px;
    left: 30px;
    background: rgba(96, 3, 146, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    transition: opacity 0.3s ease, background 0.3s ease;
    z-index: 100;
}

/* افکت هاور برای دکمه */
.scrollToTopBtn:hover {
    background: rgba(96, 3, 146);
    backdrop-filter: blur(12px);
}

.scrollHeaderMenu {
    display: none;
}

.bg-menu {
    position: fixed;
    background-color: white;
    top: 0;
    width: 100%;
    z-index: 1050 !important;
}

@media screen and (max-width: 600px) {
    .bg-menu {
        z-index: 100;
    }
}

.dropdown-item:focus,
.dropdown-item:active {
    background-color: transparent !important;
    color: inherit !important;
    outline: none !important;
    box-shadow: none !important;
}

/*  */

.swiper-container-desktop {
    height: 380px;
    z-index: 0;
}

.swiper-slide-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    color: #fff;
}

.swiper-slide-desktop img {
    display: block;
    width: 100%;
    border-radius: 30px;
    height: 100%;
    object-fit: cover !important;
}

.card-slide {
    max-width: 300px;
    height: 380px;
    border-radius: 30px;
    margin: 0 auto;
    z-index: 10;
}

.swiper-container-mobile {
    height: 235px;
}

.swiper-slide-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    color: #fff;
}

.swiper-slide-mobile img {
    display: block;
    width: 100%;
    border-radius: 30px;
    height: 100%;
    object-fit: cover;
}

.box-vip {
    margin-top: 30px;
    background-color: #9d4edd !important;
}

.card-fill-profile {
    background-color: #DAE9CE;
    border-radius: 20px;
    height: 280px;
}

.btn-menu-hover:hover {
    border-bottom: 1px solid #7B1FA2 !important;
    padding-bottom: 5px !important;
}

.card-vip {
    position: relative;
    width: 185px;
    max-width: 100% !important;
    border-radius: 25px;
    height: 280px !important;
    box-shadow: -3px 0 5px rgba(0, 0, 0, 0.1);
}

.card-vip img {
    margin-top: 20px;
    max-width: 120px !important;
    max-height: 120px !important;
    object-fit: cover;
}

@media screen and (max-width: 600px) {
    .card-vip img {
        max-width: 120px;
        max-height: 120px;
        object-fit: cover;
    }

    .card-vip {
        position: relative;
        max-width: 100% !important;
        border-radius: 25px;
        height: 280px !important;
        box-shadow: -3px 0 5px rgba(0, 0, 0, 0.1);
    }
}

.image-border {
    position: absolute;
    width: 17px;
    border-radius: 8px;
    background: rgba(185, 185, 185, 0.2);;
    left: 20px;
    top: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(15px);
    padding: 5px;
    font-size: 6px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.btn-bookmark {
    position: absolute;
    background: rgba(185, 185, 185, 0.2);
    left: 13px !important;
    top: 10px !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10;
}

.discount {
    padding: 1px !important;
    padding-top: 2px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 11px !important;
    color: white;
    background-color: #E14F4F;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*  */

/* اطمینان از اینکه h6 موقعیت نسبی دارد */
.text-vip-header {
    /* position: relative; */
    display: flex;
    align-items: center;
}

.swiper-button-next,
.swiper-button-prev {
    position: static !important; /* جلوگیری از تأثیر position پیش‌فرض Swiper */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px !important;
    width: 30px !important;
    height: 30px !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    border-radius: 50% !important;
    transition: background-color 0.3s ease !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

/* حذف آیکون‌های پیش‌فرض */
.swiper-button-next::after,
.swiper-button-prev::after {
    content: '' !important;
}

.one-slide-vip {
    display: flex;
    justify-content: center;  /* وسط‌چینی افقی */
    align-items: center;  /* وسط‌چینی عمودی */
    height: 100%;  /* اطمینان از پر شدن ارتفاع والد */
    width: 100%;  /* اطمینان از پر شدن عرض والد */
}

.swiper-button-next1 {
    position: absolute !important;
    right: -40px;
    top: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px !important;
    width: 35px !important;
    height: 25px !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    border-radius: 30px !important;
    transition: background-color 0.3s ease !important;
    z-index: 10;
}

.swiper-button-prev1 {
    position: absolute !important;
    left: -40px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px !important;
    width: 35px !important;
    height: 25px !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    border-radius: 30px !important;
    transition: background-color 0.3s ease !important;
    z-index: 10;
}

.swiper-button-next1:hover,
.swiper-button-prev1:hover {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

/*  */

.SwiperAutherSlide img {
    display: block;
    transition: transform 0.5s ease-in-out;
    transform: translateY(-7px);
    position: relative;
}

/* هاور: عکس از بالا به پایین می‌آید */
.SwiperAutherSlide:hover img {
    transform: translateY(0);
}

.shadow-layout {
    background-color: #7a7a7a6c;
}

.border-title-product {
    border-bottom: 2px solid #600392;
    margin-bottom: -17px;
}

.card-profile {
    background-color: white;
    border-radius: 30px;
    box-shadow: 0px 0px 30px 6px #efefef;
}

.icon-profile {
    border: 1px solid #d0d0d0;
    border-radius: 20px;
    border-top: 4px solid #600392;
    padding: 10px;
    font-size: 50px;
    box-shadow: 0px 0px 30px 6px #efefef;
}

.icon-profile-desktop {
    border: 0;
    border-radius: 20px;
    border-top: 4px solid #600392;
    padding: 12px;
    font-size: 35px;
    box-shadow: 0px 0px 30px 6px #efefef;
}

.line-profile {
    box-shadow: 0px 0px 30px 6px #600392;
}

.btn-menu-profile {
    position: relative;
    color: #8200c8 !important;
}

.btn-menu-profile::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: #600392 !important;
}

.icon-menu-profile {
    color: #8200c8 !important;
}

.hover-menu {
    position: relative;
    transition: color 0.3s ease-in-out;
}

.hover-menu::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 3px;
    height: 0;
    background-color: #600392;
    transition: height 0.4s ease-in-out
}

.hover-menu:hover {
    color: #8200c8 !important;
}

.hover-menu:hover::after {
    height: 100%;
}

a:hover .icon-hover-profile {
    color: #8200c8 !important;
}

.SavedProducts {
    border: 3px dashed #c2c2c2;
    border-radius: 25px;
    margin: 16px;
}

.status1 {
    color: #418741;
    background-color: #d7ffd7;
    border-radius: 10px;
    padding: 10px;
}

.status2 {
    color: #868400;
    background-color: #feffcf;
    border-radius: 10px;
    padding: 10px;
}

.show-product-btn:hover {
    background-color: #600392;
    color: white;
}

.border-input {
    padding: 14px;
    border-radius: 15px;
    border: 1px solid #bababa;
    outline: none;
}

/*  */

.custom-select , .custom-select2 , .custom-select3 , .custom-select4 , .custom-select-year , .custom-select-month , .custom-select-day , .custom-select-city {
    position: relative;
    width: 100%;
}

.select-header , .select-header2 , .select-header3 , .select-header4 , .select-header-year , .select-header-month , .select-header-day , .select-header-city {
    padding: 14px;
    border: 1px solid #bababa;
    border-radius: 15px;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
}

.select-header i , .select-header2 i , .select-header3 i , .select-header4 i , .select-header-year i , .select-header-month i , .select-header-day i , .select-header-city i {
    color: #555;
}

.select-options , .select-options2 , .select-options3 , .select-options4 , .select-options-year , .select-options-month , .select-options-day , .select-options-city {
    position: absolute;
    color: gray;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 150px;
    overflow-y: auto;
    border: 0;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0px 15px 20px 5px rgb(0, 0, 0 , 0.1);
    display: none;
    z-index: 1000;
}

.option , .option2 , .option3 , .option4 , .option-year , .option-month , .option-day , .option-city {
    padding: 7px;
    margin: 10px;
    margin-top: 3px !important;
    margin-bottom: 3px !important;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    cursor: pointer;
}

.option:hover , .option2:hover , .option3:hover , .option4:hover , .option-year:hover , .option-month:hover , .option-day:hover , .option-city:hover {
    background-color: #8200c8;
    color: rgb(255, 255, 255);
}

.search-select , .search-select2 , .search-select3 , .search-select4 , .search-select-year , .search-select-month , .search-select-day  , .search-select-city{
    padding: 7px;
    border-radius: 10px;
    border: 1px solid #c2c2c2;
}

/*  */

.disabled-select {
    pointer-events: none;
    opacity: 0.6;
}

.rdo {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-right: 15px;
    font-size: 14px;
    color: #333;
}

.rdo input[type="radio"] {
    display: none;
}

.rdo input[type="radio"] + span {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 5px;
    border: 2px solid #600392;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.rdo input[type="radio"]:checked + span {
    border-color: #600392;
    background-color: #600392;
}

.rdo input[type="radio"]:checked + span::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*  */

.btn-cansel {
    border: 1px solid #d21919;
    color: #d21919;
    height: 45px;
    width: 130px;
    font-size: 14px;
    padding-top: 5px;
    border-radius: 15px;
}

.btn-cansel:hover {
    border: 1px solid #d21919;
    color: #d21919;
}

.btn-exist {
    border-radius: 10px;
    background-color: rgba(255, 0, 0, 0.601);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 10px 3px rgba(255, 0, 0, 0.3);
}

.btn-exist:hover {
    border-radius: 10px;
    background-color: rgba(255, 0, 0, 0.736);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 10px 3px rgba(255, 0, 0, 0.3);
}

.btn-edit {
    width: 40px;
    height: 30px;
    border-radius: 10px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-edit:hover {
    border: 1px solid green;
    color: green;
}

.btn-delete {
    width: 40px;
    height: 30px;
    border-radius: 10px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-delete:hover {
    border: 1px solid #d21919;
    color: #d21919;
}

.scroll-hide {
  -ms-overflow-style: none;  /* برای IE و Edge */
  scrollbar-width: none;  /* برای Firefox */
}
.scroll-hide::-webkit-scrollbar {
  display: none;  /* برای Chrome, Safari و Opera */
}

.border-purple {
    border-radius: 0;
    border-bottom: 3px solid #600392 !important;
    color: #7B1FA2 !important;
}

.btn-border-purple {
    border-radius: 0;
    border: 1px solid #600392 !important;
    color: #7B1FA2 !important;
}

.bg-warn {
    background-color: #ffffc5;
}

.btn-warning {
    background-color: #f8f883;
}

.custom-line-height {
    line-height: 1.8;
}

.space-line {
    line-height: 2.0;
}

.shadow-img {
    border-bottom: 3px solid #600392;
}

/* faq */

.faq-item {
    border: 1px solid #ddd;
    border-width: 1px;
    border-radius: 13px;
    padding: 20px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
}

.faq-item .question {
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

.faq-item .answer {
    font-size: 14px;
    color: #2e2e2e;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active {
    border-color: #600392;
    background-color: #f7e7ff;
}

.faq-item.active .question {
    color: #7B1FA2;
}

.faq-item.active .answer {
    max-height: 200px;
    opacity: 1;
    padding-top: 16px;
}

.checkbox-container {
  display: block;
  position: relative;
  padding-right: 35px;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  right: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: #ddd;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: #2196F3;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.border-bottom-purple {
    border-bottom: 3px solid #7B1FA2;
}

.custom-nav-container .custom-nav-link {
    position: relative;
    padding-bottom: 10px;
    transition: all 0.3s ease;
}

.custom-nav-container .custom-nav-link.active {
    color: #6f42c1 !important;
}

.custom-nav-container .custom-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #6f42c1;
    border-radius: 3px;
}

table {
    width: 100%;
    table-layout: fixed;
}

th, td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*  */

.faq-item-admin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
  
.faq-item-admin:hover {
    transform: scale(1.01);
}

.faq-box {
    display: flex;
    flex-direction: column;
    text-align: right;
    flex: 1;
}
  
.faq-aq {
    font-size: 1em;
    color: #888;
    margin-top: 5px;
}
  
.deleteFAQ {
    z-index: 10;
    transform: none !important;
    position: absolute;
    top: 10px;
    left: 10px;
}
  
.editFAQ {
    z-index: 11;
    transform: none !important;
    position: absolute;
    top: 10px;
    left: 45px;
}

.notification-bar {
    background-color: #e52a3d;
    color: white;
    text-align: center;
    padding: 6px 0;
    font-size: 14px;
    font-weight: bold;
}

/*  */

.banner-upgraded {
    background: linear-gradient(135deg, #5a189a 0%, #9d4edd 100%);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    color: white;
    animation: fadeSlideIn 1s ease forwards;
    opacity: 0;
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-icon {
    font-size: 28px;
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.banner-title {
    font-size: 18px;
    font-weight: bold;
}

.banner-subtitle {
    font-size: 14px;
    opacity: 0.95;
    display: inline-block; /* لازم برای چرخش */
}

/* انیمیشن چرخشی ملایم */
@keyframes rotateWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
    75% { transform: rotate(-2deg); }
}

.rotate-wiggle {
    animation: rotateWiggle 2s infinite ease-in-out;
}

@media (min-width: 768px) {
    .banner-title { font-size: 20px; }
    .banner-subtitle { font-size: 16px; }
}

@media (max-width: 768px) {
    .label-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        direction: rtl;
    }
}
