/* فایل استایل سفارشی */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
    background-color: #f5f7fa;
}

.navbar-custom {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sidebar {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.card-custom {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.card-custom:hover {
    transform: translateY(-5px);
}

.card-header-custom {
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    font-weight: bold;
}

.btn-custom {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
}

.file-icon {
    font-size: 24px;
    margin-left: 10px;
}

.file-info {
    display: flex;
    align-items: center;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.status-pending {
    background-color: var(--warning-color);
    color: white;
}

.status-sent {
    background-color: var(--primary-color);
    color: white;
}

.status-delivered {
    background-color: var(--success-color);
    color: white;
}

.status-downloaded {
    background-color: var(--success-color);
    color: white;
}

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .card-custom {
        margin-bottom: 15px;
    }
    
    .table-responsive {
        font-size: 14px;
    }
    
    .btn-custom {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* استایل‌های فرم */
.form-control, .form-select {
    border-radius: 8px;
    padding: 10px 15px;
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

/* انیمیشن‌ها */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
