        /* اضافه کردن فونت پیدا */
        @font-face {
            font-family: "Inter";
            font-style: normal;
            font-weight: 100;
            font-display: swap;
            src: url("../fonts/inter/Inter-Thin.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: italic;
            font-weight: 100;
            font-display: swap;
            src: url("../fonts/inter/Inter-ThinItalic.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: normal;
            font-weight: 200;
            font-display: swap;
            src: url("../fonts/inter/Inter-ExtraLight.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: italic;
            font-weight: 200;
            font-display: swap;
            src: url("../fonts/inter/Inter-ExtraLightItalic.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: normal;
            font-weight: 300;
            font-display: swap;
            src: url("../fonts/inter/Inter-Light.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: italic;
            font-weight: 300;
            font-display: swap;
            src: url("../fonts/inter/Inter-LightItalic.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: normal;
            font-weight: 400;
            font-display: swap;
            src: url("../fonts/inter/Inter-Regular.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: italic;
            font-weight: 400;
            font-display: swap;
            src: url("../fonts/inter/Inter-Italic.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: normal;
            font-weight: 500;
            font-display: swap;
            src: url("../fonts/inter/Inter-Medium.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: italic;
            font-weight: 500;
            font-display: swap;
            src: url("../fonts/inter/Inter-MediumItalic.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: normal;
            font-weight: 600;
            font-display: swap;
            src: url("../fonts/inter/Inter-SemiBold.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: italic;
            font-weight: 600;
            font-display: swap;
            src: url("../fonts/inter/Inter-SemiBoldItalic.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: normal;
            font-weight: 700;
            font-display: swap;
            src: url("../fonts/inter/Inter-Bold.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: italic;
            font-weight: 700;
            font-display: swap;
            src: url("../fonts/inter/Inter-BoldItalic.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: normal;
            font-weight: 800;
            font-display: swap;
            src: url("../fonts/inter/Inter-ExtraBold.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: italic;
            font-weight: 800;
            font-display: swap;
            src: url("../fonts/inter/Inter-ExtraBoldItalic.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: normal;
            font-weight: 900;
            font-display: swap;
            src: url("../fonts/inter/Inter-Black.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: italic;
            font-weight: 900;
            font-display: swap;
            src: url("../fonts/inter/Inter-BlackItalic.woff2") format("woff2");
          }
          @font-face {
            font-family: "payda";
            src: url("../fonts/payda/PeydaWebFaNum-Medium.woff2") format("woff2");
            font-weight: normal;
          }
          @font-face {
            font-family: "payda";
            src: url("../fonts/payda/PeydaWebFaNum-Bold.woff2") format('woff2');
            font-weight: bold;
          }
          @font-face {
            font-family: "payda";
            src: url("../fonts/payda/PeydaWebFaNum-Black.woff2") format('woff2');
            font-weight: 900;
          }
:root {
    --primary: #111629;
    --primary-dark: #3a56d4;
    --primary-light: rgba(67, 97, 238, 0.1);
    --primary-grad: linear-gradient(to left, #4361ee, #3a56d4);
    --secondary: #f72585;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --border-light: #e5e7eb;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 12px;
}
        

        body.dark-mode {
            --bg-light: #111827;
            --bg-white: #1f2937;
            --text-primary: #f9fafb;
            --text-secondary: #d1d5db;
            --border-light: #374151;
            --gray-100: #1f2937;
            --gray-200: #374151;
            --gray-300: #4b5563;
            --gray-400: #6b7280;
            --gray-500: #9ca3af;
            --gray-600: #d1d5db;
            --gray-700: #e5e7eb;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
            --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
        }
        
#stories-container {
    display: flex;
    gap: 15px;
    padding: 15px;
    overflow-x: auto;
}

.story {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.story-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, #ff6b6b, #ff3838);
    transition: background 0.3s;
}

.story-avatar.viewed {
    background: #ddd !important;
}

.story-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.story-username {
    margin-top: 5px;
    font-size: 12px;
    color: #333;
    white-space: nowrap;
}

.story-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
}

.progress-container {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: #4CAF50;
    border-radius: 2px;
    transition: width linear;
}

.story-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.media-container {
    position: relative;
    width: 100%;
    display: flex;
    height: 100%;
    align-items: center;
}

.story-media {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: none;
}

.video-media {
    display: none;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-button { right: 20px; }
.next-button { left: 20px; }

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-link {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    z-index: 1002;
}


.story-media, .video-media {
    width: 100%;
    height: 90%;
    object-fit: contain;
    display: block;
}






        
        /* بخش دسته‌بندی‌های محبوب */
        .popular-categories {
            background-color: var(--white);
            border-radius: 0.75rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .dark .popular-categories {
            background-color: var(--gray-800);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--primary);
        }
        
        .section-title {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .dark .section-title {
            color: var(--primary-dark);
        }
        
        .view-all {
            color: #00fae9;
            font-weight: 600;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.3rem;
            transition: all 0.3s ease;
        }
        
        .view-all:hover {
            color: var(--secondary);
            gap: 0.5rem;
        }
        
        .categories-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 1rem;
        }
        
        .category-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            transition: all 0.3s ease;
            padding: 1rem 0.5rem;
            border-radius: 0.5rem;
        }
        
        .category-item:hover {
            transform: translateY(-5px);
            background-color: rgba(67, 97, 238, 0.05);
        }
        
        .dark .category-item:hover {
            background-color: rgba(67, 97, 238, 0.15);
        }
        
        .category-icon {
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--primary-grad);
            color: white;
            border-radius: 50%;
            font-size: 1.5rem;
            margin-bottom: 0.75rem;
        }
        
        .category-name {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--gray-700);
            text-align: center;
        }
        
        .dark .category-name {
            color: var(--gray-300);
        }
      























        /* ================= استایل بخش اصلی ================= */
        .main-content {
            display: flex;
            gap: 1.5rem;
            margin-top: 2rem;
            margin-bottom: 3rem;
        }
        
        /* سایدبار پروفایل کاربر */
        .profile-sidebar {
            width: 280px;
            background: var(--white);
            border-radius: 12px;
            box-shadow: var(--shadow);
            padding: 1.5rem;
            height: fit-content;
            position: sticky;
            top: 90px;
        }
        
        body.dark-mode .profile-sidebar {
            background-color: var(--gray-800);
        }
        
        .profile-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .profile-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--primary-grad);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2rem;
            margin-bottom: 1rem;
        }
        
        
        .profile-email {
            font-size: 0.9rem;
            color: var(--gray-500);
        }
        
        .profile-menu {
            list-style: none;
            margin-top: 1.5rem;
        }
        
        .profile-menu-item {
            margin-bottom: 0.5rem;
        }
        
        .profile-menu-link {
            display: flex;
            align-items: center;
            padding: 0.8rem 1rem;
            text-decoration: none;
            color: var(--text-primary-light);
            border-radius: 8px;
            transition: all 0.3s ease;
            gap: 0.7rem;
        }
        
        .profile-menu-link:hover {
            background-color: var(--gray-200);
            color: var(--primary);
        }
        
        body.dark-mode .profile-menu-link:hover {
            background-color: var(--gray-700);
        }
        
        .profile-menu-link.active {
            background-color: var(--primary);
            color: white;
        }
        
        /* محتوای اصلی */
        .content-area {
            flex: 1;
        }
        
        .page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid var(--gray-200);
        }
        
        body.dark-mode .page-header {
            border-bottom-color: var(--gray-700);
        }
        
        .page-title {
            font-size: 1.5rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 0.7rem;
        }
        
        .page-title i {
            color: var(--primary);
        }
        
        .filter-options {
            display: flex;
            gap: 1rem;
            align-items: center;
        }
        
        .filter-select {
            padding: 0.5rem 1rem;
            border-radius: 8px;
            border: 1px solid var(--gray-300);
            background-color: var(--white);
            color: var(--text-primary-light);
            font-family: var(--default-font-family);
        }
        
        body.dark-mode .filter-select {
            background-color: var(--gray-700);
            border-color: var(--gray-600);
            color: var(--text-primary-dark);
        }
        
        /* کارت سفارش لغو شده */
        .cancelled-orders {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .order-card {
            background: var(--white);
            border-radius: 12px;
            box-shadow: var(--shadow);
            overflow: hidden;
            transition: all 0.3s ease;
            border-left: 4px solid var(--danger);
        }
        
        body.dark-mode .order-card {
            background-color: var(--gray-800);
        }
        
        .order-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }
        
        .order-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.2rem 1.5rem;
            background-color: var(--danger-light);
            border-bottom: 1px solid var(--gray-200);
        }
        
        body.dark-mode .order-header {
            background-color: rgba(239, 68, 68, 0.1);
            border-bottom-color: var(--gray-700);
        }
        
        .order-id {
            font-weight: 700;
            color: var(--danger);
        }
        
        .order-date {
            color: var(--gray-500);
            font-size: 0.9rem;
        }
        
        .order-status {
            background-color: var(--danger);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        
        .order-body {
            padding: 1.5rem;
        }
        
        .order-products {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }
        
        .order-product {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.8rem;
            border: 1px solid var(--gray-200);
            border-radius: 8px;
            flex: 1;
            min-width: 250px;
        }
        
        body.dark-mode .order-product {
            border-color: var(--gray-700);
        }
        
        .product-image {
            width: 60px;
            height: 60px;
            object-fit: contain;
            border-radius: 8px;
            background: var(--gray-200);
            padding: 0.3rem;
        }
        
        body.dark-mode .product-image {
            background-color: var(--gray-700);
        }
        
        .product-info {
            flex: 1;
        }
        
        .product-name {
            font-weight: 600;
            margin-bottom: 0.3rem;
        }
        
        .product-price {
            color: var(--gray-500);
            font-size: 0.9rem;
        }
        
        .order-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background-color: var(--gray-200);
            border-radius: 8px;
        }
        
        body.dark-mode .order-details {
            background-color: var(--gray-700);
        }
        
        .detail-item {
            display: flex;
            flex-direction: column;
        }
        
        .detail-label {
            font-size: 0.8rem;
            color: var(--gray-500);
            margin-bottom: 0.3rem;
        }
        
        .detail-value {
            font-weight: 600;
        }
        
        .cancellation-reason {
            background-color: var(--gray-200);
            padding: 1rem;
            border-radius: 8px;
            margin-top: 1rem;
            border-right: 3px solid var(--danger);
        }
        
        body.dark-mode .cancellation-reason {
            background-color: var(--gray-700);
        }
        
        .reason-title {
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--danger);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .reason-text {
            line-height: 1.6;
        }
        
        .order-actions {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
            padding: 1rem 1.5rem;
            border-top: 1px solid var(--gray-200);
        }
        
        body.dark-mode .order-actions {
            border-top-color: var(--gray-700);
        }
        
        .btn-secondary {
            background-color: var(--gray-200);
            color: var(--text-primary-light);
            border: none;
            padding: 0.6rem 1.2rem;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        body.dark-mode .btn-secondary {
            background-color: var(--gray-700);
            color: var(--text-primary-dark);
        }
        
        .btn-secondary:hover {
            background-color: var(--gray-300);
        }
        
        body.dark-mode .btn-secondary:hover {
            background-color: var(--gray-600);
        }
        
        /* پیجینیشن */
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 2rem;
            gap: 0.5rem;
        }
        
        .pagination-item {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            background-color: var(--white);
            color: var(--text-primary-light);
            font-weight: 900;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid var(--gray-300);
        }
        
        body.dark-mode .pagination-item {
            background-color: var(--gray-800);
            color: var(--text-primary-dark);
            border-color: var(--gray-700);
        }
        
        .pagination-item:hover, .pagination-item.active {
            background-color: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        /* استایل برای حالت موبایل */
        .mobile-menu-btn {
            display: none;
        }
        
  
        
        /* Responsive styles */
        @media (max-width: 1200px) {
            .footer-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 992px) {
            .main-content {
                flex-direction: column;
            }
            
            .profile-sidebar {
                width: 100%;
                position: static;
                margin-bottom: 1.5rem;
            }
            
            .nav-menu {
                position: fixed;
                top: 0;
                right: -300px;
                width: 300px;
                height: 100vh;
                background: var(--white);
                flex-direction: column;
                padding: 2rem;
                transition: right 0.3s ease;
                z-index: 1000;
                box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            }
            
            body.dark-mode .nav-menu {
                background: var(--gray-800);
            }
            
            .nav-menu.active {
                right: 0;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .search-container {
                width: 200px;
            }
        }
        
        @media (max-width: 768px) {
            .footer-container {
                grid-template-columns: 1fr;
            }
            
            .order-products {
                flex-direction: column;
            }
            
            .order-product {
                min-width: 100%;
            }
            
            .order-details {
                grid-template-columns: 1fr;
            }
            
            .order-actions {
                flex-direction: column;
            }
            
            .filter-options {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }
            
            .search-container {
                display: none;
            }
        }
        
        @media (max-width: 576px) {
            .page-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }
            
            .auth-buttons {
                display: none;
            }
            
            .logo {
                font-size: 1.5rem;
            }
        }
        
        /* دکمه تغییر تم */
        .theme-toggle {
            background: none;
            border: none;
            cursor: pointer;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--gray-200);
            color: var(--gray-700);
            transition: all 0.3s ease;
            margin-left: 0.8rem;
        }
        
       
        
        .theme-toggle:hover {
            background-color: var(--primary);
            color: white;
            transform: rotate(30deg);
        }
        
        /* انیمیشن برای تغییر حالت دکمه */
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .theme-toggle.rotating {
            animation: spin 0.5s ease;
        }
        
        /* استایل برای صفحه خالی */
        .empty-state {
            text-align: center;
            padding: 3rem 1rem;
            background: var(--white);
            border-radius: 12px;
            box-shadow: var(--shadow);
        }
        
        body.dark-mode .empty-state {
            background-color: var(--gray-800);
        }
        
        .empty-icon {
            font-size: 4rem;
            color: var(--gray-400);
            margin-bottom: 1.5rem;
        }
        
        .empty-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary-light);
        }
        
        body.dark-mode .empty-title {
            color: var(--text-primary-dark);
        }
        
        .empty-text {
            color: var(--gray-500);
            margin-bottom: 2rem;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }


        /* محتوای اصلی */
        .content-area {
            flex: 1;
        }
        
        .page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding: 1.5rem;
            background-color: var(--white);
            border-radius: 16px;
            box-shadow: var(--card-shadow);
        }
        
        body.dark-mode .page-header {
            background-color: var(--gray-800);
        }
        
        .page-title {
            font-size: 1.5rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 0.7rem;
        }
        
        .page-title i {
            color: var(--primary);
        }
        
        .filter-options {
            display: flex;
            gap: 1rem;
            align-items: center;
        }
        
        .filter-select {
            padding: 0.6rem 1rem;
            border-radius: 10px;
            border: 1px solid var(--gray-300);
            background-color: var(--white);
            color: var(--text-primary-light);
            font-family: var(--default-font-family);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }
        
        .filter-select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
        }
        
        body.dark-mode .filter-select {
            background-color: var(--gray-700);
            border-color: var(--gray-600);
            color: var(--bg-dark);
        }
        
        /* کارت محصولات علاقه‌مندی */
        .wishlist-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
        }
        
        .wishlist-card {
            background: var(--white);
            border-radius: 16px;
            box-shadow: var(--card-shadow);
            overflow: hidden;
            transition: all 0.3s ease;
            position: relative;
        }
        
        body.dark-mode .wishlist-card {
            background-color: var(--gray-800);
        }
        
        .wishlist-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }
        
        .wishlist-card-header {
            position: relative;
            overflow: hidden;
        }
        
        .product-image {
            width: 100%;
            height: 200px;
            object-fit: contain;
            background: var(--gray-100);
            padding: 1rem;
            transition: transform 0.5s ease;
        }
        
        body.dark-mode .product-image {
            background-color: var(--gray-700);
        }
        
        .wishlist-card:hover .product-image {
            transform: scale(1.05);
        }
        
        .wishlist-actions {
            position: absolute;
            top: 10px;
            left: 10px;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .wishlist-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--white);
            color: var(--danger);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
        }
        
        .wishlist-btn:hover {
            background-color: var(--danger);
            color: var(--white);
            transform: scale(1.1);
        }
        
        .cart-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--white);
            color: var(--primary);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
        }
        
        .cart-btn:hover {
            background-color: var(--primary);
            color: var(--white);
            transform: scale(1.1);
        }
        
        .product-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            padding: 0.3rem 0.7rem;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 600;
        }
        
        .badge-new {
            background-color: var(--success);
            color: white;
        }
        
        .badge-sale {
            background-color: var(--danger);
            color: white;
        }
        
        .badge-popular {
            background-color: var(--warning);
            color: white;
        }
        
        .wishlist-card-body {
            padding: 1.5rem;
        }
        
        .product-category {
            font-size: 0.8rem;
            color: var(--gray-500);
            margin-bottom: 0.5rem;
        }
        
        .product-name {
            font-weight: 700;
            margin-bottom: 0.8rem;
            height: 2.8rem;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        
        .product-rating {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            margin-bottom: 1rem;
        }
        
        .rating-stars {
            color: var(--warning);
        }
        
        .rating-count {
            font-size: 0.8rem;
            color: var(--gray-500);
        }
        
        .product-price {
            display: flex;
            flex-direction: row-reverse;
            gap: 0.7rem;
            margin-bottom: 1.2rem;
        }
        
        .current-price {
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--primary);
        }
        
        .original-price {
            font-size: 0.9rem;
            color: var(--gray-500);
            text-decoration: line-through;
        }
        
        .discount {
            font-size: 0.8rem;
            color: var(--danger);
            font-weight: 600;
        }
        
        .wishlist-card-footer {
            display: flex;
            gap: 0.7rem;
        }
        
        .btn-full {
            flex: 1;
            text-align: center;
            justify-content: center;
        }
        
        /* استایل برای صفحه خالی */
        .empty-state {
            text-align: center;
            padding: 3rem 1rem;
            background: var(--white);
            border-radius: 16px;
            box-shadow: var(--card-shadow);
            grid-column: 1 / -1;
        }
        
        body.dark-mode .empty-state {
            background-color: var(--gray-800);
        }
        
        .empty-icon {
            font-size: 4rem;
            color: var(--gray-400);
            margin-bottom: 1.5rem;
        }
        
        .empty-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary-light);
        }
        
        body.dark-mode .empty-title {
            color: var(--text-primary-dark);
        }
        
        .empty-text {
            color: var(--gray-500);
            margin-bottom: 2rem;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* دکمه تغییر تم */
        .theme-toggle {
            background: none;
            border: none;
            cursor: pointer;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--gray-200);
            color: var(--gray-700);
            transition: all 0.3s ease;
            margin-left: 0.8rem;
        }
        
   
        body.dark-mode .theme-toggle {
            color: #d1d5db;
            background: #374151;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }
        
        .theme-toggle:hover {
            background-color: var(--primary);
            color: white;
            transform: rotate(30deg);
        }
        
        /* انیمیشن برای تغییر حالت دکمه */
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .theme-toggle.rotating {
            animation: spin 0.5s ease;
        }
        
        /* استایل برای حالت موبایل */
        .mobile-menu-btn {
            display: none;
        }
        
        /* Responsive styles */
        @media (max-width: 1200px) {
            .wishlist-container {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
        }
        
        @media (max-width: 992px) {
            .main-content {
                flex-direction: column;
            }
            
            .profile-sidebar {
                width: 100%;
                position: static;
                margin-bottom: 1.5rem;
            }
            
            .nav-menu {
                position: fixed;
                top: 0;
                right: -300px;
                width: 300px;
                height: 100vh;
                background: var(--white);
                flex-direction: column;
                padding: 2rem;
                transition: right 0.3s ease;
                z-index: 1000;
                box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            }
            
            body.dark-mode .nav-menu {
                background: var(--gray-800);
            }
            
            .nav-menu.active {
                right: 0;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .search-container {
                width: 200px;
            }
        }
        
        @media (max-width: 768px) {
            .wishlist-container {
                grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            }
            
            .filter-options {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }
            
            .search-container {
                display: none;
            }
            
            .page-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }
        }
        
        @media (max-width: 576px) {
            .wishlist-container {
                grid-template-columns: 1fr;
            }
            
            .auth-buttons {
                display: none;
            }
            
            .logo {
                font-size: 1.5rem;
            }
        }

                /* ================= استایل بخش اصلی ================= */
                .main-content {
                    display: flex;
                    gap: 1.5rem;
                    margin-top: 2rem;
                    margin-bottom: 3rem;
                }
                
                /* سایدبار پروفایل کاربر */
                .profile-sidebar {
                    width: 280px;
                    background: var(--white);
                    border-radius: 12px;
                    box-shadow: var(--shadow);
                    padding: 1.5rem;
                    height: fit-content;
                    position: sticky;
                    top: 90px;
                }
                
                body.dark-mode .profile-sidebar {
                    background-color: var(--gray-800);
                }
                
                .profile-header {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    margin-bottom: 1.5rem;
                }
                
                .profile-avatar {
                    width: 80px;
                    height: 80px;
                    border-radius: 50%;
                    background: var(--primary-grad);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    color: white;
                    font-size: 2rem;
                    margin-bottom: 1rem;
                    position: relative;
                }
                
                .avatar-edit {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    background: var(--primary);
                    color: white;
                    width: 30px;
                    height: 30px;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 0.9rem;
                    cursor: pointer;
                }
                
                .profile-name {
                    font-size: 1.2rem;
                    font-weight: 700;
                    margin-bottom: 0.3rem;
                    color: var(--text-primary);
                }
                
                .profile-email {
                    font-size: 0.9rem;
                    color: var(--gray-500);
                }
                
                .profile-menu {
                    list-style: none;
                    margin-top: 1.5rem;
                }
                
                .profile-menu-item {
                    margin-bottom: 0.5rem;
                }
                
                .profile-menu-link {
                    display: flex;
                    align-items: center;
                    padding: 0.8rem 1rem;
                    text-decoration: none;
                    color: var(--text-primary-light);
                    border-radius: 8px;
                    transition: all 0.3s ease;
                    gap: 0.7rem;
                }
                
                .profile-menu-link:hover {
                    background-color: var(--gray-200);
                    color: var(--primary);
                }
                
                body.dark-mode .profile-menu-link:hover {
                    background-color: var(--gray-700);
                }
                
                .profile-menu-link.active {
                    background-color: var(--primary);
                    color: white;
                }
                
                /* محتوای اصلی */
                .content-area {
                    flex: 1;
                }
                
                .page-header {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-bottom: 1.5rem;
                    padding-bottom: 1rem;
                    border-bottom: 2px solid var(--gray-200);
                }
                
                body.dark-mode .page-header {
                    border-bottom-color: var(--gray-700);
                }
                
                .page-title {
                    font-size: 1.5rem;
                    font-weight: 800;
                    display: flex;
                    align-items: center;
                    gap: 0.7rem;
                }
                
                .page-title i {
                    color: var(--primary);
                }
                
                /* کارت اطلاعات پروفایل */
                .profile-info-card {
                    background: var(--white);
                    border-radius: 12px;
                    box-shadow: var(--shadow);
                    padding: 2rem;
                    margin-bottom: 1.5rem;
                }
                
                body.dark-mode .profile-info-card {
                    background-color: var(--gray-800);
                }
                
                .card-header {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-bottom: 1.5rem;
                    padding-bottom: 1rem;
                    border-bottom: 1px solid var(--gray-200);
                }
                
                body.dark-mode .card-header {
                    border-bottom-color: var(--gray-700);
                }
                
                .card-title {
                    font-size: 1.2rem;
                    font-weight: 700;
                    display: flex;
                    align-items: center;
                    gap: 0.7rem;
                }
                
                .card-title i {
                    color: var(--primary);
                }
                
                .edit-btn {
                    background: none;
                    border: none;
                    color: var(--primary);
                    cursor: pointer;
                    font-weight: 600;
                    display: flex;
                    align-items: center;
                    gap: 0.5rem;
                    transition: all 0.3s ease;
                }
                
                .edit-btn:hover {
                    color: var(--primary-dark);
                }
                
                .profile-form {
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    gap: 1.5rem;
                }
                
                .form-group {
                    display: flex;
                    flex-direction: column;
                    gap: 0.5rem;
                }
                
                .form-group.full-width {
                    grid-column: 1 / -1;
                }
                
     
                .form-input {
                    padding: 0.8rem 1rem;
                    border: 1px solid var(--gray-300);
                    border-radius: 8px;
                    font-family: var(--default-font-family);
                    transition: all 0.3s ease;
                    background-color: var(--white);
                    color: var(--text-primary-light);
                }
                
                body.dark-mode .form-input {
                    background-color: #374151;
                    border-color: var(--gray-600);
                    color: var(--text-primary-dark);
                }
                
                .form-input:focus {
                    outline: none;
                    border-color: var(--primary);
                    box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
                }
                
                .form-textarea {
                    resize: vertical;
                    min-height: 100px;
                }
                
                .form-actions {
                    grid-column: 1 / -1;
                    display: flex;
                    justify-content: flex-end;
                    gap: 1rem;
                    margin-top: 1rem;
                }
                
                /* کارت آمار کاربر */
                .stats-cards {
                    display: grid;
                    grid-template-columns: repeat(4, 1fr);
                    gap: 1.5rem;
                    margin-bottom: 1.5rem;
                }
                
                .stat-card {
                    background-color:white;
                    border-radius: 12px;
                    box-shadow: var(--shadow);
                    padding: 1.5rem;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    text-align: center;
                    transition: all 0.3s ease;
                }
                
                body.dark-mode .stat-card {
                    background-color: var(--gray-800);
                }

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}
                
                .stat-icon {
                    width: 60px;
                    height: 60px;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 1.5rem;
                    margin-bottom: 1rem;
                }
                
                .stat-orders {
                    background-color: rgba(67, 97, 238, 0.1);
                    color: var(--primary);
                }
                
                .stat-wishlist {
                    background-color: rgba(247, 37, 133, 0.1);
                    color: var(--secondary);
                }
                
                .stat-cancelled {
                    background-color: rgba(239, 68, 68, 0.1);
                    color: var(--danger);
                }
                
                .stat-support {
                    background-color: rgba(16, 185, 129, 0.1);
                    color: var(--success);
                }
                
                .stat-value {
                    font-size: 1.8rem;
                    font-weight: 800;
                    margin-bottom: 0.5rem;
                }
                
                .stat-label {
                    color: var(--gray-500);
                    font-size: 0.9rem;
                }
                
                /* کارت آخرین فعالیت‌ها */
                .activity-card {
                    background: var(--white);
                    border-radius: 12px;
                    box-shadow: var(--shadow);
                    padding: 2rem;
                }
                
                body.dark-mode .activity-card {
                    background-color: var(--gray-800);
                }
                
                .activity-list {
                    list-style: none;
                }
                
                .activity-item {
                    display: flex;
                    gap: 1rem;
                    padding: 1rem 0;
                    border-bottom: 1px solid var(--gray-200);
                }
                
                body.dark-mode .activity-item {
                    border-bottom-color: var(--gray-700);
                }
                
                .activity-item:last-child {
                    border-bottom: none;
                }
                
                .activity-icon {
                    width: 40px;
                    height: 40px;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 1rem;
                    flex-shrink: 0;
                }
                
                .activity-info {
                    flex: 1;
                }
                
                .activity-title {
                    font-weight: 600;
                    margin-bottom: 0.3rem;
                }
                
                .activity-desc {
                    color: var(--gray-500);
                    font-size: 0.9rem;
                }
                
                .activity-time {
                    color: var(--gray-400);
                    font-size: 0.8rem;
                }
                
                /* استایل برای حالت موبایل */
                .mobile-menu-btn {
                    display: none;
                }
                
        
        
                /* Responsive styles */
                @media (max-width: 1200px) {
                    .footer-container {
                        grid-template-columns: repeat(2, 1fr);
                    }
                    
                    .stats-cards {
                        grid-template-columns: repeat(2, 1fr);
                    }
                }
                
                @media (max-width: 992px) {
                    .main-content {
                        flex-direction: column;
                    }
                    
                    .profile-sidebar {
                        width: 100%;
                        position: static;
                        margin-bottom: 1.5rem;
                    }
                    
                    .nav-menu {
                        position: fixed;
                        top: 0;
                        right: -300px;
                        width: 300px;
                        height: 100vh;
                        background: var(--white);
                        flex-direction: column;
                        padding: 2rem;
                        transition: right 0.3s ease;
                        z-index: 1000;
                        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
                    }
                    
                    body.dark-mode .nav-menu {
                        background: var(--gray-800);
                    }
                    
                    .nav-menu.active {
                        right: 0;
                    }
                    
                    .mobile-menu-btn {
                        display: block;
                    }
                    
                    .search-container {
                        width: 200px;
                    }
                    
                    .profile-form {
                        grid-template-columns: 1fr;
                    }
                }
                
                @media (max-width: 768px) {
                    .footer-container {
                        grid-template-columns: 1fr;
                    }
                    
                    .stats-cards {
                        grid-template-columns: 1fr;
                    }
                    
                    .search-container {
                        display: none;
                    }
                }
                
                @media (max-width: 576px) {
                    .page-header {
                        flex-direction: column;
                        align-items: flex-start;
                        gap: 1rem;
                    }
                    
                    .auth-buttons {
                        display: none;
                    }
                    
                    .logo {
                        font-size: 1.5rem;
                    }
                    
                    .form-actions {
                        flex-direction: column;
                    }
                }
                
                /* دکمه تغییر تم */
                .theme-toggle {
                    background: none;
                    border: none;
                    cursor: pointer;
                    width: 40px;
                    height: 40px;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    background-color: var(--gray-200);
                    color: var(--gray-700);
                    transition: all 0.3s ease;
                    margin-left: 0.8rem;
                }
                
        
                
                .theme-toggle:hover {
                    background-color: var(--primary);
                    color: white;
                    transform: rotate(30deg);
                }
                
                /* انیمیشن برای تغییر حالت دکمه */
                @keyframes spin {
                    0% { transform: rotate(0deg); }
                    100% { transform: rotate(360deg); }
                }
                
                .theme-toggle.rotating {
                    animation: spin 0.5s ease;
                }
                
        /* ================= استایل بخش اصلی ================= */
        .main-content {
            display: flex;
            gap: 1.5rem;
            margin-top: 2rem;
            margin-bottom: 3rem;
        }
        
        /* سایدبار پروفایل کاربر */
        .profile-sidebar {
            width: 280px;
            background-color:white;
            border-radius: 16px;
            box-shadow: var(--card-shadow);
            padding: 1.5rem;
            height: fit-content;
            position: sticky;
            top: 90px;
        }
        
        body.dark-mode .profile-sidebar {
            background-color: var(--gray-800);
        }
        
        .profile-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--gray-200);
        }
        
        body.dark-mode .profile-header {
            border-bottom-color: var(--gray-700);
        }
        
        .profile-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--primary-grad);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2rem;
            margin-bottom: 1rem;
            box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
        }
        
        .profile-name {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 0.3rem;
        }
        
        .profile-email {
            font-size: 0.9rem;
            color: var(--gray-500);
        }
        
        .profile-menu {
            list-style: none;
        }
        
        .profile-menu-item {
            margin-bottom: 0.5rem;
        }
        
        .profile-menu-link {
            display: flex;
            align-items: center;
            padding: 0.8rem 1rem;
            text-decoration: none;
            color: var(--text-primary-light);
            border-radius: 10px;
            transition: all 0.3s ease;
            gap: 0.7rem;
        }
        
        .profile-menu-link:hover {
            background-color: var(--primary-light);
            color: var(--primary);
        }
        
        body.dark-mode .profile-menu-link:hover {
            background-color: rgba(67, 97, 238, 0.1);
        }
        
        .profile-menu-link.active {
            background-color: var(--primary);
            color: white;
            box-shadow: 0 4px 10px rgba(67, 97, 238, 0.2);
        }
        
        /* محتوای اصلی */
        .content-area {
            flex: 1;
        }
        
        .page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding: 1.5rem;
            background-color: var(--white);
            border-radius: 16px;
            box-shadow: var(--card-shadow);
        }
        
        body.dark-mode .page-header {
            background-color: var(--gray-800);
        }
        
        .page-title {
            font-size: 1.5rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 0.7rem;
        }
        
        .page-title i {
            color: var(--primary);
        }
        
        .filter-options {
            display: flex;
            gap: 1rem;
            align-items: center;
        }
        
        .filter-select {
            padding: 0.6rem 1rem;
            border-radius: 10px;
            border: 1px solid var(--gray-300);
            background-color: var(--white);
            color: var(--text-primary-light);
            font-family: var(--default-font-family);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }
        
        .filter-select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
        }
        
        body.dark-mode .filter-select {
            background-color: var(--gray-700);
            border-color: var(--gray-600);
            color: var(--bg-dark);
        }
        
        /* کارت سفارش */
        .orders-container {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .order-card {
            background: var(--white);
            border-radius: 16px;
            box-shadow: var(--card-shadow);
            overflow: hidden;
            transition: all 0.3s ease;
            border-top: 4px solid var(--primary);
        }
        
        body.dark-mode .order-card {
            background-color: var(--gray-800);
        }
        
        .order-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }
        
        .order-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem;
            background-color: var(--primary-light);
            border-bottom: 1px solid var(--gray-200);
        }
        
        body.dark-mode .order-header {
            background-color: rgba(67, 97, 238, 0.1);
            border-bottom-color: var(--gray-700);
        }
        
        .order-id {
            font-weight: 700;
            color: var(--primary);
            font-size: 1.1rem;
        }
        
        .order-date {
            color: var(--gray-500);
            font-size: 0.9rem;
            margin-top: 0.3rem;
        }
        
        .order-status {
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .status-delivered {
            background-color: var(--success);
            color: white;
        }
        
        .status-processing {
            background-color: var(--info);
            color: white;
        }
        
        .status-shipped {
            background-color: var(--warning);
            color: white;
        }
        
        .status-cancelled {
            background-color: var(--danger);
            color: white;
        }
        
        .order-body {
            padding: 1.5rem;
        }
        
        .order-products {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .order-product {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            border: 1px solid var(--gray-200);
            border-radius: 12px;
            transition: all 0.3s ease;
        }
        
        .order-product:hover {
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        }
        
        body.dark-mode .order-product {
            border-color: var(--gray-700);
        }
        

        body.dark-mode .product-image {
            background-color: var(--gray-700);
        }
        
        .product-info {
            flex: 1;
        }
        
        .product-name {
            font-weight: 600;
            margin-bottom: 0.3rem;
        }
        body.dark-mode .product-name {
            font-weight: 600;
            margin-bottom: 0.3rem;
            color: #e5e7eb;
        }
        
        .product-price {
            color: var(--gray-500);
            font-size: 0.9rem;
        }
        
        .order-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-bottom: 1.5rem;
            padding: 1.5rem;
            background-color: var(--gray-100);
            border-radius: 12px;
        }
        .dark-mode .product-info {
            background:#27374d;
            border-radius: 0.75rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            padding: 1.5rem;
        }
        body.dark-mode .order-details {
            background-color: #121821;
        }
        
        .detail-item {
            display: flex;
            flex-direction: column;
        }
        
        .detail-label {
            font-size: 0.8rem;
            color: var(--gray-500);
            margin-bottom: 0.3rem;
        }
        
        .detail-value {
            font-weight: 600;
        }
        
        .tracking-info {
            background-color: var(--info-light);
            padding: 1.5rem;
            border-radius: 12px;
            margin-top: 1rem;
            border-right: 4px solid var(--info);
        }
        
        body.dark-mode .tracking-info {
            background-color: rgba(59, 130, 246, 0.1);
        }
        
        .tracking-title {
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--info);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .tracking-steps {
            display: flex;
            justify-content: space-between;
            margin-top: 1.5rem;
            position: relative;
        }
        
        .tracking-steps::before {
            content: '';
            position: absolute;
            top: 15px;
            right: 0;
            left: 0;
            height: 2px;
            background-color: var(--gray-300);
            z-index: 1;
        }
        
        .tracking-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            z-index: 2;
            flex: 1;
        }
        
        .step-icon {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--gray-300);
            color: var(--gray-600);
            margin-bottom: 0.5rem;
            transition: all 0.3s ease;
        }
        
        .step-active .step-icon {
            background-color: var(--info);
            color: white;
            box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
        }
        
        .step-completed .step-icon {
            background-color: var(--success);
            color: white;
        }
        
        .step-label {
            font-size: 0.8rem;
            text-align: center;
            color: var(--gray-500);
        }
        
        .step-active .step-label {
            color: var(--info);
            font-weight: 600;
        }
        
        .step-completed .step-label {
            color: var(--success);
        }
        
        .order-actions {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
            padding: 1.5rem;
            border-top: 1px solid var(--gray-200);
            background-color: var(--gray-100);
        }
        
        body.dark-mode .order-actions {
            border-top-color: var(--gray-700);
            background-color: var(--bg-dark);
        }
        
        .btn-secondary {
            background-color: var(--white);
            color: var(--text-primary-light);
            border: 1px solid var(--gray-300);
            padding: 0.6rem 1.2rem;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        body.dark-mode .btn-secondary {
            background-color: var(--gray-600);
            color: var(--text-primary-dark);
            border-color: var(--gray-500);
        }
        
        .btn-secondary:hover {
            background-color: var(--gray-200);
        }
        
        body.dark-mode .btn-secondary:hover {
            background-color: var(--gray-500);
        }
        
        /* پیجینیشن */
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 2rem;
            gap: 0.5rem;
        }
        
        .pagination-item {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            background-color: var(--white);
            color: var(--text-primary-light);
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid var(--gray-300);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }
        
        body.dark-mode .pagination-item {
            background-color: var(--gray-800);
            color: var(--text-primary-dark);
            border-color: var(--gray-700);
        }
        
        .pagination-item:hover, .pagination-item.active {
            background-color: var(--primary);
            color: white;
            border-color: var(--primary);
            box-shadow: 0 4px 8px rgba(67, 97, 238, 0.2);
        }
        
        /* استایل برای حالت موبایل */
        .mobile-menu-btn {
            display: none;
        }
        
        /*
        /* Responsive styles */
        @media (max-width: 1200px) {
            .footer-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 992px) {
            .main-content {
                flex-direction: column;
            }
            
            .profile-sidebar {
                width: 100%;
                position: static;
                margin-bottom: 1.5rem;
            }
            
            .nav-menu {
                position: fixed;
                top: 0;
                right: -300px;
                width: 300px;
                height: 100vh;
                background: var(--white);
                flex-direction: column;
                padding: 2rem;
                transition: right 0.3s ease;
                z-index: 1000;
                box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            }
            
            body.dark-mode .nav-menu {
                background: var(--gray-800);
            }
            
            .nav-menu.active {
                right: 0;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .search-container {
                width: 200px;
            }
            
            .tracking-steps {
                flex-wrap: wrap;
                gap: 1rem;
            }
            
            .tracking-step {
                flex: 0 0 calc(50% - 0.5rem);
            }
        }
        
        @media (max-width: 768px) {
            .footer-container {
                grid-template-columns: 1fr;
            }
            
            .order-details {
                grid-template-columns: 1fr;
            }
            
            .order-actions {
                flex-direction: column;
            }
            
            .filter-options {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }
            
            .search-container {
                display: none;
            }
            
            .tracking-step {
                flex: 0 0 100%;
            }
            
            .page-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }
        }
        
        @media (max-width: 576px) {
            .auth-buttons {
                display: none;
            }
            
            .logo {
                font-size: 1.5rem;
            }
            
            .order-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }
            
            .order-status {
                align-self: flex-start;
            }
        }
        
        /* دکمه تغییر تم */
        .theme-toggle {
            background: none;
            border: none;
            cursor: pointer;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--gray-200);
            color: var(--gray-700);
            transition: all 0.3s ease;
            margin-left: 0.8rem;
        }
        
       
        
        .theme-toggle:hover {
            background-color: var(--primary);
            color: white;
            transform: rotate(30deg);
        }
        
        /* انیمیشن برای تغییر حالت دکمه */
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .theme-toggle.rotating {
            animation: spin 0.5s ease;
        }
        
        /* استایل برای صفحه خالی */
        .empty-state {
            text-align: center;
            padding: 3rem 1rem;
            background: var(--white);
            border-radius: 16px;
            box-shadow: var(--card-shadow);
        }
        
        body.dark-mode .empty-state {
            background-color: var(--gray-800);
        }
        
        .empty-icon {
            font-size: 4rem;
            color: var(--gray-400);
            margin-bottom: 1.5rem;
        }
        
        .empty-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary-light);
        }
        
        body.dark-mode .empty-title {
            color: var(--text-primary-dark);
        }
        
        .empty-text {
            color: var(--gray-500);
            margin-bottom: 2rem;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }



                /* استایل‌های اصلی صفحه بازگشت محصول */
                .main-content {
                    display: flex;
                    margin: 2rem 0;
                    gap: 2rem;
                }

