@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/IRANSans/eot/IRANSansWeb_Black.eot');
    src: url('../fonts/IRANSans/eot/IRANSansWeb_Black.eot?#iefix') format('embedded-opentype'), url('../fonts/IRANSans/woff2/IRANSansWeb_Black.woff2') format('woff2'), url('../fonts/IRANSans/woff/IRANSansWeb_Black.woff') format('woff'), url('../fonts/IRANSans/ttf/IRANSansWeb_Black.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/IRANSans/eot/IRANSansWeb_Bold.eot');
    src: url('../fonts/IRANSans/eot/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/IRANSans/woff2/IRANSansWeb_Bold.woff2') format('woff2'), url('../fonts/IRANSans/woff/IRANSansWeb_Bold.woff') format('woff'), url('../fonts/IRANSans/ttf/IRANSansWeb_Bold.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/IRANSans/eot/IRANSansWeb_Medium.eot');
    src: url('../fonts/IRANSans/eot/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'), url('../fonts/IRANSans/woff2/IRANSansWeb_Medium.woff2') format('woff2'), url('../fonts/IRANSans/woff/IRANSansWeb_Medium.woff') format('woff'), url('../fonts/IRANSans/ttf/IRANSansWeb_Medium.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/IRANSans/eot/IRANSansWeb_Light.eot');
    src: url('../fonts/IRANSans/eot/IRANSansWeb_Light.eot?#iefix') format('embedded-opentype'), url('../fonts/IRANSans/woff2/IRANSansWeb_Light.woff2') format('woff2'), url('../fonts/IRANSans/woff/IRANSansWeb_Light.woff') format('woff'), url('../fonts/IRANSans/ttf/IRANSansWeb_Light.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/IRANSans/eot/IRANSansWeb_UltraLight.eot');
    src: url('../fonts/IRANSans/eot/IRANSansWeb_UltraLight.eot?#iefix') format('embedded-opentype'), url('../fonts/IRANSans/woff2/IRANSansWeb_UltraLight.woff2') format('woff2'), url('../fonts/IRANSans/woff/IRANSansWeb_UltraLight.woff') format('woff'), url('../fonts/IRANSans/ttf/IRANSansWeb_UltraLight.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/IRANSans/eot/IRANSansWeb.eot');
    src: url('../fonts/IRANSans/eot/IRANSansWeb.eot?#iefix') format('embedded-opentype'), url('../fonts/IRANSans/woff2/IRANSansWeb.woff2') format('woff2'), url('../fonts/IRANSans/woff/IRANSansWeb.woff') format('woff'), url('../fonts/IRANSans/ttf/IRANSansWeb.ttf') format('truetype');
}

/* استایل‌های مشترک */
body {
    transition: all 0.3s ease;
}

body, p, h1, h2, h3, h4, h5, h6, small {
    font-family: IRANSans !important;
    line-height: 1.5rem;
}

/* Hide the arrows in Chrome, Safari, Edge, and Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide the arrows in Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}


a {
    text-decoration: none;
    font-weight: 500;
    color: #2d2e32;
    transition: all 0.2s ease-in-out
}


.form-check-input {
    width: 40px; /* Smaller width */
    height: 20px; /* Smaller height */
    background-color: #ccc;
    border-radius: 40px;
    border: none;
    box-shadow: none !important;
    appearance: none;
    position: relative;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-switch .form-check-input {
    width: 2.5em;
}

.form-check-input::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 1.5px;
    width: 17px; /* Smaller circle */
    height: 17px; /* Smaller circle */
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.form-check-input:checked {
    background-color: #dc8217; /* New color */
}

.form-check-input:checked::before {
    transform: translateX(20px);
    -webkit-transform: translateX(20px);
    -moz-transform: translateX(20px);
    -ms-transform: translateX(20px);
    -o-transform: translateX(20px);
}

