/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #FDF8F8; /* New main background color */
    color: #000000; /* Black text */
    direction: rtl;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, to left,#c6add880 0%, #FDF8F8 100%); /* Updated gradient with new colors */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    color: #000000; /* Black text */
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.menu-toggle {
    color: #000000; /* Black icon */
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.search-bar {
    display: flex;
    width: 50%;
    max-width: 500px;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #000000; /* Black text */
}

.search-btn {
    background: #FFB5CE; /* Shopping cart color */
    color: #000000; /* Black text */
    border: none;
    padding: 12px 20px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #C6ADD8; /* Purple accent */
}

/* Header Icons */
.header-icons {
    display: flex;
    gap: 20px;
}

.icon-link {
    position: relative;
    color: #FFB5CE; /* Shopping cart and wishlist color */
    font-size: 1.5rem;
    text-decoration: none;
}

.icon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FFB5CE; /* Shopping cart and wishlist color */
    color: #000000; /* Black text */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    transition: right 0.3s ease;
    padding: 20px;
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-header h2 {
    color: #FEB7CF;
    font-size: 1.5rem;
}

.close-sidebar {
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-sidebar:hover {
    color: #FEB7CF;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav ul li {
    margin-bottom: 15px;
}

.sidebar-nav ul li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #000000; /* Black text */
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-nav ul li a i {
    margin-left: 10px;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.sidebar-nav ul li a:hover,
.sidebar-nav ul li.active a {
    background: #FDE1E8;
    color: #000000; /* Black text */
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
}

.overlay.active {
    display: block;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #FDE1E8 0%, #C6ADD8 100%);
    padding: 80px 0;
    text-align: center;
    margin-bottom: 50px;
    border-radius: 0 0 30px 30px;
}

.banner-content h2 {
    color: #000000; /* Black text */
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.banner-content p {
    color: #000000; /* Black text */
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: #000000; /* Black button */
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Section Title */
.section-title {
    color: #000000; /* Black text */
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #FEB7CF;
    border-radius: 2px;
}

/* Categories Section - Circular Design */
.categories-section {
    margin-bottom: 50px;
    padding: 20px 0;
}

.categories-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px;
}

.category-card {
    background: white;
    border: 1px solid #c6add869;
    border-radius: 50%; /* Make it circular */
    width: 150px; /* Fixed width for circular shape */
    height: 150px; /* Fixed height for circular shape */
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(198, 173, 216, 0.3);
}

.category-icon {
    font-size: 2.5rem;
    color: #C6ADD8; /* Purple color as requested */
    margin-bottom: 15px;
}

.category-card h3 {
    color: #000000; /* Black text */
    font-weight: 500;
    font-size: 1.1rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    padding: 20px;
    border-radius: 15px;
}

/* Product Card Styles */
.product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card.horizontal {
    display: flex;
    flex-direction: row;
    min-width: 300px;
    margin: 0 10px;
}

.product-card.horizontal .product-image {
    width: 40%;
}

.product-card.horizontal .product-info {
    width: 60%;
    padding: 15px;
}

.product-image {
    position: relative;
    overflow: hidden;
    flex: 0 0 200px; /* Fixed height for images */
    width: 100%;
    /* Add a slight border radius to make images look better */
    border-radius: 15px 15px 0 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain to show full image */
    transition: transform 0.3s ease;
    display: block;
    border-radius: 15px 15px 0 0;
    background-color: #f8f9fa; /* Add background to fill empty space */
}

/* For mobile devices, implement 2 rows with unified horizontal scrolling */
@media (max-width: 768px) {
    .product-image img {
        height: 100%;
        object-fit: contain; /* Changed from cover to contain to show full image */
        display: block;
        border-radius: 10px 10px 0 0;
        background-color: #f8f9fa; /* Add background to fill empty space */
    }
}
.product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    width: 50%;
}
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FFB5CE;
    color: #000000;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.product-badge.new {
    background: #4caf50;
    color: white;
}

.product-badge.sale {
    background: #f44336;
    color: white;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #000000;
    font-weight: 500;
}

.product-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
}

.product-price .old-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 5px;
}

