
@font-face {
    font-family: vazir;
    src: url('../fonts/vazir/Vazir.eot');
    src: url('../fonts/vazir/Vazir.eot') format('embedded-opentype'), url('../fonts/vazir/Vazir-Meduim-FD.woff') format('woff'), url('../fonts/vazir/Vazir.ttf') format('truetype');
    font-style: normal;
}

:root {
    --font-primary: 'Vazir', system-ui, -apple-system, sans-serif;
}

html {
    font-size: 100%;           /* پایه 16px */
    direction: rtl;
}



body {
        font-family: var(--font-primary);

        font-weight: 400;
    box-sizing: border-box;
}

.gradient-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
}

.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.25);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: #fbbf24;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.search-input:focus {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.sidebar-item {
    transition: all 0.2s ease;
}

.sidebar-item:hover {
    background: rgba(59, 130, 246, 0.1);
    padding-right: 1.5rem;
}

.search-results {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-shape {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.order-card {
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-not_started {
    background: #fee2e2;
    color: #991b1b;
}

.status-started {
    background: #fef3c7;
    color: #92400e;
}

.status-finished {
    background: #dcfce7;
    color: #15803d;
}

.modal-overlay {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.colored-toast.swal2-icon-success {
    background-color: #28a745 !important;
}

.colored-toast.swal2-icon-error {
    background-color: #dc3545 !important;
}

.colored-toast.swal2-icon-warning {
    background-color: #ffc107 !important;
}

.colored-toast.swal2-icon-info {
    background-color: #17a2b5 !important;
}

.colored-toast.swal2-icon-question {
    background-color: #6c757d !important;
}

.colored-toast .swal2-title {
    color: white !important;
}

.colored-toast .swal2-close {
    color: white !important;
}

.colored-toast .swal2-html-container {
    color: white !important;
}
.card-shadow-static {
    box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.25);
}
.hover-lift:hover {
    transform: translateY(-4px);
    transition: transform 0.2s ease;
}
.status-pulse {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.persian-number {
    font-feature-settings: "ss01";
}



 .smooth-scroll {
     -webkit-overflow-scrolling: touch;
 }

.exam-card {
    transition: all 0.2s ease;
    border: 1px solid #e9eef2;
    background: white;
    border-radius: 1.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.exam-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

#sidebar-checkbox {
    display: none;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 1100;
    transition: right 0.25s ease;
    box-shadow: -4px 0 25px rgba(0, 0, 0, 0.12);
}

#sidebar-checkbox:checked ~ .mobile-sidebar {
    right: 0;
}

#sidebar-checkbox:checked ~ .sidebar-overlay {
    display: block;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1050;
    display: none;
    backdrop-filter: blur(3px);
}

.filter-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 28px 28px 0 0;
    padding: 1.5rem;
    z-index: 1200;
    transform: translateY(100%);
    transition: transform 0.25s;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
}

#filter-toggle:checked ~ .filter-drawer {
    transform: translateY(0);
}

#filter-toggle {
    display: none;
}

.filter-overlay {
    display: none;
}

#filter-toggle:checked ~ .filter-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1150;
}

.modal-mobile {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 2000;
    overflow-y: auto;
    display: none;
}




.badge {
    @apply inline-flex items-center gap-1 px-3 py-1.5 text-xs rounded-full font-medium;
}

.badge-success {
    @apply bg-emerald-100 text-emerald-800;
}

.badge-warning {
    @apply bg-amber-100 text-amber-800;
}

.badge-danger {
    @apply bg-rose-100 text-rose-800;
}

.badge-info {
    @apply bg-blue-100 text-blue-800;
}

.badge-purple {
    @apply bg-purple-100 text-purple-800;
}

.badge-gray {
    @apply bg-gray-100 text-gray-700;
}

.search-mobile {
    display: none;
}

@media (max-width: 640px) {
    .search-desktop {
        display: none;
    }

    .search-mobile {
        display: block;
    }
}

@media (min-width: 641px) {
    .mobile-only {
        display: none;
    }
}

.digits {
    font-feature-settings: "ss02";
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 0.9rem;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.15s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    width: 100%;
}

@media (min-width: 640px) {
    .action-btn {
        width: auto;
    }
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}

.btn-warning {
    background: #f59e0b;
    color: white;
}

.btn-warning:hover {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(245, 158, 11, 0.25);
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.25);
}

.btn-info {
    background: #6366f1;
    color: white;
}

.btn-info:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(99, 102, 241, 0.25);
}

.btn-outline {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.btn-outline:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.action-btn.disabled, .action-btn:disabled {
    opacity: 0.4;
    pointer-events: none;
    box-shadow: none;
}

.finance-box {
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
    border-radius: 1rem;
    padding: 1rem;
}

.modal-header {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
}




