:root {
    --primary: #0a2c50;
    --primary-dark: #0d47a1;
    --secondary: #1a73e8;
    --accent: #4cc9f0;
    --success: #2ecc71;
    --danger: #e74c3c;
    --warning: #f39c12;
    --light: #f8f9fa;
    --bg-dark: #1e293b;
    --dark: #334155;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --text-color: #333;
    --text-light: #6c757d;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --transition-hover: translateY(-5px);
}
/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}
* {
    text-decoration: none !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #f5f7fa, #e4ede7);
    color: var(--dark);
    min-height: 100vh;
    padding-top: 105px;
    line-height: 1.2;
}

/* استایل هدر حرفه‌ای */
.professional-header {
    background: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding: 0.1rem 20px;
    height: 105px;
    transition: var(--transition);
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    transition: var(--transition);
}

.header-sec {
    max-width: 95%;
    margin: auto;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: white;
    padding: 15px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 5px 20px #1a3a5f;
    margin-bottom: 40px;
}

.logo-section {
    border-radius: 5px;
}

.logo-section a {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 80%;
}

.logo-icon {
    height: 75px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.nav-section {
    display: flex;
    align-items: center;
    gap: 25px;
    height: 100%;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0 10px;
    height: 100%;
    color: var(--primary-dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-link i {
    margin-left: 10px;
    font-size: 18px;
    transition: var(--transition);
    color: var(--secondary);
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link:hover i {
    transform: translateY(-3px);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-item.active .nav-link {
    color: var(--secondary);
}

.nav-item.active .nav-link::before {
    width: 100%;
}

.dropdown {
    position: relative;
    height: 100%;
    align-items: center;
}

.dropdown-toggle::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 12px;
    transition: var(--transition);
    color: var(--secondary);
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 75%;
    left: -5px;
    min-width: 150px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 5px 1px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    display: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    display: block;
}

.dropdown-item {
    /* display: flex; */
    align-items: center;
    padding: 12px 25px;
    color: var(--primary);
    transition: var(--transition);
}

.dropdown-item i {
    margin-left: 12px;
    font-size: 16px;
    color: var(--secondary);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: #f1f8ff;
    color: var(--secondary);
    padding-right: 30px;
}

.dropdown-item:hover i {
    transform: translateX(5px);
    color: var(--accent);
}

/* استایل دکمه ورود */
.login-btn-container {
    max-width: 290px;
    margin-right: 10px;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(44, 109, 180, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 109, 180, 0.4);
}

.login-btn:hover::before {
    opacity: 1;
}

.login-btn i {
    margin-left: 10px;
    transition: var(--transition);
    color: white;
}

.login-btn:hover i {
    transform: translateX(5px);
}

.user-name {
    font-size: 0.9rem;
    color: var(--light);
}

.shop-name {
    font-size: 1rem;
    font-weight: bold;
    color: var(--light);
}

.user-info {
    align-items: center;
    gap: 10px;
}

.logout-btn {
    background-color: #e74c3c !important;
    border-color: #c0392b !important;
}

.logout-btn:hover {
    background-color: #c0392b !important;
}

/* بخش اعلانات */
.notification-dropdown {
    position: relative;
    display: inline-block;
}

.fa-bell {
    color: var(--primary);
}
.mobile-menu-btn{
    display: none;
    color: var(--primary) !important;
    font-size: 18pt;
}
.notification-icon {
    padding: 7px 25px;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: pulse 1.5s infinite;
}

.notification-container {
    position: absolute;
    top: 50px;
    right: -120px;
    width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow: hidden;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.notification-container.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.notification-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
}

.mark-all-read {
    background: none;
    border: none;
    color: #4361ee;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.mark-all-read:hover {
    color: #3a56d4;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 15px;
    border-bottom: 1px solid #fff;
    cursor: pointer;
    transition: background-color 0.2s;
    position: relative;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.unread {
    background-color: #f5f8ff;
}

.notification-item.unread .notification-title {
    font-weight: bold;
}

.notification-item.unread::after {
    content: '';
    position: absolute;
    top: 27%;
    right: 3px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #4361ee;
    border-radius: 50%;
}

.notification-title {
    font-size: 0.95rem;
    color: #2c3e50;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.notification-message {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.5;
}

.notification-time {
    font-size: 0.75rem;
    color: #95a5a6;
    text-align: left;
    margin-top: 5px;
}

.notification-footer {
    padding: 10px 15px;
    text-align: center;
    background-color: #f8f9fa;
}

.view-all-notifications {
    color: #4361ee;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.view-all-notifications:hover {
    color: #3a56d4;
    text-decoration: underline;
}

.empty-notifications {
    padding: 30px 15px;
    text-align: center;
    color: #95a5a6;
}

.empty-notifications i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    color: #e0e0e0;
}
/* استایل‌های اعلانات */
.notification-link {
    padding: 0 10px;
    color: #333;
    font-size: 1.2rem;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.notification-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    font-weight: 600;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Dropdown اعلانات */
.notification-dropdown {
    top: 0;
    width: 380px;
    max-width: 90vw;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
    animation: slideDown 0.3s ease;
    background: white;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-header {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.notification-header h6 {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}

.notification-header a {
    font-size: 0.8rem;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.notification-header a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 15px;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.3s;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item.unread {
    background: #f0f7ff;
    border-right: 3px solid var(--primary);
}

.notification-content {
    flex: 1;
    padding-left: 10px;
}

.notification-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 4px;
}

.notification-message {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 4px;
    line-height: 1.4;
}

.notification-time {
    font-size: 0.75rem;
    color: #999;
}

.unread-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 8px;
}

.no-notifications {
    padding: 30px 20px;
    text-align: center;
    color: #999;
}

.no-notifications i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ddd;
    display: block;
}

.no-notifications span {
    display: block;
    font-size: 0.9rem;
}

.notification-footer {
    padding: 12px 15px;
    text-align: center;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.notification-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.notification-footer a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* استایل برای موبایل */
.notification-mobile-link {
    position: relative;
    padding: 15px;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
}

.notification-mobile-link:hover {
    background: #f5f7fa;
    padding-right: 20px;
}

.notification-mobile-link i {
    margin-left: 10px;
    color: var(--light);
    font-size: 1.1rem;
}

.logout-link {
    color: #dc3545 !important;
}

.logout-link:hover {
    background: rgba(220, 53, 69, 0.1) !important;
}
/* استایل دایره شناور کیف پول */
.floating-wallet-container {
    position: fixed;
    bottom: 30px;
    right: 40px;
    z-index: 1000;
}

.floating-wallet {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4dabf7, #3b5bdb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 8px 25px rgba(59, 91, 219, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.floating-wallet:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(59, 91, 219, 0.7);
    animation-play-state: paused;
}

.floating-wallet:active {
    transform: scale(0.95);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.wallet-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.loading-spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top: 4px solid white;
    animation: spin 1s linear infinite;
    opacity: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* استایل tooltip نمایش موجودی */
.wallet-balance-tooltip {
    position: absolute;
    bottom: 100%;
    left: -52%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1001;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wallet-balance-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 75%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.95) transparent transparent transparent;
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));
}

.floating-wallet:hover .wallet-balance-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

.balance-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #3b5bdb;
    font-size: 16px;
    font-weight: 600;
}

.balance-header i {
    font-size: 20px;
}

.last-update {
    font-size: 12px;
    color: #7f8c8d;
    font-weight: normal;
}

.balance-amount {
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
    direction: ltr;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.balance-amount span {
    font-size: 18px;
    color: #7f8c8d;
    margin-right: 5px;
}

.balance-change {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #27ae60;
    background-color: rgba(39, 174, 96, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.balance-change.negative {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
}

.user-credit-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.refresh-balance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #3b5bdb;
    background-color: rgba(59, 91, 219, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-balance:hover {
    background-color: rgba(59, 91, 219, 0.2);
}

.refresh-balance:active {
    transform: scale(0.95);
}

/* استایل منوی اقدامات سریع */
.wallet-actions {
    position: absolute;
    bottom: 100px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.wallet-actions.show {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
}

.action-item {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #37b24d, #2b8a3e);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    box-shadow: 0 5px 15px rgba(43, 138, 62, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.action-item:nth-child(2) {
    background: linear-gradient(135deg, #f59f00, #e67700);
}

.action-item:nth-child(3) {
    background: linear-gradient(135deg, #e64980, #c2255c);
}

.action-item:nth-child(4) {
    background: linear-gradient(135deg, #9c88ff, #8c7ae6);
}

.action-item:hover {
    transform: scale(1.1);
}

.action-item span {
    position: absolute;
    top: -40px;
    background-color: #2c3e50;
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.action-item:hover span {
    opacity: 1;
    visibility: visible;
    top: -35px;
}

.action-item span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #2c3e50 transparent transparent transparent;
}
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1111;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(3px);
}
.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: white;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}
.mobile-menu.active {
    right: 0;
}
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--primary);
    color: white;
    position: sticky;
    top: 0;
    z-index: 10001;
}
.mobile-menu-header h3 {
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
}
.close-mobile-menu {
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}
.close-mobile-menu:hover {
    background: rgba(255, 255, 255, 0.2);
}
.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
}
.mobile-menu-section {
    margin-bottom: 0;
    border-bottom: 1px solid #f0f0f0;
    padding: 0;
}
.mobile-menu-section:last-child {
    border-bottom: none;
}
.mobile-menu-item {
    margin-bottom: 0;
}
.mobile-menu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 15px;
    text-align: right;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 1px solid #f5f5f5;
}
.mobile-menu-toggle:hover {
    background: #f5f7fa;
}
.mobile-menu-toggle span {
    display: flex;
    align-items: center;
}
.mobile-menu-toggle i:first-child {
    margin-left: 10px;
    font-size: 1.1rem;
    color: var(--primary);
}
.dropdown-icon {
    transition: transform 0.3s ease;
    margin-right: 5px;
}
.mobile-menu-toggle.active .dropdown-icon {
    transform: rotate(180deg);
}

.mobile-menu-section a {
    display: block;
    padding: 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    border-bottom: 1px solid #f5f5f5;
}
.mobile-menu-section a:hover {
    background: #f5f7fa;
    padding-right: 20px;
}
.mobile-menu-section a i {
    margin-left: 10px;
    color: var(--primary);
    font-size: 1.1rem;
}
.mobile-auth-section {
    padding: 15px;
    margin-top: 20px;
    background: #f8f9fa;
}
.mobile-auth-btn {
    display: block;
    text-align: center;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}
.mobile-login-btn {
    background: #f0f5ff;
    color: #2575fc;
    border: 1px solid #2575fc;
}
.mobile-login-btn:hover {
    background: #2575fc;
    color: white;
}
.mobile-register-btn {
    background-color: var(--primary);
    color: white;
}
.mobile-register-btn:hover {
    opacity: 0.9;
    box-shadow: 0 5px 15px rgba(38, 117, 252, 0.4);
}
.mobile-menu-footer {
    padding: 20px 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-around;
    background: #f8f9fa;
}
.mobile-menu-footer a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.9rem;
}
.mobile-menu-footer a:hover {
    background: #f5f7fa;
    color: #2575fc;
}
.mobile-menu-footer a i {
    margin-left: 8px;
}
.logout-link {
    color: #e74c3c !important;
}
.logout-link:hover {
    background: #ffeaea !important;
}
/* نوتیفیکیشن‌ها در موبایل */
.mobile-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* انیمیشن‌ها */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* استایل برای آیتم‌های فعال */
.mobile-menu-section a.active,
.mobile-submenu a.active {
    background: #e3f2fd;
    color: var(--primary);
    border-right: 3px solid var(--primary);
}
/* فقط موبایل  */
@media (max-width: 992px) {
    .nav-section {
        display: none;
    }
    .login-btn-container {
        display: none;
    }
    .mobile-submenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        background: #f8fafc;
        border-radius: 8px;
        padding: 0;
    }
    
    .mobile-submenu.active {
        max-height: 500px;
        padding: 10px 0;
    }

    .mobile-submenu a {
        display: flex;
        align-items: center;
        padding: 12px 20px 12px 35px;
        color: #334155;
        font-weight: 500;
        border-radius: 6px;
        transition: all 0.3s ease;
        background: white;
        margin: 4px 10px;
    }
    
    .mobile-submenu a i {
        margin-left: 10px;
        color: var(--secondary);
        font-size: 1rem;
        transition: transform 0.3s, color 0.3s;
    }

    .mobile-submenu a:hover {
        background: #f1f7ff;
        color: var(--primary);
        padding-right: 30px;
    }
    
    .mobile-submenu a:hover i {
        color: var(--accent);
        transform: translateX(5px);
    }

    .mobile-dropdown-indicator {
        transition: transform 0.3s ease;
        font-size: 14px;
        color: var(--secondary);
    }
    .notification-dropdown {
        margin-top: 10px;
    }
    .dropdown.active .mobile-dropdown-indicator {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        padding: 0 15px;
        background: rgba(241, 248, 255, 0.5);
        border-radius: 8px;
        margin-top: 5px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
        max-height: 500px;
        padding: 10px 0;
    }

    .dropdown-item {
        padding: 10px 20px;
        border-radius: 6px;
        margin: 5px 0;
        font-size: 14px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    .dropdown-menu{
        display: none;
    }
}

@media (max-width: 768px) {
    .notification-container {
        width: 300px;
        right: -10px;
    }
    .mobile-menu{
        max-width: 300px;
    }
    .logo-image {
        height: 65px;
    }
    .dropdown-menu{
        display: none;
    }
    .notification-dropdown {
        width: 320px;
        right: 0 !important;
        left: auto !important;
    }
    .floating-wallet {
        width: 70px;
        height: 70px;
        font-size: 28px;
        bottom: 20px;
        left: 20px;
    }
    
    .wallet-balance-tooltip {
        width: 280px;
        padding: 15px;
    }
    
    .balance-amount {
        font-size: 28px;
    }
    
    .wallet-actions {
        bottom: 90px;
    }
}

@media (max-width: 480px) {
    body{
        padding-top: 75px;
    }
    .professional-header{
        height: 75px;
    }
    .mobile-menu {
        max-width: 220px;
        right: -85%;
    }

    .logo-image {
        height: 60px;
    }
    
    .dropdown-menu{
        display: none;
    }
    .notification-dropdown {
        width: 280px;
    }
    .wallet-balance-tooltip {
        width: 250px;
    }
    
    .balance-amount {
        font-size: 24px;
    }
}