

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

/* Mobile Bottom Navigation Styles */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(233, 30, 99, 0.1);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.mobile-nav-item:active {
    transform: scale(0.95);
}

.mobile-nav-item.active {
    background: linear-gradient(135deg, #E91E63 0%, #F06292 100%);
}

.mobile-nav-item.active .nav-icon {
    color: white;
    transform: translateY(-2px);
}

.mobile-nav-item.active .nav-label {
    color: white;
    font-weight: 600;
}

.nav-icon {
    font-size: 22px;
    color: #666;
    transition: all 0.3s ease;
}

.mobile-nav-item:hover .nav-icon {
    color: #E91E63;
    transform: translateY(-2px);
}

.nav-label {
    font-size: 11px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-item:hover .nav-label {
    color: #E91E63;
}

.nav-badge {
    position: absolute;
    top: 4px;
    right: 8px;
    background: linear-gradient(135deg, #FF4081 0%, #E91E63 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
transform: scale(1);
    }
    50% {
transform: scale(1.1);
    }
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    overflow-y: auto;
}

.sidebar.active {
    right: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1999;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 3000;
    padding: 20px;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hide mobile nav on desktop */
@media (min-width: 768px) {
    .mobile-nav {
display: none;
    }
}

/* Add padding to body for mobile nav */
@media (max-width: 767px) {
    body {
padding-bottom: 70px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #E91E63;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C2185B;
}
    