.auth-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}
.auth-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}
.tab-active {
    border-bottom: 3px solid #4f46e5;
    color: #4f46e5;
    font-weight: 600;
}
.input-focus:focus {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
.social-btn {
    transition: all 0.3s ease;
}
.social-btn:hover {
    transform: translateY(-2px);
}
.password-toggle {
    cursor: pointer;
    transition: color 0.3s ease;
}
.password-toggle:hover {
    color: #4f46e5;
}





.product-image {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.swap-modal {
    backdrop-filter: blur(5px);
}
.search-bar {
    transition: all 0.3s ease;
}
.filter-section {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}
.filter-section.active {
    max-height: 500px;
}
@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}




.image-upload-area {
    border: 2px dashed #d1d5db;
    transition: all 0.3s ease;
}
.image-upload-area:hover {
    border-color: #4f46e5;
}
.image-upload-area.dragover {
    border-color: #4f46e5;
    background-color: #f0f4ff;
}
.image-preview {
    transition: transform 0.3s ease;
}
.image-preview:hover {
    transform: scale(1.05);
}
.step-indicator.active {
    background-color: #4f46e5;
    color: white;
}
.step-indicator.completed {
    background-color: #10b981;
    color: white;
}
#cameraPreview {
    transform: scaleX(-1); /* Mirror the camera preview */
}
.capture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}
.capture-countdown {
    font-size: 5rem;
    color: white;
    font-weight: bold;
}




.profile-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.stats-card {
    transition: transform 0.3s ease;
}
.stats-card:hover {
    transform: translateY(-5px);
}

.alert-toast {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}











    /* Fix for filter section on mobile */
    @media (max-width: 767px) {
        .filter-section {
            display: none;
        }

        .filter-section.active {
            display: block;
        }
    }

    /* Floating add button */
    .floating-add-btn {
        position: fixed;
        bottom: 80px;
        right: 20px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: #4f46e5;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        z-index: 40;
        transition: all 0.3s ease;
    }

    .floating-add-btn:hover {
        background-color: #4338ca;
        transform: scale(1.05);
    }

    /* User dropdown menu */
    .user-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        width: 200px;
        padding: 8px 0;
        z-index: 50;
        display: none;
    }

    .user-dropdown.active {
        display: block;
    }

    .user-dropdown a {
        display: block;
        padding: 10px 16px;
        color: #4b5563;
        text-decoration: none;
        transition: background-color 0.2s;
    }

    .user-dropdown a:hover {
        background-color: #f3f4f6;
    }

    .user-dropdown .divider {
        height: 1px;
        background-color: #e5e7eb;
        margin: 8px 0;
    }

    /* Desktop auth buttons */
    .auth-buttons {
        display: none;
    }

    @media (min-width: 768px) {
        .auth-buttons {
            display: flex;
            gap: 12px;
        }
    }

    /* Mobile menu */
    .mobile-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        padding: 16px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        z-index: 50;
    }

    .mobile-menu.active {
        display: block;
    }

    .mobile-menu a {
        display: block;
        padding: 12px 0;
        color: #4b5563;
        text-decoration: none;
        border-bottom: 1px solid #f3f4f6;
    }

    .mobile-menu a:last-child {
        border-bottom: none;
    }
