/* Custom Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #fde2e4; /* Light pink pastel background */
}

.main-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(255, 204, 204, 0.2), rgba(255, 204, 204, 0) 20%), /* Pastel Red */
        radial-gradient(circle at 30% 70%, rgba(204, 255, 204, 0.2), rgba(204, 255, 204, 0) 25%), /* Pastel Green */
        radial-gradient(circle at 80% 40%, rgba(204, 204, 255, 0.2), rgba(204, 204, 255, 0) 25%); /* Pastel Blue */
    background-size: 100px 100px;
    z-index: -1;
}

/* Responsive buttons with improved colors and hover effects */
.btn {
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem; /* px-6 */
    padding-top: 0.75rem; /* py-3 */
    padding-bottom: 0.75rem; /* py-3 */
    border-radius: 0.5rem; /* rounded-lg */
    font-weight: 600; /* font-semibold */
    color: #ffffff; /* text-white */
    transition-property: all; /* transition-all */
    transition-duration: 300ms; /* duration-300 */
    transition-timing-function: ease-in-out; /* ease-in-out */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
    border: none;
    cursor: pointer;
}

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

.btn-primary { 
    background-image: linear-gradient(to right, #ff8177 0%, #ff867a 0%, #ff8c7f 21%, #f99185 52%, #cf556c 78%, #b12a5b 100%);
}
.btn-primary:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(207, 85, 108, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.btn-secondary { 
     background-image: linear-gradient(to top, #a18cd1 0%, #fbc2eb 100%);
}
.btn-secondary:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(161, 140, 209, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.btn-accent { 
    background-image: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
}
.btn-accent:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(37, 117, 252, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Transition animation for form steps */
.step { display: none; animation: fadeIn 0.6s ease-in-out; }
.step.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Quantity buttons with adaptive size */
.quantity-btn {
    width: 2rem; /* w-8 */
    height: 2rem; /* h-8 */
    background-color: #e0f2f7; /* Light pastel blue */
    color: #616161; /* Dark gray text */
    border-radius: 9999px; /* rounded-full */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem; /* text-lg */
    font-weight: 700; /* font-bold */
    transition-property: background-color; /* transition-colors */
}
.quantity-btn:hover {
    background-color: #c8e6f0; /* Slightly darker pastel blue */
}
@media (min-width: 768px) { /* md breakpoint */
    .quantity-btn {
        width: 2.5rem; /* md:w-10 */
        height: 2.5rem; /* md:h-10 */
    }
}

/* Custom modal for alerts */
.custom-alert-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001; /* Higher than product modal */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.custom-alert-modal.active { opacity: 1; visibility: visible; }
.custom-alert-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.custom-alert-modal.active .custom-alert-content { transform: scale(1); }

/* Input styles */
 .aceternity-input {
    background-color: #ffffff;
    border: 1px solid #e2e8f0; /* slate-200 */
    border-radius: 0.5rem; /* rounded-md */
    padding: 0.75rem 1rem; /* py-3 px-4 */
    font-size: 1rem; /* text-base */
    color: #1a202c; /* gray-900 */
    transition: all 0.2s ease-in-out;
    width: 100%;
}
.aceternity-input:focus {
    outline: none;
    border-color: #ffb3ba; /* Pastel Pink */
    box-shadow: 0 0 0 3px rgba(255, 179, 186, 0.3); /* Pastel Pink with opacity */
}
.aceternity-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    color: #4a5568; /* gray-700 */
}
