
@font-face {
    font-family: 'Vazirmatn';
    src:url('/fonts/vazirmatn-v33.003/misc/Farsi-Digits/fonts/webfonts/Vazirmatn-FD-Regular.woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn-bold';
    src:url('/fonts/vazirmatn-v33.003/misc/Farsi-Digits/fonts/webfonts/Vazirmatn-FD-Bold.woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
* {
    font-family: 'Vazirmatn', sans-serif;
    font-feature-settings: "locl";
}
html, body {
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    /* force browser to use Persian digit glyphs if supported */
    font-feature-settings: "locl" 1;
}

:lang(fa) {
    font-family: 'Vazirmatn', sans-serif;
    font-feature-settings: "locl" 1;
}

.gradient-bg {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
}

.main-bg {
    background: linear-gradient(135deg, #ff006e 0%, #8338ec 15%, #3a86ff 30%, #06ffa5 45%, #ffbe0b 60%, #fb5607 75%, #ff006e 90%, #8338ec 100%);
    background-size: 600% 600%;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-hover:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 60px rgba(255, 0, 110, 0.4), 0 0 40px rgba(131, 56, 236, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(20px);
}

.mobile-menu.active {
    transform: translateX(0);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.neon-glow {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.auth-container {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.9), rgba(15, 15, 35, 0.9));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.input-glow:focus {
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.3);
    border-color: #00d4ff;
}

.btn-primary {
    background: linear-gradient(45deg, #ff006e, #8338ec, #3a86ff);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 110, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #8338ec, #3a86ff, #06ffa5);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(131, 56, 236, 0.5);
}

.btn-danger {
    background: linear-gradient(45deg, #fb5607, #ff006e);
    box-shadow: 0 4px 15px rgba(251, 86, 7, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(45deg, #ff006e, #fb5607);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 0, 110, 0.5);
}

.btn-success {
    background: linear-gradient(45deg, #06ffa5, #00d4aa);
    box-shadow: 0 4px 15px rgba(6, 255, 165, 0.3);
}

.btn-success:hover {
    background: linear-gradient(45deg, #00d4aa, #06ffa5);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(6, 255, 165, 0.5);
}

.course-filter-btn.active {
    background: linear-gradient(45deg, #ff006e, #8338ec) !important;
    color: white !important;
    box-shadow: 0 8px 25px rgba(255, 0, 110, 0.5);
}

.book-filter-btn.active {
    background: linear-gradient(45deg, #ff006e, #8338ec) !important;
    color: white !important;
    box-shadow: 0 8px 25px rgba(255, 0, 110, 0.5);
}
.user-profile-pic{
    border-radius: 50px;
    padding: 4px;
    border: 2px solid #f2f2f2 !important;
    margin-right: 10px;
}