.add-to-cart, .add-to-wishlist {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.add-to-cart {
    background: #000000;
    color: white;
}

.add-to-cart:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.add-to-wishlist {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
}

.add-to-wishlist:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.add-to-wishlist.added {
    background: #fff5f7;
    color: #e91e63;
    border-color: #ffbbef;
}

.add-to-wishlist.added:hover {
    background: #ffe0e6;
}

.add-to-cart:disabled, .add-to-wishlist:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Recently Ordered Products */
.recent-products {
    margin-bottom: 50px;
    background-color: #FDF8F8; /* Main background color */
    padding: 40px 0;
    position: relative;
    z-index: 10;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.recent-products-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: #FFB5CE #FDF8F8;
}

.recent-products-scroll::-webkit-scrollbar {
    height: 8px;
}

.recent-products-scroll::-webkit-scrollbar-track {
    background: #FDF8F8;
    border-radius: 4px;
}

.recent-products-scroll::-webkit-scrollbar-thumb {
    background: #FFB5CE;
    border-radius: 4px;
}

.product-card.horizontal {
    min-width: 300px;
    display: flex;
    flex-direction: row;
    cursor: pointer;
}

.product-card.horizontal .product-image {
    width: 120px;
    height: 120px;
}

.product-card.horizontal .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Best Selling Products */
.best-selling-products {
    margin-bottom: 50px;
    padding: 30px 0;
}

.best-selling-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    padding: 20px;
    border-radius: 15px;
}

/* For larger screens, keep the original grid layout */
@media (min-width: 769px) {
    .best-selling-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .products-container {
        display: contents;
    }
    
    .product-row {
        display: contents;
    }
}

/* Unified product card sizing - ensure all cards have consistent dimensions */
.product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px; /* Fixed minimum height for consistency */
    max-height: 420px; /* Fixed maximum height for consistency */
    width: 100%; /* Ensure full width */
}

.product-image {
    position: relative;
    overflow: hidden;
    flex: 0 0 200px; /* Fixed height for images */
    width: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #000000;
    font-weight: 500;
    flex: 0 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    flex: 0 0 auto;
}

.product-price .old-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 5px;
}

.add-to-cart, .add-to-wishlist {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    flex: 0 0 auto;
}

.add-to-cart {
    background: #000000;
    color: white;
}

.add-to-cart:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.add-to-wishlist {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
}

.add-to-wishlist:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.add-to-wishlist.added {
    background: #fff5f7;
    color: #e91e63;
    border-color: #ffbbef;
}

.add-to-wishlist.added:hover {
    background: #ffe0e6;
}

.add-to-cart:disabled, .add-to-wishlist:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* For mobile devices, implement 2 rows with unified horizontal scrolling */
@media (max-width: 768px) {
    .best-selling-grid {
        padding: 20px 0;
    }
    
    .products-container {
        display: flex;
        overflow-x: auto;
        flex-direction: column;
        gap: 15px;
        padding: 10px 15px;
        scrollbar-width: thin;
        scrollbar-color: #FFB5CE #FDF8F8;
    }
    
    .products-container::-webkit-scrollbar {
        height: 8px;
    }
    
    .products-container::-webkit-scrollbar-track {
        background: #FDF8F8;
        border-radius: 4px;
    }
    
    .products-container::-webkit-scrollbar-thumb {
        background: #FFB5CE;
        border-radius: 4px;
    }
    
    .product-row {
        display: flex;
        gap: 15px;
        padding: 10px 0;
        min-width: fit-content;
    }
    
    .product-card {
        min-width: 140px; /* Reduced width */
        flex-shrink: 0;
        height: 50%;
        min-height: 320px; /* Increased height */
        max-height: 320px; /* Increased height */
    }
    
    /* Reduce image size for mobile */
    .product-image {
        flex: 0 0 160px; /* Increased image height for taller card */
        border-radius: 10px 10px 0 0;
    }
    
    .product-image img {
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 10px 10px 0 0;
    }
    
    /* Adjust text sizes for mobile */
    .product-info h3 {
        font-size: 0.85rem;
    }
    
    .product-info p {
        font-size: 0.75rem;
    }
    
    .product-price {
        font-size: 0.9rem;
    }
    
    .add-to-cart, .add-to-wishlist {
        padding: 5px;
        font-size: 0.75rem;
    }
}

/* Latest Products */
.latest-products {
    margin-bottom: 50px;
    padding: 30px 0;
}

