body {
    font-family: 'Inter', sans-serif;
    background-image: url('../assets/p.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.form-input, .form-select {
    transition: all 0.2s ease-in-out;
    background-color: white; 
    border-radius: 0.5rem;
}

.form-input:focus, .form-select:focus {
    box-shadow: 0 0 0 2px #FCD34D, 0 0 0 4px #D97706;
    border-color: #D97706;
    outline: none;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #D97706;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#recipeOutput h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #D97706;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

#recipeOutput h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

#recipeOutput ul, #recipeOutput ol {
    margin-left: 1.75rem;
    margin-bottom: 1rem;
    list-style-position: outside;
}

#recipeOutput ul {
    list-style-type: disc;
}

#recipeOutput ol {
    list-style-type: decimal;
}

#recipeOutput li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

#recipeOutput strong, #recipeOutput b {
    font-weight: 700;
    color: #4B5563;
}

#recipeOutput em, #recipeOutput i {
    font-style: italic;
}

/* Demo Recipe Cards */
.demo-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Disabled submit button */
button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Modal Styling */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}