.profile-sidebar {
    flex: 0 0 280px;
    background-color: white;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    height: fit-content;
}
                
                .profile-header {
                    text-align: center;
                    padding-bottom: 1.5rem;
                    border-bottom: 1px solid var(--gray-200);
                    margin-bottom: 1.5rem;
                }
                
                .profile-avatar {
                    position: relative;
                    width: 80px;
                    height: 80px;
                    border-radius: 50%;
                    background-color: var(--gray-200);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    margin: 0 auto 1rem;
                    font-size: 2rem;
                    color: var(--bg-white);
                }
                
                .avatar-edit {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    background-color: var(--primary);
                    color: white;
                    width: 24px;
                    height: 24px;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 0.8rem;
                }
                
       
                .profile-email {
                    color: var(--gray-500);
                    font-size: 0.9rem;
                }
                
                .profile-menu {
                    list-style: none;
                }
                
                .profile-menu-item {
                    margin-bottom: 0.5rem;
                }
                
                .profile-menu-link {
                    display: flex;
                    align-items: center;
                    gap: 0.75rem;
                    padding: 0.75rem 1rem;
                    border-radius: 0.5rem;
                    text-decoration: none;
                    color: var(--text-primary-light);
                    transition: all 0.3s;
                }
                
                .profile-menu-link:hover, .profile-menu-link.active {
                    background-color: var(--primary);
                    color: white;
                }
                
                .content-area {
                    flex: 1;
                }
                
                .page-header {
                    margin-bottom: 2rem;
                }
                
                .page-title {
                    display: flex;
                    align-items: center;
                    gap: 0.75rem;
                    font-size: 1.5rem;
                    color: var(--text-primary-light);
                }
                
                /* استایل‌های صفحه بازگشت محصول */
                .return-steps {
                    display: flex;
                    justify-content: space-between;
                    margin-bottom: 2rem;
                    position: relative;
                }
                
                .return-steps::before {
                    content: '';
                    position: absolute;
                    top: 20px;
                    right: 0;
                    left: 0;
                    height: 2px;
                    background-color: var(--gray-300);
                    z-index: 1;
                }
                
                .return-step {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    position: relative;
                    z-index: 2;
                }
                
                .step-icon {
                    width: 40px;
                    height: 40px;
                    border-radius: 50%;
                    background-color: var(--gray-300);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    margin-bottom: 0.5rem;
                    color: var(--gray-500);
                }
                
                .step-active .step-icon {
                    background-color: var(--primary);
                    color: white;
                }
                
                .step-completed .step-icon {
                    background-color: var(--success);
                    color: white;
                }
                
                .step-label {
                    font-size: 0.85rem;
                    text-align: center;
                }
                
                .return-form-card {
                    background-color: var(--white);
                    border-radius: 1rem;
                    box-shadow: var(--shadow);
                    padding: 2rem;
                    margin-bottom: 2rem;
                }       
                 .dark-mode .return-form-card {
                    background-color: var(--gray-800);
                    color: #f6f6f9;
                    border-radius: 1rem;
                    box-shadow: var(--shadow);
                    padding: 2rem;
                    margin-bottom: 2rem;
                }
                
                .card-header {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-bottom: 1.5rem;
                    padding-bottom: 1rem;
                    border-bottom: 1px solid var(--gray-200);
                }
                
                .card-title {
                    display: flex;
                    align-items: center;
                    gap: 0.75rem;
                    font-size: 1.25rem;
                }
                
                .form-row {
                    display: flex;
                    gap: 1rem;
                    margin-bottom: 1.5rem;
                }
                
                .form-group {
                    flex: 1;
                }
                
           
                
                .form-input, .form-select, .form-textarea {
                    width: 100%;
                    padding: 0.75rem 1rem;
                    border: 1px solid var(--gray-300);
                    border-radius: 0.5rem;
                    font-family: var(--default-font-family);
                    transition: all 0.3s;
                }
                
                .form-input:focus, .form-select:focus, .form-textarea:focus {
                    outline: none;
                    border-color: var(--primary);
                    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
                }
                
                .form-textarea {
                    min-height: 120px;
                    resize: vertical;
                }
                
                .full-width {
                    flex: 1 0 100%;
                }
                
                .product-selection {
                    margin-bottom: 2rem;
                }
                
                .product-item {
                    display: flex;
                    align-items: center;
                    gap: 1rem;
                    padding: 1rem;
                    border: 1px solid var(--gray-300);
                    border-radius: 0.5rem;
                    margin-bottom: 1rem;
                    transition: all 0.3s;
                }
                
                .product-item:hover {
                    border-color: var(--primary);
                }
                
                .product-checkbox {
                    width: 20px;
                    height: 20px;
                }
                
                .product-image {
                    width: 60px;
                    height: 60px;
                    object-fit: cover;
                    border-radius: 0.5rem;
                }
                
                .product-details {
                    flex: 1;
                }
                
                .product-name {
                    font-weight: 500;
                    margin-bottom: 0.25rem;
                }
                
                .product-price {
                    color: var(--gray-500);
                    font-size: 0.9rem;
                }
                
                .return-reason-options {
                    display: grid;
                    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
                    gap: 1rem;
                    margin-bottom: 1.5rem;
                }
                
                .reason-option {
                    position: relative;
                }
                
                .reason-input {
                    position: absolute;
                    opacity: 0;
                }
                
                .reason-label {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    padding: 1.5rem 1rem;
                    border: 2px solid var(--gray-300);
                    border-radius: 0.5rem;
                    cursor: pointer;
                    transition: all 0.3s;
                    text-align: center;
                    height: 100%;
                }
                
                .reason-input:checked + .reason-label {
                    border-color: var(--primary);
                    background-color: rgba(67, 97, 238, 0.05);
                }
                
                .reason-icon {
                    font-size: 1.5rem;
                    margin-bottom: 0.5rem;
                    color: var(--gray-500);
                }
                
                .reason-input:checked + .reason-label .reason-icon {
                    color: var(--primary);
                }
                
                .file-upload {
                    border: 2px dashed var(--gray-300);
                    border-radius: 0.5rem;
                    padding: 2rem;
                    text-align: center;
                    margin-bottom: 1.5rem;
                    transition: all 0.3s;
                    cursor: pointer;
                }
                
                .file-upload:hover {
                    border-color: var(--primary);
                }
                
                .file-upload-icon {
                    font-size: 2rem;
                    color: var(--gray-400);
                    margin-bottom: 1rem;
                }
                
                .file-upload-text {
                    margin-bottom: 1rem;
                }
                
                .file-input {
                    display: none;
                }
                
                .uploaded-files {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 1rem;
                    margin-top: 1rem;
                }
                
                .uploaded-file {
                    display: flex;
                    align-items: center;
                    gap: 0.5rem;
                    background-color: var(--gray-200);
                    padding: 0.5rem 1rem;
                    border-radius: 0.5rem;
                    font-size: 0.9rem;
                }
                
                .remove-file {
                    color: var(--danger);
                    cursor: pointer;
                }
                
                .form-actions {
                    display: flex;
                    justify-content: flex-end;
                    gap: 1rem;
                    margin-top: 2rem;
                }
                
                .return-policy-card {
                    background-color: var(--gray-800);
                    border-radius: 1rem;
                    box-shadow: var(--shadow);
                    padding: 2rem;

                }
                           
            
                
                .policy-list {
                    list-style: none;
                    margin-top: 1rem;
                }
                
                .policy-item {
                    display: flex;
                    align-items: flex-start;
                    gap: 0.75rem;
                    margin-bottom: 1rem;
                }
                
                .policy-icon {
                    color: var(--success);
                    margin-top: 0.25rem;
                }
                
                /* رسپانسیو */
                @media (max-width: 1024px) {
                    .main-content {
                        flex-direction: column;
                    }
                    
                    .profile-sidebar {
                        flex: none;
                        width: 100%;
                    }
                }
                
                @media (max-width: 768px) {
                    .nav-menu {
                        display: none;
                        position: absolute;
                        top: 100%;
                        right: 0;
                        left: 0;
                        background-color: var(--white);
                        flex-direction: column;
                        padding: 1rem;
                        box-shadow: var(--shadow);
                    }
                    
                    .nav-menu.active {
                        display: flex;
                    }
                    
                    .mobile-menu-btn {
                        display: block;
                    }
                    
                    .auth-buttons {
                        display: none;
                    }
                    
                    .form-row {
                        flex-direction: column;
                        gap: 1rem;
                    }
                    
                    .return-steps {
                        flex-wrap: wrap;
                        gap: 1rem;
                    }
                    
                    .return-steps::before {
                        display: none;
                    }
                    
                    .return-step {
                        flex: 1;
                        min-width: 120px;
                    }
                }



























                
                /* کارت‌های آدرس */
                .addresses-container {
                    display: grid;
                    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
                    gap: 1.5rem;
                }
                
                .address-card {
                    background: var(--white);
                    border-radius: 12px;
                    box-shadow: var(--shadow);
                    padding: 1.5rem;
                    transition: all 0.3s ease;
                    border: 2px solid transparent;
                    position: relative;
                    display: flex;
                    flex-direction: column;
                }
                
                body.dark-mode .address-card {
                    background-color: var(--gray-800);
                }
                
                .address-card:hover {
                    transform: translateY(-3px);
                    box-shadow: var(--shadow-hover);
                }
                
                .address-card.default {
                    border-color: var(--primary);
                }
                
                .address-header {
                    display: flex;
                    justify-content: space-between;
                    align-items: flex-start;
                    margin-bottom: 1rem;
                }
                
                .address-title {
                    font-weight: 700;
                    font-size: 1.1rem;
                    display: flex;
                    align-items: center;
                    gap: 0.5rem;
                }
                
                .address-type {
                    background-color: var(--primary);
                    color: white;
                    padding: 0.2rem 0.7rem;
                    border-radius: 20px;
                    font-size: 0.7rem;
                    font-weight: 600;
                }
                
                .address-actions {
                    display: flex;
                    gap: 0.5rem;
                }
                
                .action-btn {
                    background: none;
                    border: none;
                    color: var(--gray-500);
                    cursor: pointer;
                    transition: all 0.3s ease;
                    width: 32px;
                    height: 32px;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }
                
                .action-btn:hover {
                    background-color: var(--gray-200);
                    color: var(--primary);
                }
                
                body.dark-mode .action-btn:hover {
                    background-color: var(--gray-700);
                }
                
                .address-details {
                    flex: 1;
                    margin-bottom: 1.5rem;
                }
                
                .address-line {
                    margin-bottom: 0.5rem;
                    display: flex;
                    align-items: flex-start;
                    gap: 0.5rem;
                }
                
                .address-line i {
                    color: var(--gray-500);
                    margin-top: 0.2rem;
                    flex-shrink: 0;
                }
                
                .address-footer {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-top: auto;
                    padding-top: 1rem;
                    border-top: 1px solid var(--gray-200);
                }
                
                body.dark-mode .address-footer {
                    border-top-color: var(--gray-700);
                }
                
                .default-badge {
                    background-color: var(--success-light);
                    color: var(--success);
                    padding: 0.3rem 0.8rem;
                    border-radius: 20px;
                    font-size: 0.8rem;
                    font-weight: 600;
                    display: flex;
                    align-items: center;
                    gap: 0.3rem;
                }
                
                body.dark-mode .default-badge {
                    background-color: rgba(16, 185, 129, 0.2);
                }
                
                .set-default-btn {
                    background: none;
                    border: 1px solid var(--gray-300);
                    border-radius: 8px;
                    padding: 0.4rem 0.8rem;
                    font-size: 0.8rem;
                    cursor: pointer;
                    transition: all 0.3s ease;
                    color: var(--gray-600);
                }
                
                .set-default-btn:hover {
                    background-color: var(--gray-200);
                    color: var(--primary);
                }
                
                body.dark-mode .set-default-btn {
                    border-color: var(--gray-600);
                    color: var(--gray-400);
                }
                
                body.dark-mode .set-default-btn:hover {
                    background-color: var(--gray-700);
                }
                
                /* کارت افزودن آدرس جدید */
                .add-address-card {
                    background: var(--white);
                    border-radius: 12px;
                    box-shadow: var(--shadow);
                    padding: 1.5rem;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    text-align: center;
                    border: 2px dashed var(--gray-300);
                    cursor: pointer;
                    transition: all 0.3s ease;
                    min-height: 280px;
                }
                
                body.dark-mode .add-address-card {
                    background-color: var(--gray-800);
                    border-color: var(--gray-600);
                }
                
                .add-address-card:hover {
                    border-color: var(--primary);
                    transform: translateY(-3px);
                    box-shadow: var(--shadow-hover);
                }
                
                .add-address-icon {
                    width: 60px;
                    height: 60px;
                    border-radius: 50%;
                    background: var(--primary);
                    color: white;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 1.5rem;
                    margin-bottom: 1rem;
                }
                
                .add-address-text {
                    font-weight: 700;
                    margin-bottom: 0.5rem;
                }
                
                .add-address-desc {
                    color: var(--gray-500);
                    font-size: 0.9rem;
                }
                
                /* مودال افزودن/ویرایش آدرس */
                .modal {
                    display: none;
                    position: fixed;
                    top: 0;
                    right: 0;
                    bottom: 0;
                    left: 0;
                    background-color: rgba(0, 0, 0, 0.5);
                    z-index: 1000;
                    align-items: center;
                    justify-content: center;
                    padding: 1rem;
                }
                
                .modal.active {
                    display: flex;
                }
                
                .modal-content {
                    background: var(--white);
                    border-radius: 12px;
                    width: 100%;
                    max-width: 600px;
                    box-shadow: var(--shadow-hover);
                    overflow: hidden;
                    animation: modalFadeIn 0.3s ease;
                }
                
                body.dark-mode .modal-content {
                    background-color: var(--gray-800);
                }
                
                @keyframes modalFadeIn {
                    from {
                        opacity: 0;
                        transform: translateY(-20px);
                    }
                    to {
                        opacity: 1;
                        transform: translateY(0);
                    }
                }
                
                .modal-header {
                    padding: 1.5rem;
                    border-bottom: 1px solid var(--gray-200);
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                }
                
                body.dark-mode .modal-header {
                    border-bottom-color: var(--gray-700);
                }
                
                .modal-title {
                    font-weight: 700;
                    font-size: 1.2rem;
                    display: flex;
                    align-items: center;
                    gap: 0.5rem;
                }
                
                .modal-close {
                    background: none;
                    border: none;
                    font-size: 1.2rem;
                    color: var(--gray-500);
                    cursor: pointer;
                    width: 32px;
                    height: 32px;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    transition: all 0.3s ease;
                }
                
                .modal-close:hover {
                    background-color: var(--gray-200);
                    color: var(--danger);
                }
                
                body.dark-mode .modal-close:hover {
                    background-color: var(--gray-700);
                }
                
                .modal-body {
                    padding: 1.5rem;
                    max-height: 70vh;
                    overflow-y: auto;
                }
                
                .form-group {
                    margin-bottom: 1.2rem;
                }

                
                .form-control {
                    width: 100%;
                    padding: 0.8rem 1rem;
                    border: 1px solid var(--gray-300);
                    border-radius: 8px;
                    font-family: var(--default-font-family);
                    transition: all 0.3s ease;
                    background-color: var(--white);
                    color: var(--text-primary-light);
                }
                
                body.dark-mode .form-control {
                    background-color: var(--gray-700);
                    border-color: var(--gray-600);
                    color: var(--text-primary-dark);
                }
                
                .form-control:focus {
                    outline: none;
                    border-color: var(--primary);
                    box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
                }
                
                .form-row {
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                    gap: 1rem;
                }
                
                .form-check {
                    display: flex;
                    align-items: center;
                    gap: 0.5rem;
                    margin-top: 1rem;
                }
                
                .form-check-input {
                    width: 18px;
                    height: 18px;
                }
                
                .form-check-label {
                    font-size: 0.9rem;
                }
                
                .modal-footer {
                    padding: 1.5rem;
                    border-top: 1px solid var(--gray-200);
                    display: flex;
                    justify-content: flex-end;
                    gap: 1rem;
                }
                
                body.dark-mode .modal-footer {
                    border-top-color: var(--gray-700);
                }
                