@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

:root {
    --primary-color: #0ea5e9;
    --background-color: #f8fafc;
    --text-color: #1e293b;
    --card-background-color: #ffffff;
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', sans-serif;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

main .container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
}

.tool-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tool-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
}

.tool-header p {
    font-size: 1.1rem;
    color: #64748b;
}

.menu-recommender {
    text-align: center;
}

#recommend-btn {
    transition: all 0.25s ease;
}

#image-spinner {
    margin: 2rem auto;
    width: 300px;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

/* Pulsing outline for swapping slots */
@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(14, 165, 233, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0);
    }
}

.ring-primary {
    animation: pulseRing 1.5s infinite;
    border-color: #0ea5e9 !important;
}

.delete-slot-btn {
    opacity: 0;
    transform: scale(0.9);
}

div:hover > .delete-slot-btn {
    opacity: 1;
    transform: scale(1);
}

.rotate-180 {
    transform: rotate(180deg);
}

.hidden {
    display: none;
}

@media (max-width: 1200px) {
    body {
        max-width: 100%;
        box-shadow: none;
    }
}
