/* Custom styles */
@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-up {
    animation: slide-up 0.3s ease-out forwards;
}

.animate-slide-in-right {
    animation: slide-in-right 0.3s ease-out forwards;
}

/* Splash screen fade out */
#splashScreen.fade-out {
    opacity: 0;
    pointer-events: none;
}

#app.visible {
    opacity: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Product card hover effect */
.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

/* Radio button styling for spice level */
.spice-option input[type="radio"] {
    appearance: none;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.spice-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.spice-option input[type="radio"]:checked + label {
    border-color: #f59e0b;
    background: #fffbeb;
}

.spice-option label:hover {
    border-color: #fcd34d;
}

/* Topping checkbox styling */
.topping-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.topping-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #f59e0b;
    flex-shrink: 0;
}

.topping-option label:hover {
    border-color: #fcd34d;
    background: #fffbeb;
}

.topping-option input[type="checkbox"]:checked + span {
    color: #f59e0b;
    font-weight: 600;
}