/* استایل های سفارشی برای فارسی و RTL */

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
}

/* فرم rendering */
.form-radio-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.form-radio-card:hover {
    border-color: #93c5fd;
    background: #eff6ff;
}

.form-radio-card input[type="radio"]:checked + span {
    color: #1d4ed8;
    font-weight: 600;
}

.form-radio-card:has(input[type="radio"]:checked) {
    border-color: #2563eb;
    background: #dbeafe;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.15);
}

/* اعداد فارسی */
.farsi-digits {
    font-feature-settings: "ss02";
}

/* انیمیشن fade-in */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.4s ease-out;
}

/* اسکرول بار شیک */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* جدول ها برای ادمین */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.admin-table th {
    background: #f8fafc;
    padding: 0.875rem 1rem;
    text-align: right;
    font-weight: 600;
    font-size: 0.875rem;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.admin-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.875rem;
}

.admin-table tbody tr:hover {
    background: #f8fafc;
}

/* پرینت */
@media print {
    .no-print {
        display: none !important;
    }
}