.btn-outline-default {
    color: #7e7e7e; /* Text color */
    border: 1px solid #7e7e7e; /* Border color */
    background-color: transparent; /* Transparent background */
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn-outline-default:active,
.btn-outline-default:hover {
    background-color: #e79b2b;
    color: white;
}

.btn-default {
    background: #ff9800;
    color: white;
}

.btn-default:hover {
    background: #ff9800 !important;
    color: white !important;
}

.btn-default i {
    color: white !important;
}

.text-default {
    color: #ff9800;
}

.form-floating > label {
    left: inherit !important;
    right: 0;
}

.form-control:focus {
    box-shadow: none;
    border-color: #dee2e6;
}

.list-group-item {
    border: none !important;
}

.cat-item {
    padding: 0 10px;
    border-right: 1px solid #DDD !important;
}

.horizontal-card .img-fluid {
    object-fit: contain;
    height: 100%;
    width: 100%;
}

.social:hover {
    transform: rotate(360deg);
    transform-origin: center center;
    background-color: #ffff;
    color: #2d2e32;
}

.border-default {
    border-color: #ff9800 !important;
}

.bg-default {
    background-color: #ff9800 !important;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-close {
    margin: 0 !important;
}

.cursor-pointer {
    cursor: pointer;
}

.swiper-button-prev:after, .swiper-button-next:after {
    font-size: 30px !important;
}

.navbar {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

::selection {
    background-color: #f7f7f7;
    color: #dc8217; /* رنگ متن انتخاب‌شده */
}

/* سایز کانتینر در نمایشگرهای کوچک‌تر از 576px */
@media (max-width: 576px) {
    .container {
        max-width: 95%;
    }

    .swiper-button-prev:after, .swiper-button-next:after {
        font-size: 20px !important;
    }
}

/* سایز کانتینر در نمایشگرهای بزرگتر از 576px */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }

    .swiper-button-prev:after, .swiper-button-next:after {
        font-size: 20px !important;
    }
}

/* سایز کانتینر در نمایشگرهای بزرگتر از 768px */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }

    .swiper-button-prev:after, .swiper-button-next:after {
        font-size: 30px !important;
    }
}

/* سایز کانتینر در نمایشگرهای بزرگتر از 992px */
@media (min-width: 992px) {
    .container {
        max-width: 960px; /* تنظیم بهینه‌تر برای مشابهت با artjoo.com */
    }

    .swiper-button-prev:after, .swiper-button-next:after {
        font-size: 30px !important;
    }
}

/* سایز کانتینر در نمایشگرهای بزرگتر از 1200px */
@media (min-width: 1200px) {
    .container {
        max-width: 1440px;
    }

    .swiper-button-prev:after, .swiper-button-next:after {
        font-size: 30px !important;
    }
}

.ql-container.ql-snow {
    border-radius: 0 0 .35rem .35rem;
}

.ql-toolbar.ql-snow {
    border-radius: .35rem .35rem 0 0;
}

.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg {
    right: inherit !important;
    left: 0 !important;
}

.ql-editor {
    height: 200px !important;
    font-size: 20px !important;
}

.ql-editor li:not(.ql-direction-rtl)::before {
    margin-left: 0.3em !important;
    margin-right: 0 !important;
    text-align: left !important;
}

.ql-editorbox {
    margin-bottom: 50px !important;
}

.h-accordion-item {
    border: 2px solid #dc8217;
    margin: 10px 0;
    border-radius: .5rem;
}

.h-accordion-header {
    width: 100%;
    background: #FFF;
    font-weight: bold;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: .5rem .5rem 0 0;
}

.h-accordion-content {
    padding: 0 15px; /* تنظیم فضای داخلی */
    background: #fff;
    border-radius: .5rem;
}

.map-popup-container {
    display: none !important;
}

.disable-item {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
    background: rgba(0, 0, 0, .2);
}

.modal-backdrop {
    z-index: 998;
}

.swal2-title {
    font-size: 1.2em !important;
}

div:where(.swal2-container) .swal2-html-container {
    font-size: .85em !important;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    font-size: .85em !important;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel) {
    font-size: .85em !important;
}

.swal2-popup.swal2-toast .swal2-title {
    font-size: 1em !important;
}

.swiper-button-prev, .swiper-button-next {
    top: 35% !important;;
}

.border-dashed {
    border: 2px dashed #dee2e6 !important;
    background-color: #f8f9fa;
    border-radius: 12px;
}

/* استایل‌های جدید */
.orange-line {
    width: 5px;
    height: 40px;
    background-color: #ff9800;
    border-radius: 3px;
    margin-left: 10px;
}

.reservation-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.reservation-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.reservation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12) !important;
}

.reservation-card.disable {
    opacity: 0.9;
    position: relative;
}

.reservation-card.disable::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
}

.reservation-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.btn-default:disabled {
    background-color: #e0e0e0;
    color: #9e9e9e;
    cursor: not-allowed;
    transform: none;
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
    .reservation-cards-container {
        grid-template-columns: 1fr;
    }

    .reservation-card {
        margin-bottom: 20px;
    }
}

.filter-btn {
    width: 60px;
    height: 60px;
    transition: all 0.2s ease;
    border-width: 1.5px;
    border: 2px solid #ff9800;
    background-color: #ff9800;
    color: #FFFFFF;
}

