/* Prenotazione online — prenota.php / prenota-confermata.php */
.booking-section { background-color: #8cb0f0; padding: 48px 0; }
.booking-card { background: #fff; border-radius: 12px; padding: 20px; color: #1d2b3a; margin-bottom: 24px; }
.booking-step { font-size: 22px; font-weight: 700; margin: 0 0 12px; color: #1d2b3a; }
.booking-step span { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #1f4fa3; color: #fff; font-size: 17px; margin-right: 8px; }
.booking-note { margin: 0 0 16px; font-size: 16px; line-height: 1.5; }
.booking-month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.booking-month-label { margin: 0; font-weight: 700; font-size: 18px; }
.booking-nav { min-width: 44px; min-height: 44px; border: 1px solid #c9d6ea; background: #fff; border-radius: 8px; font-size: 24px; line-height: 1; cursor: pointer; color: #1d2b3a; }
.booking-nav:disabled { opacity: .35; cursor: default; }
.booking-grid { display: flex; flex-direction: column; gap: 4px; }
.booking-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.booking-cell { display: flex; }
.booking-cell .booking-day { flex: 1; }
.booking-dow { text-align: center; font-size: 13px; font-weight: 600; color: #4a5a6e; padding: 4px 0; }
.booking-day { min-height: 44px; border: 1px solid #c9d6ea; border-radius: 8px; background: #f4f8ff; font-size: 16px; cursor: pointer; color: #1d2b3a; padding: 0; }
.booking-day[aria-disabled="true"] { background: transparent; border-color: transparent; color: #8a96a6; cursor: default; }
.booking-day[aria-pressed="true"], .booking-slot[aria-pressed="true"] { background: #1f4fa3; border-color: #1f4fa3; color: #fff; }
.booking-day:focus-visible, .booking-slot:focus-visible, .booking-nav:focus-visible { outline: 3px solid #f2a900; outline-offset: 2px; }
.booking-slots-title { font-size: 17px; font-weight: 700; margin: 20px 0 10px; }
.booking-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.booking-slot { min-height: 44px; border: 1px solid #1f4fa3; border-radius: 8px; background: #fff; color: #1f4fa3; font-size: 16px; font-weight: 600; cursor: pointer; }
.booking-loading, .booking-error, .booking-empty { grid-column: 1 / -1; margin: 8px 0; font-size: 16px; }
.booking-error { color: #8a1010; }
.booking-summary { font-weight: 700; margin: 0 0 12px; font-size: 16px; }
.booking-alert { background: #fff3f3; border: 1px solid #c62828; color: #8a1010; padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; font-size: 16px; }
.booking-field { margin-bottom: 14px; }
.booking-field label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 16px; color: #1d2b3a; }
.booking-field input[type="text"], .booking-field input[type="email"], .booking-field input[type="tel"], .booking-field textarea { width: 100%; min-height: 44px; border: 1px solid #9fb2cc; border-radius: 8px; padding: 10px 12px; font-size: 16px; color: #1d2b3a; background: #fff; }
.booking-field input:focus, .booking-field textarea:focus { outline: 3px solid #f2a900; outline-offset: 1px; }
.booking-optional { font-weight: 400; color: #4a5a6e; }
.booking-check { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: start; }
.booking-check input { width: 22px; height: 22px; margin-top: 2px; }
.booking-check label { font-weight: 400; }
.booking-check .booking-field-error { grid-column: 1 / -1; }
.booking-field-error { color: #8a1010; font-size: 14px; margin: 4px 0 0; }
.booking-field-error:empty { display: none; }
.booking-submit { width: 100%; min-height: 48px; }
.booking-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.booking-confirm { text-align: left; }
.booking-confirm h2 { font-size: 24px; margin: 0 0 12px; }
/* Annulla la regola inline "form { width:68%; background… }" della vecchia prenota.php */
#booking-form { width: auto; background: none; padding: 0; border-radius: 0; margin: 0; }
/* Il tema nasconde .btn/.display-4 finché non parte l'animazione, e aggiunge padding alle label */
.booking-submit { visibility: visible !important; opacity: 1 !important; }
.booking-field label { padding: 0; }
.booking-card a { color: #1f4fa3; text-decoration: underline; }
.booking-directions { border: 2px solid #1f4fa3; border-radius: 8px; padding: 16px; margin: 0 0 16px; background: #f4f8ff; }
.booking-directions h3 { margin: 0 0 12px; font-size: 20px; font-weight: 700; }
.booking-directions img { display: block; width: 100%; height: auto; border-radius: 6px; margin: 0 0 12px; }
.booking-directions p { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.booking-directions-warning { color: #b00020; font-weight: 600; }
.booking-directions .btn { margin: 8px 0 0; }
.booking-directions-qr { display: none; align-items: center; gap: 16px; margin: 16px 0 0; padding: 12px; background: #fff; border-radius: 6px; }
.booking-directions-qr img { width: 132px; height: 132px; margin: 0; border-radius: 0; flex: 0 0 auto; }
.booking-directions-qr p { margin: 0; }
/* Il QR serve solo a chi prenota da computer: su telefono basta il pulsante Maps */
@media (min-width: 992px) and (hover: hover) { .booking-directions-qr { display: flex; } }
