body {
    font-family: 'Vazirmatn', sans-serif;
    overflow-x: hidden;
}

/* --- استایل سایدبار (منو) --- */
.sidebar-container {
    background-color: #f5f5f4; /* رنگ طوسی خیلی روشن برای پس‌زمینه منو */
}

.sidebar-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem; /* فاصله آیکون و متن */
    padding: 0.875rem 1.25rem;
    border-radius: 1rem;
    font-size: 0.875rem; /* 14px */
    font-weight: 700;
    color: #78716c; /* رنگ متن غیرفعال */
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.sidebar-btn:hover {
    background-color: rgba(0, 0, 0, 0.03);
    color: #1c1917;
}

/* حالت فعال (دکمه سفید می‌شود) */
.sidebar-btn.active {
    background-color: #ffffff;
    color: #1c1917;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05); /* سایه نرم */
    border-color: rgba(0, 0, 0, 0.02);
    transform: translateX(-4px); /* کمی حرکت به چپ در RTL */
}

.sidebar-btn.active i {
    color: #10b981; /* آیکون سبز می‌شود */
}

.badge-red {
    background-color: #f43f5e;
    color: white;
    font-size: 0.65rem;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(244, 63, 94, 0.3);
}

/* --- محتوای تب‌ها --- */
.tab-content {
    display: none;
    animation: fadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-content.active {
    display: block;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- المان‌های عمومی --- */
.content-box {
    background: white;
    padding: 2rem;
    border-radius: 2.5rem;
    border: 1px solid #f5f5f4;
    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.02);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #1c1917;
    border-right: 4px solid #10b981;
    padding-right: 0.75rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 2rem;
    border: 1px solid #f5f5f4;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.input-field {
    width: 100%;
    background: #fff;
    border: 1px solid #e7e5e4;
    padding: 0.875rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    outline: none;
    transition: all 0.2s;
}
.input-field:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.btn-primary {
    background-color: #1c1917;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 1rem;
    font-weight: 900;
    transition: all 0.3s;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}
.btn-primary:hover {
    background-color: #10b981;
    transform: translateY(-2px);
}

/* استایل استپر سفارش */
.step-item {
    display: flex;
    flex-direction: column; /* این خط اصلاح شد */
    align-items: center;
    gap: 0.5rem;
}
.step-item .icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.step-item.active .icon {
    background-color: #10b981;
    color: white;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}
.step-item span {
    font-size: 0.65rem;
    font-weight: 900;
}
.sub-tab-btn { 
    padding: 8px 20px; 
    border-radius: 12px; 
    font-size: 12px; 
    font-weight: bold; 
    transition: all 0.3s; 
    color: #78716c; 
}

.sub-tab-btn.active { 
    background: white; 
    color: #10b981; 
    /* کلمه shadow به box-shadow تغییر یافت */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
}