/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 13px;
    background: #ffffff;
    color: #6b7280;
}

.location, .auth, .order-tracking {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 400;
}

.location .icon, .auth .icon, .order-tracking .icon {
    font-size: 14px;
    color: #9ca3af;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    direction: rtl;
}

.logo-img {
    height: 45px;
    width: auto;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
    position: relative;
    display: flex;
}

.search-bar input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 1px solid #d1d5db;
    border-radius: 24px;
    font-size: 14px;
    outline: none;
    direction: ltr;
    text-align: left;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-bar input::placeholder {
    color: #9ca3af;
    font-size: 14px;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #3b82f6;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #2563eb;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-icon {
    font-size: 20px;
    cursor: pointer;
    color: #6b7280;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cart-icon:hover {
    color: #374151;
    background: rgba(0,0,0,0.05);
}

/* Navigation */
.main-nav {
    background: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333333;
    font-weight: 400;
    font-size: 16px;
    padding: 0;
    transition: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover {
    color: #333333;
}

/* Red color for تخفيضات only */
.nav-menu li:first-child .nav-link {
    color: #ef4444;
}

/* Simple dropdown arrows */
.nav-link::after {
    content: '▼';
    font-size: 8px;
    color: #999999;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #333333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hide hamburger button when menu is active */
.mobile-menu-btn.active {
    display: none;
}

/* Hide mobile menu header on desktop */
.mobile-menu-header {
    display: none;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Hero Section */
.hero {
    padding: 0;
    background: transparent;
}

.hero-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-banner-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* Category Navigation */
.category-nav {
    padding: 60px 0;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
}

.section-title-image {
    text-align: center;
    margin-bottom: 40px;
}

.most-order-title {
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 20px;
}

.category-item:hover {
    transform: translateY(-8px);
}

.category-item:hover .category-icon {
    transform: scale(1.05);
}

.category-item:hover .category-icon img {
    filter: drop-shadow(0 8px 25px rgba(255, 165, 0, 0.4));
}

.category-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-name {
    font-weight: 600;
    color: #333;
    font-size: 16px;
    text-align: center;
    margin-top: 10px;
}

/* Age Categories */
.age-categories {
    padding: 60px 0;
    background: #f8f9fa;
}

.age-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.age-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.age-card:hover {
    transform: translateY(-5px);
}

.age-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.age-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* Most Requested Section */
.most-requested {
    padding: 60px 0;
    background: #fff5e6;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-placeholder {
    width: 100%;
    height: 120px;
    background: #f0f0f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 15px;
}

.product-name {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

/* Promotional Banner */
.promo-banner {
    padding: 0;
    background: transparent;
}

.promo-banner-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.free-shipping-banner-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* Sale Section */
.sale-section {
    padding: 60px 0;
    background: #fff5e6;
}

.sale-products {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.sale-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s;
}

.sale-card:hover {
    transform: translateY(-5px);
}

.sale-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4444;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.sale-card .product-placeholder {
    height: 200px;
    margin: 0;
    border-radius: 0;
}

.product-info {
    padding: 15px;
    text-align: right;
}

.brand {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.product-title {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    margin-bottom: 10px;
}

.price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sale-price {
    color: #ff4444;
    font-weight: 600;
    font-size: 14px;
}

.original-price {
    color: #999;
    font-size: 12px;
    text-decoration: line-through;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background: #4285f4;
    color: white;
    border-color: #4285f4;
}

/* Footer */
.footer {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    position: relative;
}

.footer-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.footer-background-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

.footer-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding: 60px 80px 40px;
    color: white;
    z-index: 2;
}

.newsletter-section h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.newsletter-section p {
    margin-bottom: 20px;
    opacity: 0.9;
    color: white;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    background: white;
}

.sign-up-btn {
    background: #1e3a8a;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
}

.terms-text {
    font-size: 12px;
    opacity: 0.7;
    color: white;
}

.terms-text a {
    color: white;
    text-decoration: underline;
}

.footer-column h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: white;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-column a:hover {
    opacity: 1;
}

.social-media {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    justify-content: flex-end;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: background 0.3s;
}

.social-icon:hover {
    background: rgba(255,255,255,0.3);
}

.footer-bottom {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .age-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .sale-products {
        grid-template-columns: repeat(3, 1fr);
    }
}

    @media (max-width: 768px) {
        .main-banner-img {
            width: 100%;
        }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .free-shipping-banner-img {
        width: 100%;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .age-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sale-products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-background-img {
        width: 100%;
        height: 400px !important;
        object-fit: cover;
        object-position: center;
        display: block;
        margin: 0;
        padding: 0;
        vertical-align: top;
    }
    
    .footer {
        min-height: 400px;
        margin: 0;
        padding: 0;
        overflow: hidden;
        position: relative;
    }
    
    .footer-wrapper {
        min-height: 400px;
        position: relative;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }
    
    .footer-wrapper {
        min-height: 400px;
        position: relative;
    }
    
    .footer-content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 30px 20px;
        color: white;
        z-index: 2;
        min-height: 400px;
        justify-content: flex-start;
        align-items: center;
    }
    
    .newsletter-section {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .newsletter-section h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .newsletter-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin: 20px 0;
    }
    
    .newsletter-form input {
        padding: 12px;
        border-radius: 8px;
        border: none;
        font-size: 1rem;
    }
    
    .sign-up-btn {
        padding: 12px 24px;
        background: #ffa500;
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
    }
    
    .footer-links {
        text-align: center;
        margin: 20px 0;
        display: block;
    }
    
    .footer-column {
        margin-bottom: 20px;
    }
    
    .footer-column h4 {
        color: white;
        font-size: 1.2rem;
        margin-bottom: 15px;
        font-weight: 600;
    }
    
    .footer-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-column li {
        margin-bottom: 8px;
    }
    
    .footer-column a {
        color: white;
        text-decoration: none;
        opacity: 0.9;
        font-size: 1rem;
        display: block;
        padding: 5px 0;
    }
    
    .footer-column a:hover {
        opacity: 1;
        color: #ffa500;
    }
    
    .social-media {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin: 20px 0;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        font-weight: bold;
    }
    
    .footer-bottom {
        text-align: center;
        margin-top: auto;
        padding-top: 20px;
    }
    
    /* Hide the main navigation bar on mobile */
    .main-nav {
        position: relative;
    }
    
    /* Show mobile menu button in header */
    .mobile-menu-btn {
        display: flex;
        order: -1;
        margin-left: 0;
        margin-right: 15px;
    }
    
    /* Mobile hamburger menu - full screen overlay */
    .main-nav .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        padding: 0;
        z-index: 1000;
        overflow-y: auto;
        list-style: none;
        margin: 0;
    }
    
    /* Mobile menu header */
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 2px solid #f0f0f0;
        background: #ffa500;
        list-style: none;
    }
    
    .mobile-menu-logo {
        display: flex;
        align-items: center;
        flex: 1;
    }
    
    .mobile-menu-logo img {
        height: 40px;
        width: auto;
        max-width: 120px;
        display: block;
    }
    
    .mobile-close-btn {
        background: none;
        border: none;
        font-size: 24px;
        color: white;
        cursor: pointer;
        padding: 5px;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background 0.3s ease;
    }
    
    .mobile-close-btn:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    
    /* Show mobile menu when active */
    .main-nav .nav-menu.mobile-active {
        display: flex;
    }
    
    .mobile-menu-header {
        display: flex;
    }
    
    .nav-item {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-item:first-of-type {
        margin-top: 20px;
    }
    
    .nav-link {
        display: block;
        padding: 20px 25px;
        font-size: 18px;
        color: #333333;
        text-decoration: none;
        transition: all 0.3s ease;
        text-align: right;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: #fff5e6;
        border-right-color: #ffa500;
        color: #ffa500;
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* Make header more compact on mobile */
    .header {
        padding: 10px 0;
    }
    
    .top-bar {
        padding: 8px 0;
    }
    
    .main-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        padding: 15px 0;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    .logo-img {
        height: 40px;
        width: auto;
    }
    
    .search-bar {
        flex: 1;
        margin: 0;
        max-width: none;
    }
    
    .header-actions {
        flex-shrink: 0;
    }
}

    @media (max-width: 480px) {
        .category-grid {
            grid-template-columns: 1fr;
        }
        
        .age-grid {
            grid-template-columns: 1fr;
        }
        
        .products-grid {
            grid-template-columns: 1fr;
        }
        
        .sale-products {
            grid-template-columns: 1fr;
        }
        
        .banner-title {
            font-size: 2rem;
        }
    }

/* Authentication Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.4s ease;
    direction: rtl;
    position: relative;
    max-height: 95vh;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: white;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    flex: 1;
}

.close {
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-body {
    padding: 25px;
    max-height: calc(95vh - 80px);
    overflow-y: auto;
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #2d3748;
    font-size: 13px;
    text-align: right;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    background: #fafafa;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #ffa500;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.1);
    transform: translateY(-1px);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    color: #4a5568;
    gap: 6px;
}

.checkbox-container input {
    width: auto;
    margin: 0;
    accent-color: #ffa500;
}

.forgot-password {
    color: #ffa500;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
    font-weight: 500;
}

.forgot-password:hover {
    color: #ff8c00;
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    text-transform: none;
    letter-spacing: 0.5px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
    background: linear-gradient(135deg, #ff8c00, #ffa500);
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    background: white;
    padding: 0 12px;
    color: #718096;
    font-size: 13px;
    font-weight: 500;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.social-btn:hover {
    border-color: #cbd5e0;
    background: #f7fafc;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.google-btn {
    color: #4285f4;
}

.facebook-btn {
    color: #1877f2;
}

.social-icon {
    font-size: 18px;
}

.auth-switch {
    text-align: center;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.auth-switch p {
    margin: 0;
    color: #4a5568;
    font-size: 13px;
}

.auth-switch a {
    color: #ffa500;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.auth-switch a:hover {
    color: #ff8c00;
    text-decoration: underline;
}

/* Make auth clickable */
.auth {
    cursor: pointer;
    transition: opacity 0.3s;
}

.auth:hover {
    opacity: 0.8;
}

/* Responsive Design for Modals */
@media (max-width: 768px) {
    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-width: none;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-header {
        padding: 18px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .social-login {
        gap: 10px;
    }
}
