body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background: #094440;
  min-height: 100vh;
}

.container {
  background: rgba(255,255,255,0.92);
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem 1rem;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  margin-top: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

h1, h2, h3, label, .privacy, .modal-content, .privacy-text {
  text-align: center;
}

h2 {
  margin-bottom: 0.2em;
}

form label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"] {
  width: 100%;
  padding: 0.7rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}

.giocatori {
  margin-top: 1.5rem;
}
.giocatore {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.btn {
  background: #e20613;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 1rem;
  font-size: 1.1rem;
  width: 100%;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
}
.btn:hover {
  background: #b1040f;
}

.privacy {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  justify-content: center;
}

.privacy input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #e20613;
  margin: 0;
  display: inline-block;
  vertical-align: middle;
}

.privacy label {
  margin: 0;
  padding: 0;
  font-weight: 700;
  display: inline-block;
  vertical-align: middle;
}

.privacy a {
  color: #e20613;
  text-decoration: underline;
  cursor: pointer;
}

/* Modale Privacy */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(0,0,0,0.4);
}
.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 12px;
  max-width: 400px;
  position: relative;
}
.close {
  color: #e20613;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}

.logo {
  max-width: 160px;
  display: block;
  margin: 0 auto 1rem auto;
}

.info-piccola {
  font-size: 0.92em;
  color: #666;
  margin-bottom: 0.7em;
  margin-top: 0.1em;
}

.quota {
  font-size: 1em;
  color: #e20613;
  font-weight: bold;
  margin: 1.2em 0 0.5em 0;
  text-align: center;
}

.certificato {
  font-size: 0.92em;
  color: #666;
  margin: 1em 0 0.3em 0;
  text-align: center;
}

.aiuto-mobile {
  font-size: 0.92em;
  color: #888;
  margin-top: 0.2em;
  display: none;
}

@media (max-width: 600px) {
  .container {
    padding: 1rem 0.3rem;
    margin-top: 0.5rem;
    max-width: 90%;
  }
  .modal-content {
    padding: 1rem;
    max-width: 95vw;
  }
  h1 {
    font-size: 1.5rem;
  }
  .aiuto-mobile {
    display: block;
  }
}

.loading-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-text {
  background: #e20613;
  color: #fff;
  padding: 1.2em 2em;
  border-radius: 12px;
  font-size: 1.3em;
  font-weight: bold;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

input[type="date"] {
  background: #fff;
  //border: 2px solid #e20613;
  color: #222;
  padding: 0.7rem;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  z-index: 1;
}

input[type="date"]::-webkit-input-placeholder { color: #888; }
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(32%) sepia(99%) saturate(7499%) hue-rotate(353deg) brightness(92%) contrast(101%);
} 