/* ═══════════════════════════════════════════
   style.css — استایل سفارشی فارسی
   مسیر: socialshop/assets/css/style.css
   ═══════════════════════════════════════════ */

/* ─── فونت وزیرمتن ───────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

/* ─── ریشه ────────────────────────────────── */
* {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
}

body {
    background-color: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ─── هدر / نوبار ─────────────────────────── */
.navbar-brand {
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

/* ─── کارت‌ها ─────────────────────────────── */
.card {
    border: none;
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* ─── دکمه‌ها ─────────────────────────────── */
.btn {
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.2s;
}
.btn:active {
    transform: scale(0.97);
}

/* ─── فرم‌ها ──────────────────────────────── */
.form-control, .form-select {
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    padding: 0.65rem 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus, .form-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

/* ─── جدول‌ها ─────────────────────────────── */
.table {
    font-size: 0.88rem;
}
.table th {
    font-weight: 700;
    background: #f1f5f9;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── بنر اصلی ────────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ─── ویژگی‌ها ────────────────────────────── */
.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    background: white;
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}
.feature-card:hover {
    border-color: #6366f1;
    box-shadow: 0 8px 25px rgba(99,102,241,0.1);
}
.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* ─── فوتر ────────────────────────────────── */
.footer {
    background: #0f172a;
    color: #94a3b8;
    margin-top: auto;
}

/* ─── وضعیت سفارش‌ها ──────────────────────── */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}
.status-pending  { background: #fef3c7; color: #92400e; }
.status-processing { background: #dbeafe; color: #1e40af; }
.status-completed { background: #dcfce7; color: #166534; }
.status-failed   { background: #fee2e2; color: #991b1b; }
.status-cancelled { background: #f1f5f9; color: #475569; }

/* ─── انیمیشن‌ها ──────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
    animation: fadeUp 0.5s ease-out;
}

/* ─── ریسپانسیو ───────────────────────────── */
@media (max-width: 768px) {
    .hero-section { padding: 3rem 1rem; }
    .feature-card { padding: 1.2rem 1rem; }
}
.hero-logo{
    width:60px;
    height:60px;
    object-fit:contain;
    margin-left:10px;
    vertical-align:middle;
}