/* ========== فونت فارسی وزیر ========== */

@font-face {
    font-family: 'Vazir';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir.woff2') format('woff2');
    font-weight: normal;
}

@font-face {
    font-family: 'Vazir';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir-Bold.woff2') format('woff2');
    font-weight: bold;
}

/* اعمال فونت روی تمام المان‌ها */

* {
    font-family: 'Vazir', sans-serif;
}

/* ========== استایل‌های سفارشی ========== */
/* گرادینت بنفش-آبی برای پس‌زمینه */

.gradient-bg {
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
}

/* انیمیشن شناور برای کارت‌ها */

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* افکت شیشه‌ای برای نوار بالایی و کارت‌ها */

.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

/* افکت برای مودال‌ها */

.modal-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

/* انیمیشن برای کارت‌ها هنگام هاور */

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

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

/* انیمیشن برای نوتیفیکیشن */

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification {
    animation: slideIn 0.3s ease-out;
}

/* استایل مخصوص چاپ لیبل */

.print-label {
    width: 60mm;
    padding: 5mm;
    background: white;
    border-radius: 3mm;
    box-shadow: 0 2mm 4mm rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* مخفی کردن المان‌ها هنگام چاپ */

@media print {
    body * {
        visibility: hidden;
    }

    #printSection,
    #printSection * {
        visibility: visible;
    }

    #printSection {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
}