/* Reset basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #e9f2f7; /* Couleur de fond douce */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background-color: #ffffff;
    width: 400px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
}

h1 {
    color: #4e73df; /* Bleu vif pour le titre */
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 700;
}

#menu {
    margin-bottom: 25px;
}

button {
    background-color: #20c997; /* Vert doux */
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #17a589; /* Vert plus foncé au survol */
    transform: scale(1.05);
}

button:focus {
    outline: none;
}

input[type="number"] {
    width: 85%;
    padding: 12px;
    margin: 12px 0;
    border-radius: 8px;
    border: 2px solid #ddd;
    font-size: 18px;
    transition: border-color 0.3s;
}

input[type="number"]:focus {
    outline: none;
    border-color: #20c997; /* Bordure verte au focus */
}

#paymentSection {
    margin-top: 30px;
}

#selectedDrink {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

#resultMessage {
    margin-top: 30px;
    font-size: 18px;
    color: #28a745; /* Vert pour les succès */
}

label {
    font-size: 16px;
    color: #495057; /* Gris foncé pour les labels */
    display: block;
    margin-bottom: 8px;
}

#menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.menu-item {
    background-color: #f1f1f1; /* Gris clair pour les items */
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.menu-item p {
    margin-top: 10px;
    color: #4e73df; /* Texte bleu pour les options */
    font-weight: 500;
}

#selectButton {
    margin-top: 30px;
    background-color: #007bff; /* Bleu vif pour le bouton */
    color: white;
    border-radius: 8px;
    padding: 12px 25px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

#selectButton:hover {
    background-color: #0056b3; /* Bleu plus foncé au survol */
    transform: scale(1.05);
}

/* Responsiveness */
@media (max-width: 500px) {
    .container {
        width: 90%;
    }

    #menu {
        grid-template-columns: 1fr 1fr;
    }
}