.ai-btn {
    transition: all 0.2s ease;
    border: none; /* چون گرادینت معمولا به background می‌خوره */
    background: linear-gradient(45deg, #ff9800, #ff5722);
    color: white; /* چون زمینه رنگی شد، متن رو سفید می‌ذاریم برای کنتراست */
    padding: 10px 20px; /* کمی استایل بهتر برای دکمه */
    border-radius: 8px; /* اگر گردی گوشه‌ها رو می‌خوای */
    font-weight: bold;
    cursor: pointer;
}

.campaign-btn {
    transition: all 0.2s ease;
    border: 2px solid transparent; /* حاشیه شفاف برای حفظ فضای گرادیان */
    background:
            linear-gradient(white, white) padding-box, /* پس‌زمینه سفید برای محتوا */
            linear-gradient(45deg, #ff9800, #ff5722) border-box; /* گرادیان برای حاشیه */
    color: #ff5722; /* رنگ متن مطابق با گرادیان */
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.campaign-btn:hover {
    color: white; /* تغییر رنگ متن هنگام هاور */
    background:
            linear-gradient(45deg, #ff9800, #ff5722) padding-box, /* گرادیان روی کل دکمه */
            linear-gradient(45deg, #ff9800, #ff5722) border-box;
}

.filter-btn:hover {
    background-color: #ff9800;
    color: white !important;
}

.filter-btn:hover i {
    color: white;
}

.category-item {
    transition: all 0.2s ease;
}

.category-item:hover {
    background-color: rgba(255, 152, 0, 0.1);
    transform: translateY(-3px);
}

.category-icon {
    transition: transform 0.3s ease;
}

.category-item:hover .category-icon {
    transform: scale(1.1);
}

@media (max-width: 576px) {
    .category-item {
        padding: 8px !important;
    }

    .category-icon {
        max-width: 40px;
        max-height: 40px;
    }
}

.wallet-circle {
    width: 200px;
    height: 200px;
    max-width: 100%;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.wallet-circle.warning {
    border: 10px solid rgba(255, 152, 0, 0.15);       /* نارنجی */
    background-color: rgba(255, 152, 0, 0.05);
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.1);
}

.wallet-circle.success {
    border: 10px solid rgba(76, 175, 80, 0.15);        /* سبز */
    background-color: rgba(76, 175, 80, 0.05);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.1);
}

.wallet-circle.danger {
    border: 10px solid rgba(244, 67, 54, 0.15);        /* قرمز */
    background-color: rgba(244, 67, 54, 0.05);
    box-shadow: 0 0 20px rgba(244, 67, 54, 0.1);
}

.amount-btn {
    transition: all 0.2s ease;
}

.amount-btn:hover {
    transform: translateY(-3px);
    background-color: #ff9800 !important;
    color: white !important;
}

.btn-loading {
    position: relative;
    opacity: 0.8;
}

/* انیمیشن برای دکمه پرداخت */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 152, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
    }
}

.btn[style*="background-color: #ff9800"]:not(:disabled):not(.disabled):active,
.btn[style*="background-color: #ff9800"]:not(:disabled):not(.disabled).active {
    animation: pulse 1s infinite;
}

/* استایل برای موبایل */
@media (max-width: 767.98px) {
    .transactions-list {
        overflow-y: visible;
        max-height: none;
    }

    .card-body {
        padding: 1rem;
    }

    .amount-btn {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .wallet-circle {
        width: 180px;
        height: 180px;
        border-width: 8px;
    }
}

/* حذف اسکرول عمودی در موبایل */
@media (max-width: 767.98px) {
    html, body {
        overflow-x: hidden;
    }

    #track-orders {
        overflow-y: visible;
    }
}


/* استایل‌های کارت کسب‌وکار */
.business-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* استایل‌های لوگو */
.logo-container {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
}

.logo-container img {
    width: 90%;
    height: 90%;
}

/* استایل‌های وضعیت */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
}

.bg-success-light {
    background-color: rgba(25, 135, 84, 0.1);
}

.bg-secondary-light {
    background-color: rgba(108, 117, 125, 0.1);
}

.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    border-color: #dc8217 !important;
    background-color: rgba(13, 110, 253, 0.05);
}

/* متن‌های قطع شده */
.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* فواصل و چیدمان */
.business-info {
    flex-grow: 1;
}

@media (max-width: 767.98px) {
    .business-card .row {
        flex-direction: column-reverse;
    }

    .col-md-4 {
        padding: 1rem;
    }

    .logo-container {
        width: 100px;
        height: 100px;
    }
}
.bg-option {
    width: 150px;
    height: 120px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    position: relative;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.bg-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg-option:hover {
    border-color: #0d6efd;
}

.bg-option.selected {
    border-color: #ff9800;
    box-shadow: 0 0 2px #ff9800;
}

.selected-icon {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 18px;
    color: #ff9800;
    background-color: #fff;
    border-radius: 50%;
    padding: 2px;
}