/* For mobile devices, implement 2 rows with unified horizontal scrolling */
@media (max-width: 768px) {
    .latest-products .products-grid {
        padding: 20px 0;
    }
    
    .latest-products .products-container {
        display: flex;
        overflow-x: auto;
        flex-direction: column;
        gap: 15px;
        padding: 10px 15px;
        scrollbar-width: thin;
        scrollbar-color: #FFB5CE #FDF8F8;
    }
    
    .latest-products .products-container::-webkit-scrollbar {
        height: 8px;
    }
    
    .latest-products .products-container::-webkit-scrollbar-track {
        background: #FDF8F8;
        border-radius: 4px;
    }
    
    .latest-products .products-container::-webkit-scrollbar-thumb {
        background: #FFB5CE;
        border-radius: 4px;
    }
    
    .latest-products .product-row {
        display: flex;
        gap: 15px;
        padding: 10px 0;
        min-width: fit-content;
    }
    
    .latest-products .product-card {
        min-width: 140px; /* Reduced width */
        flex-shrink: 0;
        height: 100%;
        min-height: 320px; /* Increased height */
        max-height: 320px; /* Increased height */
    }
    
    /* Reduce image size for mobile */
    .latest-products .product-image {
        flex: 0 0 160px; /* Increased image height for taller card */
    }
    
    .latest-products .product-image img {
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    /* Adjust text sizes for mobile */
    .latest-products .product-info h3 {
        font-size: 0.85rem;
    }
    
    .latest-products .product-info p {
        font-size: 0.75rem;
    }
    
    .latest-products .product-price {
        font-size: 0.9rem;
    }
    
    .latest-products .add-to-cart, .latest-products .add-to-wishlist {
        padding: 5px;
        font-size: 0.75rem;
    }
}

/* Footer */
.footer {
    background: #000000; /* Black background */
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Product Detail Page Styles */
.product-detail-section {
    margin: 30px 0;
    background-color: #FDE1E8; /* Light pink */
    padding: 20px;
    border-radius: 15px;
}

/* Product Images */
.product-images {
    flex: 1;
}

.main-image {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    display: block;
}

.thumbnail-images {
    display: flex;
    gap: 15px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #FEB7CF;
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info Detail */
.product-info-detail {
    flex: 1;
}

.product-info-detail h1 {
    color: #000000; /* Black text */
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.product-rating {
    margin-bottom: 20px;
}

.rating-stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-left: 10px;
}

.rating-value {
    color: #000000; /* Black text */
    font-weight: 500;
}

/* Product Description */
.product-description {
    margin: 25px 0;
    padding: 20px;
    background: #FCFCF2; /* Off-white */
    border-radius: 15px;
}

.product-description h3 {
    color: #000000; /* Black text */
    margin-bottom: 15px;
}

.product-description p {
    color: #000000; /* Black text */
    line-height: 1.8;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.quantity-selector label {
    color: #000000; /* Black text */
    margin-left: 15px;
    font-weight: 500;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background: #FDE1E8; /* Light pink */
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #FEB7CF;
}

.quantity-value {
    margin: 0 15px;
    font-size: 1.2rem;
    font-weight: 500;
    min-width: 30px;
    text-align: center;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.buy-now {
    flex: 2;
    background: #000000; /* Black button */
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.buy-now:hover {
    background: #333;
    transform: translateY(-3px);
}

.add-to-cart-detail {
    flex: 1;
    background: #C6ADD8; /* Purple color as requested */
    color: #000000; /* Black text */
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.add-to-cart-detail:hover {
    background: #FFB5CE; /* Light pink */
    transform: translateY(-3px);
}

/* Product Reviews */
.product-reviews {
    margin: 40px 0;
}

.review-form {
    background: #FCFCF2; /* Off-white */
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.review-form h3 {
    color: #000000; /* Black text */
    margin-bottom: 20px;
}

.review-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    margin-bottom: 20px;
    resize: vertical;
    min-height: 120px;
    outline: none;
    color: #000000; /* Black text */
}

.review-form textarea:focus {
    border-color: #FEB7CF;

}

.rating-input {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.rating-input label {
    color: #000000; /* Black text */
    margin-left: 15px;
    font-weight: 500;
}

.star-rating {
    display: flex;
    gap: 5px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 1.8rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #FFD700;
}

.submit-review {
    background: #000000; /* Black button */
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-review:hover {
    background: #333;
}

/* Existing Reviews */
.existing-reviews {
    background: #FCFCF2; /* Off-white */
    padding: 25px;
    border-radius: 15px;
}

.existing-reviews h3 {
    color: #000000; /* Black text */
    margin-bottom: 20px;
}

.review {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.review:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.reviewer-name {
    color: #000000; /* Black text */
    font-weight: 500;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

.review-rating {
    color: #FFD700;
    margin-bottom: 10px;
}

.review-content {
    color: #000000; /* Black text */
    line-height: 1.6;
}

/* Helpful Review Buttons */
.helpful-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.helpful-btn, .not-helpful-btn {
    background: #FDE1E8; /* Light pink */
    color: #000000; /* Black text */
    border: 1px solid #FDE1E8;
    padding: 8px 15px;
    border-radius: 20px;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.helpful-btn:hover,
.helpful-btn.active {
    background: #02BF61;
    border-color: #02BF61;
    color: white;
}

.not-helpful-btn:hover,
.not-helpful-btn.active {
    background: #f44336;
    border-color: #f44336;
    color: white;
}

/* Category Page Styles */
.category-header {
    background: #FCFCF2; /* Off-white */
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Scroll Navigation Arrows */
.scroll-arrows {
    display: none; /* Hidden by default on larger screens */
}

.scroll-btn {
    background: #FEB7CF; /* Light pink */
    color: #000000; /* Black text */
    border: none;
    width: 40px; /* Smaller size */
    height: 40px; /* Smaller size */
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem; /* Smaller font */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    pointer-events: auto;
}

.scroll-btn:hover {
    background: #FDE1E8; /* Lighter pink */
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.scroll-btn:active {
    transform: scale(0.95);
}

/* Add glow effect on hover */
.scroll-btn:hover::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: rgba(254, 183, 207, 0.3);
    z-index: -1;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Make arrows more visible on light backgrounds */
.scroll-btn::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    box-sizing: border-box;
}

.category-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.category-icon {
    font-size: 4rem;
    color: #C6ADD8; /* Purple color as requested */
    background: #FCFCF2;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-details h1 {
    color: #000000; /* Black text */
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.category-details p {
    color: #000000; /* Black text */
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 600px;
}

.category-stats {
    display: flex;
    gap: 20px;
}

.category-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000000; /* Black text */
}

.category-stats span i {
    color: #FEB7CF;
}

/* Filters Section */
.filters-section {
    margin-bottom: 40px;
    background-color: #FDE1E8; /* Light pink */
    padding: 20px;
    border-radius: 15px;
}

.filters-container {
    background: #FCFCF2; /* Off-white */
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 180px;
}

.filter-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #000000; /* Black text */
}

.filter-group select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    background: white;
    outline: none;
    transition: border 0.3s ease;
    color: #000000; /* Black text */
}

.filter-group select:focus {
    border-color: #FEB7CF;
}

.filter-btn {
    background: #C6ADD8; /* Purple color as requested */
    color: #000000; /* Black text */
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}

.filter-btn:hover {
    background: #FFB5CE; /* Light pink */
    transform: translateY(-3px);
}

/* Category Products */
.category-products {
    margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 15px 10px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .search-bar {
        width: 40%;
    }

    .hero-banner {
        padding: 50px 0;
    }

    .banner-content h2 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .categories-grid {
        gap: 20px;
    }

    .category-card {
        width: 120px;
        height: 120px;
        padding: 15px;
    }

    .category-icon {
        font-size: 2rem;
    }

    .category-card h3 {
        font-size: 0.9rem;
    }

    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        min-width: auto;
    }

    .filter-btn {
        margin-right: 0;
        align-self: flex-start;
    }

    .category-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .category-stats {
        justify-content: center;
    }

    .category-page .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .category-page .products-grid .product-card {
        max-width: 100%;
    }

    .product-card.horizontal .product-image {
        width: 100px;
        height: 100px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .buy-now,
    .add-to-cart-detail {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .search-bar {
        width: 100%;
        order: 3;
        margin-top: 15px;
    }

    .hero-banner {
        padding: 30px 0;
        border-radius: 0 0 20px 20px;
    }

    .banner-content h2 {
        font-size: 1.5rem;
    }

    .categories-grid {
        gap: 15px;
    }

    .category-card {
        width: 100px;
        height: 100px;
        padding: 10px;
    }

    .category-icon {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .category-card h3 {
        font-size: 0.8rem;
    }

    .product-card.horizontal {
        min-width: 250px;
    }

    .product-card.horizontal .product-image {
        width: 80px;
        height: 80px;
    }

    .review-form,
    .existing-reviews {
        padding: 15px;
    }
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: #FDE1E8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #FFB5CE;
}

.stat-info h3 {
    color: #000000;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.stat-info p {
    color: #FFB5CE;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Recent Orders */
.recent-orders {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.recent-orders h3 {
    color: #000000;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

/* Management Tables */
.management-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.management-table thead {
    background: #FDE1E8;
}

.management-table th {
    padding: 15px;
    text-align: right;
    color: #000000;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

.management-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #000000;
}

.management-table tr:last-child td {
    border-bottom: none;
}

.management-table tr:hover {
    background: #FCFCF2;
}

.product-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

/* Action Buttons */
.action-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 2px;
}

.view-btn {
    background: #C6ADD8;
    color: #000000;
}

.view-btn:hover {
    background: #FFB5CE;
}

.edit-btn {
    background: #FDE1E8;
    color: #000000;
}

.edit-btn:hover {
    background: #FEB7CF;
}

.delete-btn {
    background: #f44336;
    color: white;
}

.delete-btn:hover {
    background: #d32f2f;
}

.ban-btn {
    background: #ff9800;
    color: white;
}

.ban-btn:hover {
    background: #f57c00;
}

.unban-btn {
    background: #4caf50;
    color: white;
}

.unban-btn:hover {
    background: #388e3c;
}

/* Status Indicators */
.status-active, .status-prepared {
    color: #4caf50;
    font-weight: 500;
}

.status-banned, .status-pending {
    color: #ff9800;
    font-weight: 500;
}

.status-delivered {
    color: #2196f3;
    font-weight: 500;
}

/* Admin Actions */
.admin-actions {
    margin-bottom: 30px;
    text-align: left;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #000000;
    margin: 0;
}

.close-modal {
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #f44336;
}

.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #000000;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    outline: none;
    color: #000000;
    transition: border 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #FEB7CF;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}

.cancel-btn {
    background: #f5f5f5;
    color: #000000;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: #e0e0e0;
}

/* Order Modal */
.order-modal .modal-content {
    max-width: 800px;
}

.order-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-info h4 {
    color: #000000;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.info-row .label {
    font-weight: 500;
    color: #000000;
}

.order-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* Star Rating */
.star-filled {
    color: #FFD700;
}

.star-empty {
    color: #ddd;
}

/* Responsive Design for Admin */
@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .management-table {
        font-size: 0.9rem;
    }
    
    .management-table th,
    .management-table td {
        padding: 10px 8px;
    }
    
    .action-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* Add these styles at the end of the file */

/* User Profile */
.user-profile {
    margin-bottom: 40px;
}

.profile-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: #FDE1E8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #FFB5CE;
}

.profile-info h3 {
    color: #000000;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.profile-info p {
    color: #666;
    margin-bottom: 10px;
}

.user-role {
    background: #FDE1E8;
    color: #000000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.profile-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFB5CE;
}

.stat-label {
    color: #000000;
    font-size: 1rem;
}

/* Track Order Section */
.track-order-section {
    margin-bottom: 40px;
}

.track-order-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.track-order-card h3 {
    color: #000000;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.track-form {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.track-form .form-group {
    flex: 1;
    margin: 0;
}

/* Tracking Modal */
.tracking-info {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.tracking-info .info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.tracking-info .label {
    font-weight: 500;
    color: #000000;
}

/* Tracking Steps */
.tracking-steps {
    margin-bottom: 30px;
}

.tracking-steps h4 {
    color: #000000;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.step.completed {
    background: #e8f5e9;
}

.step.active {
    background: #fff3e0;
    border: 1px solid #ff9800;
}

.step:not(.completed):not(.active) {
    background: #f5f5f5;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: #FDE1E8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #FFB5CE;
}

.step.completed .step-icon {
    background: #4caf50;
    color: white;
}

.step.active .step-icon {
    background: #ff9800;
    color: white;
}

.step-info h5 {
    color: #000000;
    margin-bottom: 5px;
}

.step-info p {
    color: #666;
    margin: 0;
}

/* Order Items */
.order-items {
    margin-top: 20px;
}

.order-items h4 {
    color: #000000;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.item-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #FCFCF2;
    border-radius: 10px;
    align-items: center;
}

.item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.item-details {
    flex: 1;
}

.item-details h5 {
    color: #000000;
    margin-bottom: 5px;
}

.item-details p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.item-price {
    color: #FFB5CE;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Wishlist Items */
.wishlist-items {
    margin-bottom: 40px;
}

.empty-wishlist-message, .empty-cart-message {
    text-align: center;
    padding: 50px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.empty-wishlist-message h2, .empty-cart-message h2 {
    color: #000000;
    margin-bottom: 15px;
}

.empty-wishlist-message p, .empty-cart-message p {
    color: #666;
    margin-bottom: 20px;
}

.remove-from-wishlist {
    background: #f44336;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.remove-from-wishlist:hover {
    background: #d32f2f;
}

/* Reviews Management */
.reviews-management {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Review Status */
.status-pending {
    color: #ff9800;
    font-weight: 500;
}

.status-active {
    color: #4caf50;
    font-weight: 500;
}

/* Responsive Design for Client Panel */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .track-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .step {
        flex-direction: column;
    }
    
    .item {
        flex-direction: column;
        text-align: center;
    }
    
    .item-price {
        align-self: flex-end;
    }
}

/* Cart Container - Flex Row Layout */
.cart-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 30px;
}

.cart-items {
    flex: 1;
}

.cart-summary {
    flex: 0 0 300px;
}

/* Checkout Container - Flex Row Layout */
.checkout-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 30px;
}

.order-summary {
    flex: 0 0 300px;
}

.checkout-form {
    flex: 1;
}

/* Payment Container - Flex Row Layout */
.payment-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 30px;
}

.payment-options {
    flex: 1;
}

.order-summary {
    flex: 0 0 300px;
}

/* Responsive Design for Flex Layout */
@media (max-width: 768px) {
    .cart-container,
    .checkout-container,
    .payment-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .cart-summary,
    .order-summary,
    .payment-options {
        flex: none;
    }
}

/* Cart Summary Items */
.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item span:first-child {
    color: #666;
    font-weight: 400;
}

.summary-item span:last-child {
    color: #000000;
    font-weight: 500;
}

.summary-item.total {
    border-top: 2px solid #eee;
    margin-top: 10px;
    padding-top: 20px;
    font-size: 1.2rem;
    font-weight: 700;
}

.summary-item.total span:last-child {
    color: #FFB5CE;
    font-size: 1.3rem;
}

/* Cart Summary Card */
.summary-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.summary-card h3 {
    color: #000000;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.subtotal, .total-price {
    font-weight: 700;
}

.subtotal {
    color: #000000;
}

.total-price {
    color: #FFB5CE;
}

.checkout-btn {
    margin-top: 20px;
}

/* Order Status Styles */
.status-pending {
    color: #ff9800;
    font-weight: 500;
}

.status-processing {
    color: #2196f3;
    font-weight: 500;
}

.status-delivered {
    color: #4caf50;
    font-weight: 500;
}

/* Order Tracking Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #eee;
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: #999;
    font-size: 18px;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 14px;
    color: #666;
}

.step.active .step-icon {
    background: #FFB5CE;
    color: white;
    box-shadow: 0 0 0 3px rgba(255, 181, 206, 0.3);
}

.step.active .step-label {
    color: #000000;
    font-weight: 500;
}

.step.completed .step-icon {
    background: #4caf50;
    color: white;
}

.step.completed .step-label {
    color: #4caf50;
    font-weight: 500;
}

/* Tracking Container */
.tracking-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.tracking-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tracking-form {
    margin: 30px 0;
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.tracking-form .input-group {
    flex: 1;
}

.tracking-form .input-group label {
    display: block;
    margin-bottom: 8px;
    color: #000000;
    font-weight: 500;
}

.tracking-form .input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.tracking-form .input-group input:focus {
    outline: none;
    border-color: #FFB5CE;
}

.tracking-results {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.order-info {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .label {
    color: #666;
    font-weight: 400;
}

.info-item .value {
    color: #000000;
    font-weight: 500;
}

.order-items .order-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.order-items .order-item:last-child {
    border-bottom: none;
}

.order-items .item-details h5 {
    margin: 0 0 5px 0;
    color: #000000;
}

.order-items .item-details p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.order-items .item-price {
    color: #000000;
    font-weight: 500;
    align-self: center;
}

/* Responsive Design for Tracking */
@media (max-width: 768px) {
    .tracking-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .info-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .order-items .order-item {
        flex-direction: column;
        gap: 10px;
    }
}

/* Authentication Forms */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 20px 0;
}

.auth-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 500px;
    margin: 20px 0;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.auth-form .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: #C6ADD8;
    box-shadow: 0 0 0 2px rgba(198, 173, 216, 0.2);
}

.auth-form .form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.85rem;
}

.auth-form .cta-button {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 500;
}

.auth-form .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.auth-link {
    color: #C6ADD8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #000000;
    text-decoration: underline;
}

.full-width {
    width: 100%;
}

.text-center {
    text-align: center;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        padding: 20px;
        margin: 10px;
    }
    
    .auth-container {
        min-height: auto;
        padding: 10px 0;
    }
}
