/* Products Page Specific Styles */

/* Cart Icon in Navigation */
.cart-icon-wrapper {
    position: relative;
    margin-right: 1rem;
}

.cart-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    min-width: 20px;
}

/* Notification Animation */
@keyframes cartNotification {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.cart-count.animate {
    animation: cartNotification 0.3s ease-out;
}

/* Products Hero Section */
.products-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 40%, #ff6b35 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.products-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.products-hero h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.products-hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb i {
    font-size: 0.8rem;
}

/* Products Content Layout */
.products-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.products-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar Styles */
.products-sidebar {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.filter-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-section h3 i {
    color: #ff6b35;
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search-box i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #5a6c7d;
}

/* Filter Options */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.filter-option:hover {
    background-color: #f8f9fa;
}

.filter-option input[type="checkbox"] {
    display: none;
}

.filter-option .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.filter-option input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-color: #ff6b35;
}

.filter-option input[type="checkbox"]:checked + .checkmark:after {
    content: '✓';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.filter-option .count {
    margin-left: auto;
    color: #5a6c7d;
    font-size: 0.85rem;
}

/* Price Range */
.price-range {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-inputs input {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.9rem;
}

.price-inputs input:focus {
    outline: none;
    border-color: #ff6b35;
}

.price-inputs span {
    color: #5a6c7d;
    font-weight: 500;
}

.price-suggestions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-tag {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.price-tag:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border-color: #ff6b35;
}

/* Sort Dropdown */
#sortProducts {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

#sortProducts:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Clear Filters Button */
.clear-filters {
    width: 100%;
    justify-content: center;
}

/* Products Main */
.products-main {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.products-info h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.products-info p {
    color: #5a6c7d;
    font-size: 0.95rem;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #5a6c7d;
}

.view-btn:hover,
.view-btn.active {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-color: #ff6b35;
    color: white;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.products-grid.list-view {
    grid-template-columns: 1fr;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
}

.products-grid.list-view .product-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
}

.products-grid.list-view .product-image {
    width: 120px;
    height: 120px;
    margin-right: 2rem;
    flex-shrink: 0;
}

.products-grid.list-view .product-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.products-grid.list-view .product-details {
    flex: 1;
}

.products-grid.list-view .product-actions {
    margin-left: 2rem;
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #38ef7d 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.1) 2px,
        rgba(255,255,255,0.1) 4px
    );
    animation: scan 3s linear infinite;
}

.product-content {
    padding: 1.5rem;
}

.product-category {
    color: #ff6b35;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-content h3 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    line-height: 1.3;
}

.product-content p {
    color: #5a6c7d;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff6b35;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
}

.product-actions .btn-primary {
    flex: 1;
    padding: 10px 16px;
    font-size: 0.9rem;
}

.product-actions .btn-secondary {
    padding: 10px 12px;
    font-size: 0.9rem;
}

/* Product Detail Modal */
.product-modal {
    max-width: 900px;
    width: 90%;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    padding: 2rem;
}

.product-detail-image {
    position: relative;
}

.product-detail-image .product-icon {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #38ef7d 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: white;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
    animation: float 6s ease-in-out infinite;
    margin-bottom: 1rem;
}

.product-badges {
    display: flex;
    gap: 0.5rem;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.new {
    background: linear-gradient(135deg, #38ef7d 0%, #11998e 100%);
    color: white;
}

.badge.popular {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
}

.product-detail-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-detail-content .product-category {
    font-size: 1rem;
}

.product-detail-content h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    line-height: 1.2;
    margin: 0;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.rating-text {
    color: #5a6c7d;
    font-size: 0.9rem;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c3e50;
}

.product-features h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.product-features ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #2c3e50;
    font-size: 1rem;
}

.product-features li i {
    color: #38ef7d;
    font-size: 0.9rem;
}

.product-price-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-top: auto;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-info .old-price {
    font-size: 1.2rem;
}

.price-info .current-price {
    font-size: 2rem;
}

.discount {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.product-actions .btn-primary.large,
.product-actions .btn-secondary.large {
    flex: 1;
    padding: 16px 24px;
    font-size: 1.1rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.page-btn {
    background: white;
    border: 2px solid #e9ecef;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #5a6c7d;
}

.page-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-color: #ff6b35;
    color: white;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-number {
    width: 40px;
    height: 40px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #5a6c7d;
}

.page-number:hover,
.page-number.active {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-color: #ff6b35;
    color: white;
}

/* Dark Mode Styles */
body.dark-mode .products-hero {
    background: linear-gradient(135deg, #2d1b69 0%, #11998e 40%, #1a1a2e 100%);
}

body.dark-mode .products-content {
    background: #16213e;
}

body.dark-mode .products-sidebar,
body.dark-mode .products-main {
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.1);
}

body.dark-mode .filter-section {
    border-bottom-color: rgba(255,255,255,0.1);
}

body.dark-mode .filter-section h3,
body.dark-mode .products-info h2,
body.dark-mode .product-content h3,
body.dark-mode .product-detail-content h2 {
    color: #e0e0e0;
}

body.dark-mode .search-box input,
body.dark-mode .price-inputs input,
body.dark-mode #sortProducts {
    background: #2d1b69;
    border-color: rgba(255,255,255,0.2);
    color: #e0e0e0;
}

body.dark-mode .product-card {
    background: #2d1b69;
    border: 1px solid rgba(255,255,255,0.1);
}

body.dark-mode .product-modal {
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.1);
}

body.dark-mode .product-price-section {
    background: #16213e;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-layout {
        grid-template-columns: 280px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .products-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .products-sidebar {
        position: static;
        max-height: none;
        order: 2;
    }
    
    .products-main {
        order: 1;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-detail-image .product-icon {
        width: 250px;
        height: 250px;
        font-size: 4rem;
        margin: 0 auto 1rem;
    }
}

@media (max-width: 768px) {
    .products-hero h1 {
        font-size: 2.2rem;
    }
    
    .products-hero p {
        font-size: 1rem;
    }
    
    .products-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid.list-view .product-card {
        flex-direction: column;
        text-align: center;
    }
    
    .products-grid.list-view .product-image {
        margin: 0 0 1rem 0;
        width: 100%;
    }
    
    .products-grid.list-view .product-content {
        flex-direction: column;
    }
    
    .products-grid.list-view .product-actions {
        margin: 1rem 0 0 0;
    }
    
    .product-detail {
        padding: 1.5rem;
    }
    
    .product-detail-image .product-icon {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .page-btn {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .products-content {
        padding: 60px 0;
    }
    
    .products-sidebar,
    .products-main {
        padding: 1.5rem;
    }
    
    .price-inputs {
        flex-direction: column;
    }
    
    .price-inputs span {
        display: none;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-detail-content h2 {
        font-size: 1.8rem;
    }
    
    .product-price-section {
        padding: 1.5rem;
    }
    
    .price-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Auth Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

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

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

.auth-form {
    display: none;
    padding: 40px;
    text-align: center;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group input:invalid {
    border-color: #e74c3c;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #5a6c7d;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-color: #ff6b35;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark:after {
    content: '✓';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.forgot-password,
.terms-link {
    color: #ff6b35;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover,
.terms-link:hover {
    color: #f7931e;
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.auth-btn:hover::before {
    left: 100%;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

.auth-switch {
    padding-top: 1rem;
    border-top: 1px solid #e1e8ed;
}

.auth-switch p {
    color: #5a6c7d;
    margin: 0;
}

.auth-switch a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}

/* Error Message */
.error-message {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}

/* User Menu Styles */
.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-email {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Dark Mode Auth Modal */
body.dark-mode .modal-content {
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.1);
}

body.dark-mode .auth-form h2 {
    color: #e0e0e0;
}

body.dark-mode .form-group label {
    color: #e0e0e0;
}

body.dark-mode .form-group input {
    background: #2d1b69;
    border-color: rgba(255,255,255,0.2);
    color: #e0e0e0;
}

body.dark-mode .form-group input::placeholder {
    color: #888;
}

body.dark-mode .auth-switch {
    border-top-color: rgba(255,255,255,0.1);
}

body.dark-mode .auth-switch p {
    color: #b0b0b0;
}

/* Responsive Auth Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .auth-form {
        padding: 30px 25px;
    }
    
    .auth-form h2 {
        font-size: 1.7rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .auth-form {
        padding: 25px 20px;
    }
    
    .auth-form h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .form-group input {
        padding: 10px 14px;
    }
    
    .auth-btn {
        padding: 12px;
        font-size: 1rem;
    }
}