/* 🍽️ استایل سیستم سفارش غذا - Timika Pro */

/* متغیرهای رنگی و طراحی */
:root {
    --food-primary: #ff6b35;
    --food-primary-dark: #e65525;
    --food-primary-light: #ff8557;
    --food-secondary: #f7931e;
    --food-success: #4caf50;
    --food-danger: #f44336;
    --food-warning: #ff9800;
    --food-info: #2196f3;
    --food-dark: #212121;
    --food-light: #f5f5f5;
    --food-border: #e0e0e0;
    --food-shadow: 0 4px 12px rgba(0,0,0,0.08);
    --food-shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --food-shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --food-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --food-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --food-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --food-gradient-primary: linear-gradient(135deg, var(--food-primary) 0%, var(--food-secondary) 100%);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* کانتینر اصلی */
.food-order-content {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    min-height: 100vh;
    padding: 20px;
    position: relative;
    animation: fadeInContent 0.6s ease-out;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* هدر */
.food-header {
    background: linear-gradient(135deg, var(--food-primary) 0%, var(--food-secondary) 100%);
    border-radius: 24px;
    padding: 35px;
    margin-bottom: 30px;
    color: white;
    box-shadow: var(--food-shadow-lg);
    position: relative;
    overflow: hidden;
    animation: slideInFromTop 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.food-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 0.5;
    }
}

.food-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.header-title h1 {
    font-size: 36px;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: titleBounce 1s ease-out;
}

.header-title h1 i {
    animation: iconRotate 2s ease-in-out infinite;
}

@keyframes titleBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes iconRotate {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.header-title p {
    margin: 0;
    opacity: 0.95;
    font-size: 17px;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* کارت کیف پول */
.wallet-info-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border-radius: 18px;
    padding: 22px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition-smooth);
    animation: slideInFromRight 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.wallet-info-card:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.wallet-icon {
    width: 65px;
    height: 65px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--food-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    }
}

.wallet-details {
    flex: 1;
}

.wallet-label {
    display: block;
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.wallet-amount {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
}

.wallet-amount small {
    font-size: 14px;
    font-weight: normal;
}

.btn-charge-wallet {
    background: white;
    color: var(--food-primary);
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.btn-charge-wallet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-charge-wallet:hover::before {
    width: 300px;
    height: 300px;
}

.btn-charge-wallet:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-charge-wallet:active {
    transform: translateY(-1px) scale(1.02);
}

/* تب‌ها */
.food-tabs {
    display: flex;
    gap: 12px;
    background: white;
    padding: 12px;
    border-radius: 18px;
    margin-bottom: 25px;
    box-shadow: var(--food-shadow-lg);
    overflow-x: auto;
    animation: fadeInUp 0.7s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.food-tab {
    flex: 1;
    min-width: 160px;
    padding: 16px 22px;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.food-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--food-primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.food-tab:hover {
    background: var(--food-light);
    transform: translateY(-2px);
}

.food-tab:hover::before {
    width: 80%;
}

.food-tab.active {
    background: var(--food-gradient-primary);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
    transform: translateY(-2px);
}

.food-tab.active::before {
    width: 0;
}

.food-tab i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.food-tab:hover i,
.food-tab.active i {
    transform: scale(1.2) rotate(5deg);
}

/* محتوای تب */
.food-tab-content {
    display: none;
}

.food-tab-content.active {
    display: block;
    animation: fadeInScale 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* فیلترهای مدرن و جذاب */
.food-filters-modern {
    background: white;
    border-radius: 24px;
    margin-bottom: 30px;
    box-shadow: var(--food-shadow-xl);
    animation: fadeInUp 0.8s ease-out 0.3s both;
    overflow: hidden;
    border: 2px solid rgba(255, 107, 53, 0.1);
}

/* هدر فیلترها */
.filters-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(255, 107, 53, 0.1);
}

.filters-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filters-title i {
    font-size: 24px;
    color: var(--food-primary);
    animation: filterPulse 2s ease-in-out infinite;
}

@keyframes filterPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.filters-title h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--food-dark);
}

.btn-reset-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 2px solid var(--food-border);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 600;
    color: #666;
}

.btn-reset-filters:hover {
    background: var(--food-danger);
    color: white;
    border-color: var(--food-danger);
    transform: translateY(-2px) rotate(-15deg);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.btn-reset-filters i {
    font-size: 16px;
}

/* بدنه فیلترها */
.filters-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* بخش‌های فیلتر */
.filter-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--food-dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--food-light);
}

.section-label i {
    font-size: 18px;
    color: var(--food-primary);
}

/* بخش تاریخ */
.date-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.date-input-modern {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    border: 2px solid var(--food-border);
    border-radius: 14px;
    font-size: 15px;
    transition: var(--transition-smooth);
    font-family: inherit;
    background: white;
}

.date-input-modern:focus {
    outline: none;
    border-color: var(--food-primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.btn-quick-date {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid var(--food-border);
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition-bounce);
    font-weight: 600;
    color: #666;
    position: relative;
    overflow: hidden;
}

.btn-quick-date::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--food-gradient-primary);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-quick-date:hover {
    color: white;
    border-color: var(--food-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.btn-quick-date:hover::before {
    width: 300px;
    height: 300px;
}

.btn-quick-date i,
.btn-quick-date span {
    position: relative;
    z-index: 1;
}

/* گرید دسته‌بندی */
.category-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.filter-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid var(--food-border);
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.filter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--food-gradient-primary);
    opacity: 0;
    transition: opacity 0.4s;
}

.filter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
    border-color: var(--food-primary);
}

.filter-card.active {
    background: var(--food-gradient-primary);
    border-color: var(--food-primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.35);
}

.filter-card.active::before {
    opacity: 1;
}

.filter-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--food-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition-bounce);
    position: relative;
    z-index: 1;
}

.filter-card:hover .filter-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.filter-card.active .filter-icon {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.2);
}

.filter-label {
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.filter-card.active .filter-label {
    color: white;
}

.filter-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--food-danger);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    z-index: 2;
    animation: badgePop 0.5s ease-out;
}

