/* ========== RESET & BASE ========== */
* {
    font-family: 'Inter', sans-serif;
}

:root {
    /* Primary - Sormeh (Navy) */
    --color-primary-dark: #1a2332;
    --color-primary: #2c3e5a;
    --color-primary-light: #3a5075;

    /* Secondary - Gold/Yellow */
    --color-gold: #f5b342;
    --color-gold-light: #fdebd0;
    --color-gold-dark: #d4942e;

    /* Neutrals */
    --color-white: #f8f9fa;
    --color-gray: #6c7a8a;
    --color-gray-light: #e8ecf0;
    --color-text: #1a2332;
}

body {
    background: var(--color-white);
    color: var(--color-text);
}

/* ========== UTILITY ========== */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.status-dot.active { background: #10b981; }
.status-dot.pending { background: #f59e0b; animation: pulse 2s infinite; }
.status-dot.error { background: #ef4444; }
.status-dot.inactive { background: #9ca3af; }

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.4s ease-out; }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
::-webkit-scrollbar-thumb {
    background: var(--color-primary-dark);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}
/* ========== static/css/style.css ========== */

/* ============================================================ */
/* ===== DASHBOARD ===== */
/* ============================================================ */

/* ===== Card Hover Effect ===== */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

/* ===== Status Badges (برای داشبورد و سایر صفحات) ===== */
.status-badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.status-1 { background: #f3f4f6; color: #6b7280; }  /* DRAFT */
.status-2 { background: #fffbeb; color: #f59e0b; }  /* REVIEW */
.status-3 { background: #ecfdf5; color: #10b981; }  /* PUBLISHED */
.status-4 { background: #f3f4f6; color: #6b7280; }  /* ARCHIVED */

/* ===== Stats Cards (عمومی) ===== */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px 24px;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #1a2332;
}

.stat-label {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 2px;
}

/* ===== Fade In Animation ===== */
.fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

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

/* ============================================================ */
/* ===== RESPONSIVE ===== */
/* ============================================================ */

@media (max-width: 768px) {
    .stat-card {
        padding: 16px;
    }

    .stat-number {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 18px;
    }
}
/* ============================================================ */
/* ===== اضافه شده برای داشبورد ===== */
/* ============================================================ */

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

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.status-badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.status-1 { background: #f3f4f6; color: #6b7280; }
.status-2 { background: #fffbeb; color: #f59e0b; }
.status-3 { background: #ecfdf5; color: #10b981; }
.status-4 { background: #f3f4f6; color: #6b7280; }

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px 24px;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #1a2332;
}

.stat-label {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 2px;
}

.fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

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