
body {
    font-family: sans-serif;
    margin: 0;
    background-color: #f0f2f5;
    color: #333;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

header {
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-size: 1.5rem;
}

main {
    padding: 2rem;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .container {
        grid-template-columns: 1fr 2fr;
    }
}

.form-container, .result-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

h2 {
    font-size: 1.8rem;
    color: #333;
    margin-top: 0;
    border-bottom: 2px solid #6a11cb;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #555;
}

input[type="number"], select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

button[type="submit"] {
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 15px rgba(37, 117, 252, 0.4);
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 117, 252, 0.5);
}

#meal-plan-output .meal {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-left: 5px solid #6a11cb;
    border-radius: 8px;
}

#meal-plan-output h3 {
    color: #6a11cb;
    font-size: 1.5rem;
    margin-top: 0;
}

#meal-plan-output ul {
    padding-left: 20px;
    list-style-type: disc;
}

#meal-plan-output li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