@keyframes badgePop {
    0% { transform: scale(0); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.filter-card.active .filter-badge {
    background: white;
    color: var(--food-primary);
}

/* بخش جستجو */
.search-box-modern {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    right: 18px;
    font-size: 18px;
    color: #999;
    transition: var(--transition-smooth);
    z-index: 1;
}

.search-input-modern {
    width: 100%;
    padding: 16px 50px 16px 50px;
    border: 2px solid var(--food-border);
    border-radius: 16px;
    font-size: 15px;
    transition: var(--transition-smooth);
    background: white;
}

.search-input-modern:focus {
    outline: none;
    border-color: var(--food-primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.search-input-modern:focus ~ .search-icon {
    color: var(--food-primary);
    transform: scale(1.2);
}

.btn-clear-search {
    position: absolute;
    left: 15px;
    background: var(--food-light);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 1;
}

.btn-clear-search:hover {
    background: var(--food-danger);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.search-suggestions {
    margin-top: 10px;
    display: none;
    flex-direction: column;
    gap: 5px;
}

.search-suggestions.active {
    display: flex;
}

.suggestion-item {
    padding: 10px 15px;
    background: var(--food-light);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 14px;
}

.suggestion-item:hover {
    background: var(--food-primary);
    color: white;
    transform: translateX(5px);
}

/* فوتر فیلترها */
.filters-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid rgba(255, 107, 53, 0.1);
    flex-wrap: wrap;
    gap: 15px;
}

.results-count {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--food-dark);
    font-size: 16px;
}

.results-count i {
    color: var(--food-primary);
    font-size: 18px;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #666;
}

.sort-options i {
    color: var(--food-primary);
}

.sort-select {
    padding: 10px 15px;
    border: 2px solid var(--food-border);
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 600;
    color: var(--food-dark);
}

.sort-select:focus {
    outline: none;
    border-color: var(--food-primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

/* استایل Compact - دو ردیفه */
.filters-body-compact {
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ردیف اول */
.filters-row-one {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 30px;
    align-items: start;
}

/* ردیف دوم */
.filters-row-two {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 25px;
    align-items: center;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 107, 53, 0.1);
}

/* بخش‌های compact */
.filter-section-compact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.section-label-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--food-dark);
}

.section-label-compact i {
    font-size: 16px;
    color: var(--food-primary);
}

/* بخش تاریخ compact */
.date-controls-compact {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

/* تقویم شمسی - فیلد تاریخ */
.date-input-persian {
    flex: 1;
    min-width: 200px;
    padding: 12px 18px;
    border: 2px solid var(--food-border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-smooth);
    background: white;
    cursor: pointer;
    color: var(--food-dark);
    text-align: center;
    direction: ltr;
}

.date-input-persian:hover {
    border-color: var(--food-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.date-input-persian:focus {
    outline: none;
    border-color: var(--food-primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
}

.date-input-persian::placeholder {
    color: #999;
}

/* استایل wrapper که persian-date-universal ایجاد می‌کنه */
.persian-date-wrapper {
    position: relative;
    display: inline-block;
    flex: 1;
    min-width: 200px;
}

.persian-date-wrapper .persian-display-input {
    width: 100%;
    padding: 12px 45px 12px 18px !important;
    border: 2px solid var(--food-border) !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: var(--transition-smooth) !important;
    background: white !important;
    cursor: pointer !important;
    color: var(--food-dark) !important;
    text-align: center !important;
    direction: ltr !important;
}

.persian-date-wrapper .persian-display-input:hover {
    border-color: var(--food-primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1) !important;
}

.persian-date-wrapper .persian-display-input:focus {
    outline: none !important;
    border-color: var(--food-primary) !important;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15) !important;
}

.persian-date-wrapper .persian-calendar-btn {
    position: absolute;
    right: 12px !important;
    left: auto !important;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    transition: var(--transition-smooth);
    color: var(--food-primary);
}

.persian-date-wrapper .persian-calendar-btn:hover {
    transform: translateY(-50%) scale(1.2);
    color: var(--food-secondary);
}

/* دکمه‌های سریع تاریخ compact */
.btn-quick-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    background: white;
    border: 2px solid var(--food-border);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-bounce);
    font-weight: 700;
    font-size: 14px;
    color: #555;
    white-space: nowrap;
    min-width: 90px;
    text-align: center;
}

.btn-quick-date:hover {
    background: var(--food-gradient-primary);
    color: white;
    border-color: var(--food-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-quick-date i {
    font-size: 15px;
    flex-shrink: 0;
}

.btn-quick-date span {
    display: inline-block;
    line-height: 1;
}

/* دسته‌بندی compact */
.category-filters-compact {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-card-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 2px solid var(--food-border);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    font-weight: 600;
    font-size: 13px;
    color: #666;
}

.filter-card-compact i {
    font-size: 16px;
    color: var(--food-primary);
    transition: var(--transition-bounce);
}

.filter-card-compact:hover {
    border-color: var(--food-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.filter-card-compact:hover i {
    transform: scale(1.2) rotate(10deg);
}

.filter-card-compact.active {
    background: var(--food-gradient-primary);
    border-color: var(--food-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.35);
}

.filter-card-compact.active i {
    color: white;
}

.filter-card-compact .filter-badge {
    position: static;
    background: var(--food-danger);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-right: -4px;
}

.filter-card-compact.active .filter-badge {
    background: white;
    color: var(--food-primary);
}

/* جستجو compact */
.search-box-compact {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-compact {
    width: 100%;
    padding: 12px 45px 12px 45px;
    border: 2px solid var(--food-border);
    border-radius: 12px;
    font-size: 14px;
    transition: var(--transition-smooth);
    background: white;
}

.search-input-compact:focus {
    outline: none;
    border-color: var(--food-primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.search-input-compact:focus ~ .search-icon {
    color: var(--food-primary);
    transform: scale(1.2);
}

/* نتایج و مرتب‌سازی compact */
.results-section-compact {
    display: flex;
    align-items: center;
    gap: 25px;
}

.results-count-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--food-dark);
    font-size: 15px;
    white-space: nowrap;
}

.results-count-compact i {
    color: var(--food-primary);
    font-size: 16px;
}

.sort-options-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #666;
}

.sort-options-compact i {
    color: var(--food-primary);
    font-size: 16px;
}

.sort-select-compact {
    padding: 10px 35px 10px 15px;
    border: 2px solid var(--food-border);
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 600;
    font-size: 13px;
    color: var(--food-dark);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ff6b35' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
}

.sort-select-compact:focus {
    outline: none;
    border-color: var(--food-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.sort-select-compact:hover {
    border-color: var(--food-primary);
}

/* استایل وضعیت compact */
.status-filters-compact {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    align-items: center;
}

.status-section-compact .filter-card-compact {
    min-width: 85px;
    justify-content: center;
}

/* ========================================
   مودال جزئیات غذا - طراحی مدرن و جذاب
======================================== */

/* Popup Container */
.food-detail-popup-modern {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    direction: rtl !important;
}

.food-detail-popup-modern .swal2-html-container {
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    direction: rtl !important;
}

.swal2-container {
    direction: rtl !important;
}

.swal2-popup.food-detail-popup-modern {
    width: 100% !important;
    max-width: 900px !important;
}

/* مخفی کردن دکمه‌های SweetAlert پیش‌فرض */
.food-detail-popup-modern .swal2-actions,
.swal2-actions-hidden {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}

.food-detail-popup-modern * {
    box-sizing: border-box;
}

.swal2-html-no-padding {
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

/* جلوگیری از overflow */
.food-detail-modern {
    max-width: 100%;
    box-sizing: border-box;
}

.food-detail-modern > * {
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.food-detail-content-modern > * {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.food-detail-image-wrapper {
    min-width: 0;
}

.food-detail-content-modern {
    min-width: 0;
}

/* دکمه Close - سمت راست بالا برای RTL */
.food-detail-close-modern {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    right: auto !important;
    width: 45px !important;
    height: 45px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50% !important;
    color: #ff6b35 !important;
    font-size: 24px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
    z-index: 10000 !important;
}

.food-detail-close-modern:hover {
    background: #ff6b35 !important;
    color: white !important;
    transform: rotate(90deg) scale(1.1) !important;
}

/* Container اصلی */
.food-detail-modern {
    display: grid;
    grid-template-columns: 45% 55%;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-height: 80vh;
    height: auto;
    direction: rtl;
    text-align: right;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* بخش تصویر */
.food-detail-image-wrapper {
    position: relative;
    height: 100%;
    max-height: 80vh;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 100%;
    min-width: 0;
    flex-shrink: 0;
}

.food-detail-image-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.food-detail-image-wrapper:hover .food-detail-image-modern {
    transform: scale(1.1);
}

/* Badge تخفیف - سمت راست برای RTL */
.discount-badge-detail {
    position: absolute;
    top: 20px;
    left: 20px;
    right: auto;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s infinite;
    direction: ltr;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.discount-badge-detail i {
    font-size: 16px;
}

/* Badge دسته‌بندی - سمت راست برای RTL */
.category-badge-detail {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: auto;
    background: rgba(255, 255, 255, 0.95);
    color: #ff6b35;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.category-badge-detail i {
    font-size: 16px;
}

/* محتوای اصلی */
.food-detail-content-modern {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 80vh;
    scrollbar-width: thin;
    scrollbar-color: #ff6b35 #f0f0f0;
    width: 100%;
    min-width: 0;
    flex: 1;
}

/* Custom Scrollbar برای Webkit */
.food-detail-content-modern::-webkit-scrollbar {
    width: 8px;
}

.food-detail-content-modern::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.food-detail-content-modern::-webkit-scrollbar-thumb {
    background: #ff6b35;
    border-radius: 10px;
}

.food-detail-content-modern::-webkit-scrollbar-thumb:hover {
    background: #ff8c61;
}

/* هدر */
.detail-header-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 3px solid #f0f0f0;
}

.food-title-modern {
    font-size: 32px;
    font-weight: 800;
    color: #2d3748;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.2;
}

.food-title-modern i {
    color: #ff6b35;
    font-size: 28px;
}

.btn-favorite-modern {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: white;
    color: #ff6b35;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.btn-favorite-modern:hover {
    background: #ff6b35;
    color: white;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.btn-favorite-modern.active i {
    font-weight: 900;
}

/* توضیحات */
.detail-description-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 25px;
    border-radius: 16px;
    border-right: 4px solid #ff6b35;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.detail-description-modern i {
    color: #ff6b35;
    font-size: 22px;
    margin-top: 3px;
    flex-shrink: 0;
}

.detail-description-modern p {
    margin: 0;
    line-height: 1.8;
    color: #4a5568;
    font-size: 15px;
}

/* عنوان‌های بخش */
.section-title-modern {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title-modern i {
    color: #ff6b35;
    font-size: 22px;
}

/* اطلاعات تغذیه‌ای */
.nutrition-info-modern {
    background: #f7fafc;
    padding: 25px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
}

.nutrition-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 15px;
}

.nutrition-card-modern {
    background: white;
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nutrition-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
    border-color: #ff6b35;
}

.nutrition-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.nutrition-value {
    font-size: 24px;
    font-weight: 800;
    color: #ff6b35;
    margin-bottom: 5px;
}

.nutrition-label {
    font-size: 13px;
    color: #718096;
    font-weight: 600;
}

/* مواد تشکیل دهنده */
.ingredients-section-modern {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    padding: 25px;
    border-radius: 16px;
    border: 2px solid #fed7d7;
}

.ingredients-tags-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ingredient-tag-modern {
    background: white;
    color: #2d3748;
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ingredient-tag-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
}

.ingredient-tag-modern i {
    color: #48bb78;
    font-size: 12px;
}

/* قیمت و سفارش */
.detail-footer-modern {
    margin-top: auto;
    padding-top: 25px;
    border-top: 3px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.price-section-modern {
    flex: 1;
    min-width: 0;
}

.price-discount-modern {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.original-price-modern {
    font-size: 18px;
    color: #a0aec0;
    text-decoration: line-through;
    font-weight: 600;
}

.current-price-modern {
    font-size: 36px;
    font-weight: 900;
    color: #ff6b35;
    line-height: 1;
}

.price-unit-modern {
    font-size: 16px;
    color: #718096;
    font-weight: 600;
    margin-right: 5px;
}

.price-normal-modern .current-price-modern {
    font-size: 40px;
}

/* دکمه سفارش */
.btn-order-modern {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.35);
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-order-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.45);
    background: linear-gradient(135deg, #ff8c61 0%, #ff6b35 100%);
}

.btn-order-modern:active {
    transform: translateY(-1px);
}

.btn-order-modern i {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .food-detail-modern {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow: hidden;
        width: 100%;
    }
    
    .food-detail-image-wrapper {
        max-height: 350px;
        min-height: 0;
        width: 100%;
    }
    
    .food-detail-content-modern {
        max-height: calc(90vh - 350px);
        padding: 30px 25px;
        width: 100%;
    }
    
    .food-title-modern {
        font-size: 26px;
    }
    
    .detail-footer-modern {
        gap: 15px;
    }
    
    .btn-order-modern {
        padding: 16px 30px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .food-detail-modern {
        max-height: 95vh;
        width: 100%;
        grid-template-columns: 1fr;
    }
    
    .food-detail-image-wrapper {
        max-height: 280px;
        width: 100%;
    }
    
    .food-detail-content-modern {
        max-height: calc(95vh - 280px);
        padding: 25px 20px;
        gap: 20px;
        width: 100%;
    }
    
    .food-title-modern {
        font-size: 22px;
    }
    
    .detail-footer-modern {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        width: 100%;
    }
    
    .price-section-modern {
        width: 100%;
        text-align: center;
    }
    
    .btn-order-modern {
        width: 100%;
        justify-content: center;
        padding: 16px 25px;
        font-size: 16px;
    }
    
    .nutrition-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   مودال تأیید سفارش - جذاب
======================================== */

.order-confirm-popup {
    border-radius: 20px !important;
    padding: 0 !important;
}

.order-confirm-title {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%) !important;
    color: white !important;
    padding: 25px 30px !important;
    margin: 0 !important;
    border-radius: 20px 20px 0 0 !important;
}

.swal-title-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
}

.swal-title-modern i {
    font-size: 28px;
}

.order-confirm-modern {
    padding: 30px 20px;
    text-align: center;
}

.order-food-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 4px solid #f0f0f0;
}

.order-food-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-food-name {
    font-size: 26px;
    font-weight: 800;
    color: #2d3748;
    margin: 20px 0;
}

.order-price-box {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
    padding: 20px;
    border-radius: 16px;
    margin: 20px 0;
    border: 2px solid #ff6b35;
}

.order-price-label {
    font-size: 16px;
    color: #718096;
    font-weight: 600;
    margin-left: 8px;
}

.order-price-value {
    font-size: 32px;
    font-weight: 900;
    color: #ff6b35;
}

.order-price-unit {
    font-size: 16px;
    color: #718096;
    font-weight: 600;
    margin-right: 5px;
}

.order-info-box {
    background: #f7fafc;
    padding: 15px 20px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
    font-weight: 600;
}

.order-info-box i {
    color: #ff6b35;
    font-size: 18px;
}

.order-confirm-btn, .order-cancel-btn {
    padding: 16px 40px !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 10px 8px !important;
}

.order-confirm-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%) !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35) !important;
}

.order-confirm-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.45) !important;
}

.order-cancel-btn {
    background: #e2e8f0 !important;
    color: #4a5568 !important;
}

.order-cancel-btn:hover {
    background: #cbd5e0 !important;
    transform: translateY(-2px) !important;
}

/* استایل قدیمی (پشتیبانی) */
.food-filters {
    display: none;
}

.date-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-input {
    padding: 10px 15px;
    border: 2px solid var(--food-border);
    border-radius: 10px;
    font-size: 14px;
}

.btn-today {
    padding: 10px 20px;
    background: var(--food-info);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 11px 22px;
    background: var(--food-light);
    border: 2px solid var(--food-border);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 14px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.filter-btn:hover {
    border-color: var(--food-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,53,0.2);
}

.filter-btn.active {
    background: var(--food-gradient-primary);
    color: white;
    border-color: var(--food-primary);
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
    transform: translateY(-2px);
}

.filter-btn.active::before {
    width: 100%;
    height: 100%;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-box input {
    width: 100%;
    padding: 13px 45px 13px 15px;
    border: 2px solid var(--food-border);
    border-radius: 12px;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.search-box input:focus {
    outline: none;
    border-color: var(--food-primary);
    box-shadow: 0 0 0 4px rgba(255,107,53,0.1);
    transform: translateY(-2px);
}

/* گرید منو */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    animation: fadeInUp 0.9s ease-out 0.4s both;
}

.menu-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--food-shadow);
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    animation: cardFadeIn 0.6s ease-out both;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,107,53,0.05), rgba(247,147,30,0.05));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
    pointer-events: none;
}

.menu-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--food-shadow-xl);
}

.menu-card:hover::before {
    opacity: 1;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-card:nth-child(1) { animation-delay: 0.1s; }
.menu-card:nth-child(2) { animation-delay: 0.2s; }
.menu-card:nth-child(3) { animation-delay: 0.3s; }
.menu-card:nth-child(4) { animation-delay: 0.4s; }
.menu-card:nth-child(5) { animation-delay: 0.5s; }
.menu-card:nth-child(6) { animation-delay: 0.6s; }

.menu-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    position: relative;
    transition: transform 0.6s ease;
}

.menu-card:hover .menu-card-image {
    transform: scale(1.1) rotate(2deg);
}

.menu-card-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: var(--transition-smooth);
    animation: badgeBounce 0.6s ease-out;
}

@keyframes badgeBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.menu-card:hover .badge {
    transform: translateY(-3px) scale(1.05);
}

.badge.vegetarian { color: #4caf50; border: 2px solid #4caf50; }
.badge.new { color: #ff6b35; border: 2px solid #ff6b35; }
.badge.popular { color: #ff9800; border: 2px solid #ff9800; }

.menu-card-content {
    padding: 24px;
    position: relative;
    z-index: 2;
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 10px;
}

.menu-card-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.menu-card-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffc107;
    font-size: 14px;
}

.menu-card-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-card-info {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #999;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--food-border);
}

.price-section {
    display: flex;
    flex-direction: column;
}

.original-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.current-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--food-primary);
    text-shadow: 0 2px 4px rgba(255,107,53,0.2);
}

.btn-order {
    padding: 12px 28px;
    background: var(--food-gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-bounce);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
    position: relative;
    overflow: hidden;
}

.btn-order::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-order:hover::before {
    width: 300px;
    height: 300px;
}

.btn-order:hover {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 6px 20px rgba(255,107,53,0.4);
}

.btn-order:active {
    transform: translateY(0) scale(1.03);
}

.btn-order:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-order:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* لیست سفارشات */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--food-shadow);
    display: flex;
    gap: 20px;
    align-items: center;
}

.order-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.order-details {
    flex: 1;
}

.order-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.order-meta {
    display: flex;
    gap: 15px;
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.order-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.order-status.confirmed { background: #e8f5e9; color: #4caf50; }
.order-status.pending { background: #fff3e0; color: #ff9800; }
.order-status.cancelled { background: #ffebee; color: #f44336; }
.order-status.delivered { background: #e3f2fd; color: #2196f3; }

.order-actions {
    display: flex;
    gap: 10px;
}

.btn-cancel, .btn-review {
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cancel {
    background: #ffebee;
    color: #f44336;
}

.btn-review {
    background: #e3f2fd;
    color: #2196f3;
}

/* تراکنش‌ها */
.transactions-list {
    max-height: 500px;
    overflow-y: auto;
}

.transaction-item {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.transaction-icon.charge { background: #e8f5e9; color: #4caf50; }
.transaction-icon.payment { background: #ffebee; color: #f44336; }
.transaction-icon.subsidy { background: #e3f2fd; color: #2196f3; }

.transaction-info {
    flex: 1;
    margin-right: 15px;
}

.transaction-type {
    font-weight: 600;
    margin-bottom: 3px;
}

.transaction-date {
    font-size: 13px;
    color: #999;
}

.transaction-amount {
    font-size: 18px;
    font-weight: bold;
}

.transaction-amount.positive { color: #4caf50; }
.transaction-amount.negative { color: #f44336; }

/* ========================================
   استایل‌های پیشرفته تراکنش‌ها
======================================== */

/* فیلترهای تراکنش */
.transactions-filters {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.filters-top-row {
    margin-bottom: 15px;
}

.transaction-filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.trans-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 14px;
    color: #495057;
    position: relative;
    overflow: hidden;
}

.trans-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.trans-filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    border-color: #ff6b35;
}

.trans-filter-btn.active {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border-color: #ff6b35;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.trans-filter-btn i,
.trans-filter-btn span {
    position: relative;
    z-index: 1;
}

.trans-filter-btn i {
    font-size: 16px;
}

.trans-badge {
    background: rgba(0, 0, 0, 0.1);
    color: inherit;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.trans-filter-btn.active .trans-badge {
    background: rgba(255, 255, 255, 0.3);
}

.filters-bottom-row {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.transaction-search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
}

.transaction-search-box i.fa-search {
    position: absolute;
    right: 15px;
    color: #999;
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
}

.transaction-search-box input {
    width: 100%;
    padding: 12px 45px 12px 45px;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.transaction-search-box input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.btn-clear-trans-search {
    position: absolute;
    left: 12px;
    background: #f44336;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.btn-clear-trans-search:hover {
    transform: rotate(90deg) scale(1.1);
    background: #d32f2f;
}

.transaction-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trans-count {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid #dee2e6;
    font-weight: 600;
    font-size: 14px;
    color: #495057;
}

.trans-count i {
    color: #ff6b35;
    font-size: 16px;
}

/* آیتم تراکنش مدرن */
.transaction-item-modern {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.5s ease-out both;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.transaction-item-modern::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #ff6b35 0%, #f7931e 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.transaction-item-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.2);
}

.transaction-item-modern:hover::before {
    opacity: 1;
}

.transaction-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 0;
}

.transaction-icon-modern {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.transaction-icon-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.transaction-item-modern:hover .transaction-icon-modern::before {
    opacity: 1;
}

.transaction-icon-modern i {
    position: relative;
    z-index: 1;
}

.transaction-icon-modern.color-green {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white;
}

.transaction-icon-modern.color-red {
    background: linear-gradient(135deg, #f44336 0%, #ef5350 100%);
    color: white;
}

.transaction-icon-modern.color-purple {
    background: linear-gradient(135deg, #9c27b0 0%, #ba68c8 100%);
    color: white;
}

.transaction-icon-modern.color-blue {
    background: linear-gradient(135deg, #2196f3 0%, #42a5f5 100%);
    color: white;
}

.transaction-icon-modern.color-orange {
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
    color: white;
}

.transaction-icon-modern.color-gray {
    background: linear-gradient(135deg, #607d8b 0%, #78909c 100%);
    color: white;
}

.transaction-details {
    flex: 1;
    min-width: 0;
}

.transaction-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.transaction-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #6c757d;
}

.transaction-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.transaction-meta i {
    color: #ff6b35;
    font-size: 12px;
}

.transaction-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.transaction-amount-modern {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-weight: 800;
    direction: ltr;
}

.amount-sign {
    font-size: 18px;
}

.amount-value {
    font-size: 24px;
    line-height: 1;
}

.amount-currency {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.8;
}

.transaction-amount-modern.positive {
    color: #4caf50;
}

.transaction-amount-modern.negative {
    color: #f44336;
}

.transaction-type-badge {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

.transaction-type-badge.color-green {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
}

.transaction-type-badge.color-red {
    background: linear-gradient(135deg, #f44336 0%, #ef5350 100%);
}

.transaction-type-badge.color-purple {
    background: linear-gradient(135deg, #9c27b0 0%, #ba68c8 100%);
}

.transaction-type-badge.color-blue {
    background: linear-gradient(135deg, #2196f3 0%, #42a5f5 100%);
}

.transaction-type-badge.color-orange {
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.transaction-type-badge.color-gray {
    background: linear-gradient(135deg, #607d8b 0%, #78909c 100%);
}

/* Responsive برای تراکنش‌ها */
@media (max-width: 768px) {
    .transaction-filter-buttons {
        gap: 8px;
    }
    
    .trans-filter-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .trans-filter-btn span:not(.trans-badge) {
        display: none;
    }
    
    .filters-bottom-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .transaction-search-box {
        width: 100%;
        min-width: auto;
    }
    
    .transaction-stats {
        justify-content: center;
    }
    
    .transaction-item-modern {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 15px;
    }
    
    .transaction-left {
        width: 100%;
    }
    
    .transaction-right {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .transaction-meta {
        gap: 10px;
        font-size: 12px;
    }
    
    .amount-value {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .transaction-icon-modern {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .transaction-title {
        font-size: 14px;
    }
    
    .transaction-meta span {
        font-size: 11px;
    }
    
    .trans-filter-btn i {
        margin: 0;
    }
}

/* مودال */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalFadeIn 0.3s ease-out;
}

.modal-overlay.active {
    display: flex;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--food-shadow-xl);
}

.modal-content.small { max-width: 480px; }
.modal-content.large { max-width: 950px; }

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition-smooth);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.modal-close:hover {
    background: var(--food-danger);
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(244,67,54,0.3);
}

.modal-close:active {
    transform: rotate(90deg) scale(0.95);
}

.modal-header {
    padding: 30px;
    border-bottom: 1px solid var(--food-border);
}

.modal-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-body {
    padding: 30px;
}

/* ========================================
   استایل‌های پیشرفته مودال شارژ بر اساس حقوق
======================================== */

/* کارت اطلاعات حقوقی */
.salary-info-card {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    color: white;
    animation: fadeInDown 0.5s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.salary-info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.salary-info-header i {
    font-size: 36px;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.salary-info-text h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 700;
}

.salary-info-text p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.salary-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.salary-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.salary-label {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.salary-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
}

.salary-value.highlight {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.salary-value small {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.9;
}

/* عنوان بخش شارژ */
.charge-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-right: 4px solid #ff6b35;
}

.charge-section-title i {
    font-size: 20px;
    color: #ff6b35;
}

.charge-section-title span {
    font-weight: 700;
    font-size: 15px;
    color: #2c3e50;
}

/* گرید مبالغ پیشنهادی */
.suggested-amounts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

/* کارت مبلغ */
.amount-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.amount-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.amount-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.25);
    border-color: #ff6b35;
}

.amount-card:hover::before {
    opacity: 0.1;
}

.amount-card.selected {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-color: #ff6b35;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    transform: translateY(-5px) scale(1.02);
}

.amount-card.selected .amount-icon {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.amount-card.selected .amount-label,
.amount-card.selected .amount-value,
.amount-card.selected .amount-currency {
    color: white;
}

.amount-card.featured {
    border-color: #ff6b35;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%);
}

/* آیکون مبلغ */
.amount-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.amount-icon.daily {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white;
}

.amount-icon.weekly {
    background: linear-gradient(135deg, #2196f3 0%, #42a5f5 100%);
    color: white;
}

.amount-icon.biweekly {
    background: linear-gradient(135deg, #9c27b0 0%, #ba68c8 100%);
    color: white;
}

.amount-icon.monthly {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
}

/* اطلاعات مبلغ */
.amount-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 1;
}

.amount-label {
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
}

.amount-value {
    font-size: 24px;
    font-weight: 800;
    color: #2c3e50;
    direction: ltr;
}

.amount-currency {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
}

/* برچسب پیشنهادی */
.featured-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* بخش مبلغ دلخواه */
.custom-amount-section {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.custom-amount-section label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 12px;
}

.custom-amount-section label i {
    color: #ff6b35;
}

.custom-amount-input {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-amount-input input {
    width: 100%;
    padding: 15px 80px 15px 15px;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    direction: ltr;
    text-align: left;
}

.custom-amount-input input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.input-suffix {
    position: absolute;
    left: 15px;
    font-weight: 700;
    color: #6c757d;
    font-size: 14px;
}

.input-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 12px;
    color: #6c757d;
}

.input-hint i {
    color: #ff6b35;
}

/* دکمه شارژ */
.btn-charge {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-charge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-charge:hover::before {
    width: 300px;
    height: 300px;
}

.btn-charge i,
.btn-charge span {
    position: relative;
    z-index: 1;
}

/* ========================================
   استایل‌های Compact و بهینه شده برای SweetAlert شارژ
======================================== */

.swal-charge-compact {
    direction: rtl !important;
    font-family: 'Vazir', 'Tahoma', sans-serif !important;
}

.swal-charge-compact .swal2-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #2c3e50 !important;
    margin-bottom: 15px !important;
}

.swal-compact-content {
    padding: 0 !important;
    margin: 0 !important;
}

.swal-charge-compact .swal2-close {
    color: #999 !important;
    font-size: 26px !important;
    transition: all 0.3s ease !important;
}

.swal-charge-compact .swal2-close:hover {
    color: #ff6b35 !important;
    transform: rotate(90deg) scale(1.1) !important;
}

/* مخفی کردن کامل دکمه‌های action */
.swal-actions-hidden,
.swal-charge-compact .swal2-actions {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* هدر فشرده با badge ها */
.charge-compact-header {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.salary-badge,
.max-badge {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.salary-badge {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}

.max-badge {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}

.salary-badge i,
.max-badge i {
    font-size: 16px;
}

/* گرید فشرده مبالغ */
.amounts-compact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

/* دکمه‌های مبلغ فشرده */
.amount-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.amount-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.amount-compact.daily::before {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
}

.amount-compact.weekly::before {
    background: linear-gradient(135deg, #2196f3 0%, #42a5f5 100%);
}

.amount-compact.biweekly::before {
    background: linear-gradient(135deg, #9c27b0 0%, #ba68c8 100%);
}

.amount-compact.monthly::before {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.amount-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.amount-compact:hover::before {
    opacity: 0.1;
}

.amount-compact.selected,
.amount-compact.featured {
    border-width: 2px;
}

.amount-compact.selected {
    border-color: #ff6b35;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
}

.amount-compact.featured {
    border-color: #ff6b35;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%);
}

.amount-compact i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 18px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    color: white;
}

.amount-compact.daily i {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
}

.amount-compact.weekly i {
    background: linear-gradient(135deg, #2196f3 0%, #42a5f5 100%);
}

.amount-compact.biweekly i {
    background: linear-gradient(135deg, #9c27b0 0%, #ba68c8 100%);
}

.amount-compact.monthly i {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.amount-data {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.amount-data .label {
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
}

.amount-data .value {
    font-size: 16px;
    font-weight: 800;
    color: #2c3e50;
    direction: ltr;
    text-align: left;
}

/* برچسب ستاره */
.star-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.star-badge i {
    font-size: 10px;
    color: white;
    width: auto;
    height: auto;
    background: none;
}

/* ورودی جدید با طراحی بهتر */
.input-wrapper-compact {
    margin-bottom: 15px;
}

.input-label-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #6c757d;
    margin-bottom: 8px;
}

.input-label-compact i {
    color: #ff6b35;
    font-size: 14px;
}

.input-field-compact {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 14px;
    transition: all 0.3s ease;
}

.input-field-compact:focus-within {
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.input-field-compact input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 20px;
    font-weight: 800;
    color: #2c3e50;
    text-align: right;
    direction: rtl;
    padding: 0;
    outline: none;
}

.input-field-compact input::placeholder {
    color: #dee2e6;
    font-weight: 700;
}

.unit-compact {
    font-size: 13px;
    font-weight: 700;
    color: #6c757d;
    margin-left: 8px;
    white-space: nowrap;
}

/* نمایش مبلغ به حروف */
.amount-in-words {
    display: none;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.amount-in-words i {
    color: #4caf50;
    font-size: 14px;
}

/* دکمه شارژ فشرده */
.btn-charge-compact {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-charge-compact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-charge-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-charge-compact:hover::before {
    width: 300px;
    height: 300px;
}

.btn-charge-compact:active {
    transform: translateY(0);
}

.btn-charge-compact i,
.btn-charge-compact span {
    position: relative;
    z-index: 1;
}

/* Responsive Compact */
@media (max-width: 768px) {
    .swal-charge-compact {
        width: 95% !important;
        max-width: 95% !important;
    }
    
    .swal-charge-compact .swal2-title {
        font-size: 20px !important;
    }
    
    .amounts-compact-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .charge-compact-header {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .salary-badge,
    .max-badge {
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .amount-compact {
        padding: 10px;
    }
    
    .amount-compact i {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .amount-data .value {
        font-size: 15px;
    }
    
    .input-field-compact {
        padding: 10px 12px;
    }
    
    .input-field-compact input {
        font-size: 18px;
    }
    
    .unit-compact {
        font-size: 12px;
    }
    
    .amount-in-words {
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .btn-charge-compact {
        padding: 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .swal-charge-compact .swal2-title {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
    
    .charge-compact-header {
        flex-direction: column;
        gap: 6px;
        margin-bottom: 10px;
    }
    
    .amount-data .label {
        font-size: 10px;
    }
    
    .amount-data .value {
        font-size: 14px;
    }
}

/* دکمه‌های شارژ (قدیمی - برای سازگاری) */
.charge-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.amount-btn {
    padding: 15px;
    border: 2px solid var(--food-border);
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
}

.amount-btn:hover, .amount-btn.selected {
    border-color: var(--food-primary);
    background: var(--food-light);
}

.custom-amount {
    margin-bottom: 20px;
}

.custom-amount label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-field {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--food-border);
    border-radius: 10px;
    font-size: 15px;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--food-gradient-primary);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::after {
    width: 400px;
    height: 400px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* لودینگ */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: #999;
    animation: fadeIn 0.3s ease-out;
}

.loading-spinner i {
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--food-primary);
}

@keyframes spinAndPulse {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
}

.loading-spinner p {
    font-size: 16px;
    font-weight: 500;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ریسپانسیو - Tablet */
@media (max-width: 1024px) {
    .filters-row-one {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .date-controls-compact {
        width: 100%;
    }
    
    .category-filters-compact {
        justify-content: flex-start;
        width: 100%;
    }
    
    .status-filters-compact {
        justify-content: flex-start;
        width: 100%;
    }
    
    .filters-header {
        flex-wrap: wrap;
    }
}

/* ریسپانسیو - موبایل */
@media (max-width: 768px) {
    .food-header-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .wallet-info-card {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .food-tabs {
        flex-wrap: nowrap;
        overflow-x: scroll;
    }
    
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .food-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .order-card {
        flex-direction: column;
        text-align: center;
    }
    
    /* فیلترهای مدرن - موبایل */
    .filters-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .filters-body {
        padding: 20px;
        gap: 25px;
    }
    
    .date-controls {
        flex-direction: column;
    }
    
    .date-input-modern {
        width: 100%;
        min-width: auto;
    }
    
    .btn-quick-date {
        width: 100%;
        justify-content: center;
    }
    
    .category-filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filters-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .results-count {
        justify-content: center;
    }
    
    .sort-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sort-select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .category-filters-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-card {
        padding: 15px 10px;
    }
    
    .filters-title h3 {
        font-size: 18px;
    }
    
    .btn-reset-filters span {
        display: none;
    }
    
    /* Compact Layout - موبایل */
    .filters-row-one {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .filters-row-two {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .date-controls-compact {
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }
    
    .persian-date-wrapper {
        width: 100%;
        min-width: auto;
    }
    
    .btn-quick-date {
        flex: 1;
        min-width: 110px;
        padding: 14px 12px;
        font-size: 15px;
    }
    
    .category-filters-compact {
        justify-content: center;
        gap: 10px;
        width: 100%;
    }
    
    .filter-card-compact {
        flex: 0 1 auto;
        min-width: 100px;
    }
    
    .results-section-compact {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .results-count-compact {
        justify-content: center;
    }
    
    .sort-options-compact {
        justify-content: center;
    }
    
    .status-filters-compact {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .status-section-compact .filter-card-compact {
        flex: 0 1 auto;
        min-width: 90px;
    }
    
    .filters-actions {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }
    
    .btn-add-menu {
        width: 100px !important;
        flex: 0 0 auto;
    }
    
    .btn-reset-filters {
        flex: 0 0 auto;
    }
    
    .sort-select-compact {
        width: 100%;
    }
}

/* Empty State و Error State */
.empty-state, .error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    animation: fadeInScale 0.5s ease-out;
}

.empty-state i, .error-state i {
    font-size: 72px;
    margin-bottom: 20px;
    opacity: 0.3;
    animation: floatUpDown 3s ease-in-out infinite;
}

.empty-state i {
    color: var(--food-primary);
}

.error-state i {
    color: var(--food-danger);
}

.empty-state p, .error-state p {
    font-size: 18px;
    color: #666;
    font-weight: 500;
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Tooltip استایل */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background: rgba(33, 33, 33, 0.95);
    color: white;
    text-align: center;
    border-radius: 8px;
    padding: 8px 12px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    right: 50%;
    transform: translateX(50%);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 50%;
    margin-right: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(33, 33, 33, 0.95) transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    transform: translateX(50%) translateY(-5px);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--food-gradient-primary);
    border-radius: 10px;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* دکمه علاقه‌مندی (Favorite) */
.btn-favorite {
    background: transparent;
    border: none;
    color: #ccc;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition-bounce);
    padding: 5px;
}

.btn-favorite:hover {
    color: #ff6b9d;
    transform: scale(1.2);
}

.btn-favorite.active {
    color: #f44336;
    animation: heartBeat 0.5s ease;
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(1.1);
    }
    75% {
        transform: scale(1.25);
    }
}

/* Rating Stars */
.rating-stars {
    display: flex;
    gap: 4px;
    font-size: 18px;
}

.rating-stars i {
    color: #ffc107;
    transition: transform 0.2s ease;
}

.rating-stars i:hover {
    transform: scale(1.2) rotate(10deg);
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeletonLoading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--food-shadow);
}

.skeleton-image {
    width: 100%;
    height: 220px;
}

.skeleton-text {
    height: 20px;
    margin: 10px 20px;
}

.skeleton-text.short {
    width: 60%;
}

/* Badge Pulse Effect */
.badge-pulse {
    animation: badgePulseAnim 2s ease-in-out infinite;
}

@keyframes badgePulseAnim {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255,107,53,0.4);
    }
}

/* Notification Toast */
.toast-notification {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--food-shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-notification.success {
    border-right: 4px solid var(--food-success);
}

.toast-notification.error {
    border-right: 4px solid var(--food-danger);
}

.toast-notification.warning {
    border-right: 4px solid var(--food-warning);
}

.toast-notification i {
    font-size: 24px;
}

.toast-notification.success i {
    color: var(--food-success);
}

.toast-notification.error i {
    color: var(--food-danger);
}

.toast-notification.warning i {
    color: var(--food-warning);
}

/* Scrollbar مدرن */
.food-order-content ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.food-order-content ::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.food-order-content ::-webkit-scrollbar-thumb {
    background: var(--food-gradient-primary);
    border-radius: 10px;
}

.food-order-content ::-webkit-scrollbar-thumb:hover {
    background: var(--food-primary-dark);
}

/* =====================================================
   استایل‌های برنامه هفتگی (Weekly Calendar)
   ===================================================== */

.weekly-calendar {
    padding: 20px;
}

.weekly-calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* کارت روز */
.weekly-day-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--food-shadow);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.weekly-day-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--food-shadow-lg);
}

.weekly-day-card.today {
    border-color: var(--food-primary);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.2);
}

.weekly-day-card.no-menu {
    opacity: 0.7;
    background: #f9f9f9;
}

/* هدر روز */
.day-header {
    background: var(--food-gradient-primary);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.day-info {
    color: white;
}

.day-name {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.day-date {
    font-size: 14px;
    opacity: 0.9;
}

.today-badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

/* آیتم‌های منوی روز */
.day-menu-items {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-menu-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mini-menu-card:hover {
    background: #e9ecef;
    transform: translateX(-5px);
}

.mini-menu-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.mini-menu-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mini-menu-info h4 {
    font-size: 14px;
    margin: 0 0 5px 0;
    color: var(--food-dark);
    font-weight: 600;
}

.mini-price {
    font-size: 13px;
    color: var(--food-primary);
    font-weight: bold;
}

.more-items {
    text-align: center;
    padding: 12px;
    background: #e3f2fd;
    color: var(--food-info);
    border-radius: 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

/* وضعیت سفارش روز */
.day-order-status {
    margin: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 12px;
    text-align: center;
    color: var(--food-success);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.day-order-status i {
    font-size: 20px;
}

/* دکمه سفارش روز */
.btn-order-day {
    width: calc(100% - 30px);
    margin: 15px;
    padding: 14px;
    background: var(--food-gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.btn-order-day:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.btn-order-day i {
    font-size: 16px;
}

/* نوتیس عدم وجود منو */
.no-menu-notice {
    padding: 40px 20px;
    text-align: center;
    color: #999;
}

.no-menu-notice i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-menu-notice p {
    margin: 0;
    font-size: 14px;
}

/* استایل علاقه‌مندی‌ها */
.btn-remove-favorite {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    background: rgba(244, 67, 54, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-smooth);
    opacity: 0;
}

.menu-card:hover .btn-remove-favorite {
    opacity: 1;
}

.btn-remove-favorite:hover {
    transform: scale(1.1);
    background: rgba(244, 67, 54, 1);
}

/* Responsive */
@media (max-width: 768px) {
    .weekly-calendar-grid {
        grid-template-columns: 1fr;
    }
    
    .day-header {
        padding: 15px;
    }
    
    .day-name {
        font-size: 18px;
    }
    
    .mini-menu-card {
        padding: 10px;
    }
    
    .mini-menu-image {
        width: 50px;
        height: 50px;
    }
}

/* =====================================================
   استایل‌های کارت‌های آماری مدرن (Modern Stats)
   ===================================================== */

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card-modern {
    background: white;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.1;
    transition: all 0.4s ease;
}

.stat-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.stat-card-modern:hover::before {
    transform: scale(1.5);
}

.stat-card-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* استایل‌های کیف پول */
.stat-wallet-balance .stat-card-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(240, 147, 251, 0.4);
}

.stat-wallet-balance::before {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-wallet-charged .stat-card-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(67, 233, 123, 0.4);
}

.stat-wallet-charged::before {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-wallet-spent .stat-card-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(250, 112, 154, 0.4);
}

.stat-wallet-spent::before {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.stat-wallet-subsidy .stat-card-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.stat-wallet-subsidy::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.stat-card-label {
    display: block;
    font-size: 10px;
    color: #999;
    margin-bottom: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card-value {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 5px 0;
    line-height: 1;
}

.stat-card-change {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 20px;
    background: #ecf0f1;
    color: #7f8c8d;
    font-weight: 600;
}

.stat-card-change.positive {
    background: #d4edda;
    color: #27ae60;
}

.stat-card-change i {
    font-size: 8px;
}

/* Responsive Stats Cards */
@media (max-width: 1200px) {
    .stats-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid-modern {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card-modern {
        padding: 16px;
    }
    
    .stat-card-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .stat-card-label {
        font-size: 9px;
    }
    
    .stat-card-value {
        font-size: 14px;
    }
    
    .stat-card-change {
        font-size: 8px;
        padding: 2px 5px;
    }
    
    .stat-card-change i {
        font-size: 7px;
    }
}
