/* ============================================================
   STILE GENERALE (Basato sul tuo modello originale)
   ============================================================ */
.pr-container {
    max-width: 600px; /* Leggermente più largo per ospitare le righe dei pasti */
    margin: 30px auto;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-family: sans-serif;
}
h1.uk-article-title {
  display: none;
}

.pr-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.pr-container h3 {
    color: #ff68f8;
    border-bottom: 2px solid #ff68f8;
    padding-bottom: 5px;
    margin-top: 25px;
    font-size: 18px;
}

.pr-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

/* Input, Select e Number */
.pr-container input[type="text"],
.pr-container input[type="number"],
.pr-container select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color .2s ease;
}

.pr-container input:focus,
.pr-container select:focus {
    border-color: #0073aa;
    outline: none;
}

/* Pulsante Principale */
.pr-container button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #ff68f8;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color .3s ease, transform .1s ease;
    margin-top: 20px;
}

.pr-container button:hover {
    background-color: #ac48a8;
}

.pr-container button:active {
    transform: scale(.98);
}

/* ============================================================
   STILE SPECIFICO PER GLUTEN FREE (Giorni e Pasti)
   ============================================================ */

/* Scheda del Giorno */
.gf-day-card {
    background: #ffffff;
    padding: 15px;
    margin-bottom: 25px;
    border: 1px solid #eee;
    border-left: 6px solid #ff68f8;
    border-radius: 4px;
}

/* Riga del Pasto (Pranzo/Cena) */
.pasto-row {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    background: #fdfdfd;
}

.pasto-row strong {
    color: #333;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 8px;
}

/* Contenitore Input affiancati */
.pasto-inputs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap; /* Per il mobile */
}

.pasto-inputs select, 
.pasto-inputs input {
    flex: 1;
    min-width: 120px;
    margin-bottom: 5px !important;
}

/* Checkbox Salta Pasto */
.skip-pasto-label {
    float: right;
    font-size: 14px;
    font-weight: normal !important;
    color: #888;
}

/* Stato Disabilitato quando si salta il pasto */
.pasto-row.skipped {
    opacity: 0.5;
    background: #eee;
}

/* Evidenziazione Errore Campi Mancanti */
.error-highlight {
    border: 2px solid #f8d7da !important;
    background-color: #fff5f5 !important;
}

/* Messaggi di Risultato */
#pr-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Avviso "Prenotazioni Oggi" */
.gf-notice-today {
    background: #fff3cd;
    color: #856404;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #ffeeba;
    font-size: 14px;
    text-align: center;
}

/* Responsività Mobile */
@media (max-width: 480px) {
    .pasto-inputs {
        flex-direction: column;
    }
    .pasto-inputs select, 
    .pasto-inputs input {
        width: 100%;
    }
    .pr-container {
        padding: 15px;
    }
}
