body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #0cc0df, #ffbd59);
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
}

.form-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    max-width: 600px;
    width: 100%;
    overflow: hidden;
}

.image-wrapper {
    width: 100%;
    height: auto;
}

.header-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.form-content {
    padding: 30px 40px;
}


h1 {
    text-align: center;
    color: #0cc0df;
    margin-bottom: 20px;
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
}

.description {
    font-size: 0.95em;
    margin-bottom: 25px;
}

.label-title {
    display: block;
    margin: 25px 0 5px;
    font-weight: bold;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

input[type="radio"] {
    width: auto;
    margin-right: 10px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.note {
    font-size: 0.85em;
    color: #555;
    margin-top: 15px;
}

.submit-btn {
    background-color: #0cc0df;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0aa2be;
}

/* ALERT TOAST */
.toast-stack {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 9999;
  display: block !important;
  width: 100%;
  max-width: min(84vw, 360px);
  pointer-events: none;
}

.toast {
  --c: #9aa0a6;
  background: #fff;
  color: var(--c);
  border-left: 6px solid var(--c);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  max-width: min(84vw, 360px);
  padding: 18px 18px 16px 18px;
  font-size: 1.05em;
  line-height: 1.5;
  opacity: 0;
  transform: translateX(120%);
  transition: transform .35s ease, opacity .35s ease;
  pointer-events: auto;
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: 100%;
  margin: 0;
}

.toast__title { 
  display: block;
  font-weight: 700;
  margin-bottom: 6px; 
  font-size: 1.15em;
}

.toast__text {
  margin: 0;
  line-height: 1.5; 
}

.toast__close {
  margin-top: 10px;
  align-self: start;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.toast--show { opacity: 1; transform: translateX(0); }
.toast.is-loading { --c: #9aa0a6; }
.toast.is-success { --c: #16a34a; }
.toast.is-error   { --c: #dc2626; }

.is-success a {
    color: var(--c) ;
    font-weight: bold;
}

/* Mobile: toasts centrali che scendono dall'alto */
@media (max-width: 767px) {
  .toast-stack { 
    left: auto !important;
    right: 12px !important;
    transform: none !important; 
  }
  .toast { transform: translateY(-140%); }
  .toast--show { transform: translateY(0); }
}

#prenotazione-non-disponibile {
    display:none; 
    text-align:center; 
    padding:20px; 
    background:#fff3cd; 
    border:1px solid #ffeeba; 
    border-radius:8px; 
    color:#856404; 
    font-size:1.1em; 
    margin-bottom:20px;
}