/* =====================================================================
   site-extras.css — da includere DOPO style.css in tutte le pagine.
   1. Menu (mobile e desktop)       2. Ticker news
   3. Pulsante fisso "prova"        4. Calendario / allenamenti
   5. Loghi e bagliore (drop-shadow) 6. Accessibilità e varie
   7. Footer                        8. Intestazione pagina + KPI
   9. Form recente + Formazione     10. Contatti, Modali e Toast
   ===================================================================== */

/* ---------- 1. MENU MOBILE (overlay scuro) ---------- */
.mobile-nav { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,10,25,.75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 9999; display: flex; justify-content: center; align-items: flex-start; padding: 15px; box-sizing: border-box; }
.mobile-nav.hidden { display: none !important; }
.mobile-nav-content { background: linear-gradient(145deg,#00224a 0%,#001229 100%); color: #fff; width: 100%; max-width: 380px; max-height: 85vh; overflow-y: auto; border-radius: 16px; padding: 20px; border: 1px solid rgba(135,206,235,.25); box-shadow: 0 15px 35px rgba(0,0,0,.5); display: flex; flex-direction: column; margin-top: 10px; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.15); }
.mobile-nav-header .brand-name { color: #fff; font-size: 1.15rem; font-weight: 800; letter-spacing: 1px; }
.mobile-nav-header .brand-sub { color: #87ceeb; }
.mobile-nav-close { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: 1.1rem; color: #fff; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .2s ease; }
.mobile-nav-close:active { background: #87ceeb; color: #00224a; }
.mobile-link { color: #fff !important; font-size: .95rem; font-weight: 600; padding: 10px 12px; border-radius: 8px; display: flex; align-items: center; gap: 12px; text-decoration: none; transition: background .2s ease; }
.mobile-link:hover, .mobile-link:active { background: rgba(255,255,255,.08); }
.mobile-nav .menu-icon { width: 24px !important; min-width: 24px !important; text-align: center !important; color: #87ceeb !important; font-size: 1.05rem !important; display: inline-block !important; flex-shrink: 0 !important; }
.mobile-dropdown-toggle { width: 100%; background: transparent; border: none; color: #fff !important; font-size: .95rem; font-weight: 600; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; border-radius: 8px; cursor: pointer; box-sizing: border-box; }
.mobile-dropdown-toggle-left { display: flex; align-items: center; gap: 12px; }
.mobile-submenu { background: rgba(0,0,0,.25); border-radius: 8px; padding: 4px 0 4px 10px; margin: 4px 0 8px 8px; border-left: 2px solid #87ceeb; }
.mobile-submenu.hidden { display: none !important; }
.mobile-submenu .mobile-link.sub { font-size: .88rem; padding: 8px 10px; color: #e2e8f0 !important; }
.mobile-cta-wrapper { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.15); }
.mobile-cta-btn { background: #87ceeb; color: #00224a !important; font-weight: 800; text-align: center; padding: 10px; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }

/* ---------- MENU DESKTOP ---------- */
.desktop-nav-wrapper { display: flex; align-items: center; }
.main-nav { display: flex !important; align-items: center !important; gap: 16px; white-space: nowrap; }
.main-nav .nav-item { position: relative !important; display: inline-flex; align-items: center; }
.main-nav > a, .main-nav .dropdown-toggle { display: inline-flex !important; align-items: center !important; gap: 5px !important; padding: 8px 10px !important; font-family: inherit !important; font-size: .92rem !important; font-weight: 700 !important; color: var(--dark-navy,#003c82) !important; text-decoration: none !important; border: none !important; background: transparent !important; cursor: pointer !important; user-select: none !important; line-height: 1.2 !important; transition: color .2s ease, opacity .2s ease !important; box-sizing: border-box !important; margin: 0 !important; }
.main-nav > a:hover, .main-nav .dropdown-toggle:hover, .main-nav > a.active, .main-nav .dropdown-toggle.active { color: var(--primary-sky,#87ceeb) !important; }
.main-nav .nav-cta-btn { background: var(--dark-navy,#003c82) !important; color: #fff !important; padding: 8px 16px !important; border-radius: 20px !important; font-weight: 800 !important; }
.main-nav .nav-cta-btn:hover { background: var(--primary-sky,#87ceeb) !important; color: var(--dark-navy,#003c82) !important; }
.main-nav .dropdown-menu { display: none; position: absolute !important; top: 100% !important; left: 0 !important; z-index: 1000 !important; min-width: 190px; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.15); border-radius: 8px; padding: 8px 0; margin-top: 2px; white-space: nowrap; }
.main-nav .dropdown-menu a { display: block !important; padding: 10px 16px !important; color: var(--dark-navy,#003c82) !important; text-decoration: none !important; font-size: .88rem !important; font-weight: 600 !important; transition: background .2s ease, color .2s ease !important; text-align: left !important; }
.main-nav .dropdown-menu a:hover { background-color: #f1f5f9 !important; color: var(--primary-sky,#87ceeb) !important; }
.nav-item.dropdown:hover > .dropdown-menu, .nav-item.dropdown.open > .dropdown-menu { display: block !important; opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; }
.nav-item.dropdown:hover > .dropdown-toggle .nav-arrow, .nav-item.dropdown.open > .dropdown-toggle .nav-arrow { transform: rotate(180deg); }

@media (min-width: 1025px) and (max-width: 1200px) {
  .main-nav { gap: 8px !important; }
  .main-nav > a, .main-nav .dropdown-toggle { padding: 6px 6px !important; font-size: .85rem !important; }
  .main-nav .nav-cta-btn { padding: 6px 12px !important; font-size: .85rem !important; }
}
@media (max-width: 900px) and (orientation: portrait) {
  .desktop-nav-wrapper { display: none !important; }
  .mobile-menu-toggle { display: flex !important; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .desktop-nav-wrapper { display: flex !important; }
  .mobile-menu-toggle { display: none !important; }
  .main-nav { gap: 4px !important; }
  .main-nav > a, .main-nav .dropdown-toggle { padding: 4px 5px !important; font-size: .78rem !important; }
  .main-nav .nav-cta-btn { padding: 5px 10px !important; font-size: .75rem !important; }
  .logo-title img { height: 30px !important; }
  .brand-name { font-size: .95rem !important; }
}
@media (orientation: landscape) and (max-height: 600px), (max-height: 600px) {
  .mobile-nav-content { max-height: 90vh !important; padding: 12px 16px !important; margin-top: 5px !important; }
}

/* ---------- 2. TICKER NEWS ---------- */
.news-ticker-bar { background: linear-gradient(90deg,#001229 0%,#00224a 100%); color: #fff; height: 44px; display: flex; align-items: center; overflow: hidden; border-bottom: 2px solid #87ceeb; box-shadow: 0 4px 12px rgba(0,0,0,.2); position: relative; z-index: 10; }
.news-ticker-bar[hidden] { display: none; }
.ticker-label { background: #87ceeb; color: #00224a; font-weight: 800; font-size: .8rem; padding: 0 16px; height: 100%; display: flex; align-items: center; gap: 8px; white-space: nowrap; z-index: 2; box-shadow: 4px 0 10px rgba(0,0,0,.2); letter-spacing: .5px; }
.ticker-label i { font-size: .85rem; animation: pulse-icon 1.8s infinite; }
@keyframes pulse-icon { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(1.15); } }
.ticker-content-wrapper { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center; height: 100%; }
.ticker-track { display: flex; align-items: center; white-space: nowrap; will-change: transform; animation: ticker-scroll 32s linear infinite; }
.ticker-set { display: flex; align-items: center; gap: 30px; padding-right: 30px; flex-shrink: 0; }
.news-ticker-bar:hover .ticker-track, .news-ticker-bar:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; color: #e2e8f0; text-decoration: none; transition: color .2s ease; }
a.ticker-item:hover, a.ticker-item:focus-visible { color: #87ceeb; }
.ticker-tag { font-size: .7rem; font-weight: 800; padding: 2px 8px; border-radius: 4px; background: rgba(135,206,235,.2); color: #87ceeb; border: 1px solid rgba(135,206,235,.4); }
.ticker-tag.badge-trial { background: rgba(16,185,129,.2); color: #34d399; border-color: rgba(52,211,153,.4); }
.ticker-tag.badge-notice { background: rgba(217,119,6,.2); color: #fbbf24; border-color: rgba(251,191,36,.4); }
.ticker-date { font-size: .78rem; color: #94a3b8; font-weight: 600; }
.ticker-divider { color: rgba(255,255,255,.2); font-size: .5rem; display: flex; align-items: center; }
@media (max-width: 600px) {
  .ticker-label span { display: none; }
  .ticker-label { padding: 0 12px; }
  .news-ticker-bar { height: 40px; }
  .ticker-item { font-size: .82rem; }
}

/* ---------- 3. PULSANTE FISSO "PROVA" (solo mobile) ---------- */
.floating-cta { position: fixed; left: 16px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 900; display: none; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: #87ceeb; color: #00224a; font-weight: 800; font-size: .9rem; text-decoration: none; box-shadow: 0 6px 18px rgba(0,34,74,.35); transition: transform .25s ease, opacity .25s ease; }
.floating-cta:focus-visible { outline: 3px solid #00224a; outline-offset: 2px; }
.floating-cta.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
@media (max-width: 900px) { .floating-cta { display: inline-flex; } }

/* ---------- 4. CALENDARIO / ALLENAMENTI ---------- */
.cal-head { text-align: center; margin-bottom: 28px; }
.cal-head .section-title { margin-bottom: 10px; }
.cal-lead { color: #64748b; max-width: 560px; margin: 0 auto; }
.cal-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto; }
.cal-card { display: grid; grid-template-columns: 64px 1fr; gap: 6px 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px; box-shadow: 0 4px 16px rgba(0,60,130,.06); border-left: 4px solid var(--primary-sky, #12A0D7); }
.cal-card.cal-match { border-left-color: var(--dark-navy, #003c82); }
.cal-date { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; color: var(--dark-navy, #003c82); }
.cal-day { font-family: var(--font-brand, 'Bebas Neue', sans-serif); font-size: 2.2rem; }
.cal-mon, .cal-wd { font-size: .78rem; font-weight: 700; color: #64748b; }
.cal-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.cal-kind, .cal-trial { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.cal-kind { background: #e0f2fe; color: #075985; }
.cal-match .cal-kind { background: var(--dark-navy, #003c82); color: #fff; }
.cal-trial { background: #dcfce7; color: #166534; }
.cal-title { font-weight: 800; color: var(--dark-navy, #003c82); }
.cal-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .84rem; color: #475569; margin-top: 4px; }
.cal-meta a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cal-note { margin: 6px 0 0; font-size: .84rem; color: #475569; line-height: 1.5; }
.cal-add { grid-column: 1 / -1; justify-self: start; margin-top: 8px; background: transparent; border: 1px solid #cbd5e1; color: var(--dark-navy, #003c82); font-weight: 700; font-size: .8rem; padding: 8px 12px; border-radius: 8px; cursor: pointer; font-family: inherit; }
.cal-add:hover, .cal-add:focus-visible { background: var(--dark-navy, #003c82); color: #fff; border-color: var(--dark-navy, #003c82); }
.cal-empty { grid-column: 1 / -1; text-align: center; color: #64748b; font-weight: 600; background: #f8fafc; border-radius: 10px; padding: 24px; }
.cal-sub { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: center; margin: 22px auto 0; font-size: .88rem; }
.cal-sub-label { font-weight: 700; color: var(--dark-navy, #003c82); }
.cal-sub-link { color: var(--dark-navy, #003c82); border: 1px solid #cbd5e1; border-radius: 999px; padding: 6px 14px; text-decoration: none; font-weight: 700; }
.cal-sub-link:hover { background: var(--dark-navy, #003c82); color: #fff; }
.cal-info { max-width: 720px; margin: 36px auto 0; background: linear-gradient(135deg,#00224a 0%,#001229 100%); color: #e2e8f0; border-radius: 16px; padding: 24px; border: 1px solid rgba(135,206,235,.3); }
.cal-info h3 { color: #87ceeb; font-size: 1.15rem; margin-bottom: 10px; }
.cal-info ul { margin: 0 0 18px 18px; line-height: 1.7; font-size: .92rem; }
.cal-info .recruitment-btn { display: inline-flex; }

/* ---------- 5. LOGHI, BAGLIORE (DROP-SHADOW) E CORREZIONI MATCH CENTER ---------- */

/* 1. Allineamento perfetto tra loghi e nomi (griglia identica per entrambe le righe) */
.teams-logos-row, 
.teams-names-row {
  display: grid !important;
  grid-template-columns: 1fr 110px 1fr !important; /* Colonna centrale fissa a 110px per allineare perfettamente loghi e nomi */
  align-items: center !important;
  justify-items: center !important;
  width: 100% !important;
}

.match-vs-center, 
.score-past {
  white-space: nowrap !important;
  padding: 0 !important;
  width: 100% !important;
  text-align: center !important;
  font-size: 1.9rem !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.team-name-col {
  text-align: center !important;
  width: 100% !important;
  padding: 0 4px !important;
  box-sizing: border-box !important;
}

/* 2. Risoluzione bagliore quadrato e rendering WebKit / Safari mobile */
.hero-logo-wrap,
.card-logo-wrap,
.mc-teams .logo,
.mc .logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  width: 80px !important;
  height: 80px !important;
  overflow: visible !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  filter: none !important;
  isolation: isolate !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.card-logo-wrap {
  width: 64px !important;
  height: 64px !important;
}

.card-logo-wrap img,
.hero-logo-wrap img,
.mc-teams .logo img,
.mc .logo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  -webkit-transform: translateZ(0) !important;
  transform: translateZ(0) !important;
  will-change: filter;
}

/* Rimuoviamo qualsiasi bagliore dai loghi della scheda partita precedente */
.match-past-box img,
.card-logo-wrap img {
  -webkit-filter: none !important;
  filter: none !important;
}

/* Bagliore applicato ESCLUSIVAMENTE alla sagoma PNG del nostro logo nella schedina PROSSIMA PARTITA (Hero) */
.next-match-hero .hero-logo-wrap img[src*="logo.png"],
#nextMatchBox .hero-logo-wrap img[src*="logo.png"] {
  -webkit-filter: drop-shadow(0 0 10px rgba(135, 206, 235, 0.85)) !important;
  filter: drop-shadow(0 0 10px rgba(135, 206, 235, 0.85)) !important;
}

/* ---------- 6. ACCESSIBILITÀ E VARIE ---------- */
.partner-logos-container:empty { display: none; }
:focus-visible { outline: 2px solid var(--primary-sky, #12A0D7); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none !important; }
  .ticker-set[aria-hidden="true"] { display: none; }
  .ticker-content-wrapper { overflow-x: auto; }
  .ticker-label i { animation: none; }
  .hero-bg-slide { transition: none; }
  .floating-cta, .cal-card { transition: none; }
}

/* ---------- 7. FOOTER PROFESSIONALE ---------- */
.footer { text-align: left; padding: 48px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-brand, 'Bebas Neue', sans-serif); font-size: 1.5rem; letter-spacing: 1.5px; margin-bottom: 10px; }
.footer-logo span { color: var(--primary-sky, #12A0D7); }
.footer-brand p { color: #94a3b8; font-size: .88rem; line-height: 1.6; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #e2e8f0; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: all .2s; }
.footer-social a:hover { background: var(--primary-sky, #12A0D7); border-color: var(--primary-sky, #12A0D7); color: #fff; }
.footer-col h4 { color: #fff; font-size: .85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.footer-col a { display: block; color: #94a3b8; text-decoration: none; font-size: .9rem; padding: 4px 0; }
.footer-col a:hover { color: #87ceeb; }
.footer-partners-label { color: #94a3b8; font-size: .72rem; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.footer-copy { text-align: center; color: #64748b; font-size: .8rem; margin: 32px 20px 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- 8. INTESTAZIONE PAGINA + KPI ---------- */
.page-hero { background: linear-gradient(135deg, #00224a 0%, #003c82 100%); color: #fff; padding: 38px 0 30px; border-bottom: 3px solid #87ceeb; }
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; display: flex; align-items: center; gap: 12px; }
.page-hero h1 i { color: #87ceeb; }
.page-hero p { color: #cbd5e1; margin-top: 8px; max-width: 640px; }
.kpi-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 22px 0 6px; }
.kpi { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 14px 12px; text-align: center; box-shadow: 0 4px 14px rgba(0,60,130,.05); }
.kpi b { display: block; font-family: var(--font-brand, 'Bebas Neue', sans-serif); font-size: 2rem; line-height: 1.05; color: var(--dark-navy, #003c82); }
.kpi span { font-size: .74rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .5px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0; }
.toolbar .search { flex: 1 1 220px; position: relative; }
.toolbar .search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.toolbar input, .toolbar select { width: 100%; height: 44px; border: 1px solid #cbd5e1; border-radius: 10px; padding: 0 12px; font: inherit; background: #fff; color: #1e293b; }
.toolbar .search input { padding-left: 36px; }
.toolbar select { width: auto; min-width: 170px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 1px solid #cbd5e1; background: #f1f5f9; color: var(--dark-navy, #003c82); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: .84rem; cursor: pointer; font-family: inherit; }
.pill.active { background: var(--dark-navy, #003c82); color: #fff; border-color: var(--dark-navy, #003c82); }

/* ---------- 9. FORMA RECENTE + FORMAZIONE TIPO ---------- */
.form-strip { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.form-dot { width: 38px; height: 38px; border-radius: 50%; color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; cursor: help; }
.form-dot.W { background: #16a34a; } .form-dot.D { background: #94a3b8; } .form-dot.L { background: #dc2626; }
.goal-bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; margin-top: 14px; padding: 0 4px; overflow-x: auto; }
.goal-bar { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 34px; height: 100%; justify-content: flex-end; font-size: .68rem; color: #64748b; font-weight: 700; }
.goal-bar .cols { display: flex; align-items: flex-end; gap: 3px; height: 80px; }
.goal-bar .cols i { display: block; width: 12px; border-radius: 3px 3px 0 0; min-height: 2px; }
.goal-bar .gf { background: #12A0D7; } .goal-bar .ga { background: #f87171; }
.lineup-wrap { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 24px; align-items: start; }
@media (max-width: 800px) { .lineup-wrap { grid-template-columns: 1fr; } }
.lineup-pitch { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; background: linear-gradient(180deg, #16a34a, #15803d 50%, #16a34a); box-shadow: inset 0 0 40px rgba(0,0,0,.35); overflow: hidden; width: 100%; max-width: 360px; margin: 0 auto; }
.lineup-pitch::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255,255,255,.45); }
.lineup-pitch::after { content: ''; position: absolute; top: 50%; left: 50%; width: 26%; aspect-ratio: 1; border: 2px solid rgba(255,255,255,.45); border-radius: 50%; transform: translate(-50%, -50%); }
.lineup-chip { position: absolute; transform: translate(-50%, -50%); text-align: center; width: 64px; z-index: 2; }
.lineup-chip .num { width: 34px; height: 34px; margin: 0 auto 2px; border-radius: 50%; background: #fff; color: var(--dark-navy, #003c82); font-weight: 800; font-size: .85rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.lineup-chip .nm { font-size: .64rem; font-weight: 800; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8); line-height: 1.1; }
.lineup-chip.empty .num { background: rgba(15,23,42,.35); color: rgba(255,255,255,.6); border: 1.5px dashed rgba(255,255,255,.5); }
.lineup-note { color: #64748b; font-size: .84rem; margin-top: 10px; }
.mini-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.mini-table th { text-align: left; background: #f1f5f9; padding: 8px 10px; color: var(--dark-navy, #003c82); }
.mini-table td { padding: 8px 10px; border-bottom: 1px solid #e2e8f0; }
.mini-table td.num, .mini-table th.num { text-align: center; }
.panel { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 22px; box-shadow: 0 4px 16px rgba(0,60,130,.05); margin-bottom: 24px; }
.panel h3 { color: var(--dark-navy, #003c82); font-size: 1.1rem; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.panel h3 i { color: var(--primary-sky, #12A0D7); }
.table-scroll { overflow-x: auto; }

/* ---------- 10. CONTATTI & MODALI & TOAST ---------- */
.contact-grid-container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 30px; max-width: 1000px; width: 100%; margin: 0 auto; }
@media (max-width: 880px) { .contact-grid-container { grid-template-columns: 1fr; gap: 20px; } }
.contact-form-card { background: #fff; border-radius: 16px; padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,.05); border: 1px solid #e2e8f0; min-width: 0; }
.form-group { margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-width: 0; }
@media (max-width: 550px) { .form-row-2 { grid-template-columns: 1fr; } }
.form-group label, .field-label-wrapper > div { font-weight: 700; font-size: .92rem; color: var(--dark-navy, #003c82); display: flex; align-items: center; gap: 6px; }
.required-tag { background: #ef4444 !important; color: #fff !important; font-size: .7rem; padding: 3px 6px; border-radius: 4px; font-weight: 800; margin-left: 4px; white-space: nowrap; }
.field-hint { font-size: .75rem; color: #64748b; line-height: 1.4; }
.form-row-date-age { display: flex; align-items: center; gap: 12px; width: 100%; }
.date-wrapper { flex: 1; min-width: 0; } .age-wrapper { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.date-input-wrapper { position: relative; width: 100%; } .date-input-wrapper input[type=date] { padding-right: 38px; cursor: pointer; }
.calendar-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #003c82; font-size: 1.1rem; pointer-events: none; }
.form-control { width: 100%; min-width: 0; height: 46px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: .95rem; font-family: inherit; color: #1e293b; background: #f8fafc; transition: border-color .2s, background-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.form-control:focus { outline: none; border-color: var(--primary-sky, #87ceeb); background: #fff; box-shadow: 0 0 0 3px rgba(135,206,235,.25); }
input[type=date].form-control { padding: 0 10px; line-height: 46px; }
select.form-control { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003c82' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; cursor: pointer; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
select.form-control:disabled, .form-control:disabled { cursor: not-allowed; opacity: .6; background-color: #e2e8f0; }
.form-control.is-valid { border-color: #10b981 !important; background-color: #f0fdf4 !important; }
.form-control.is-invalid { border-color: #ef4444 !important; background-color: #fef2f2 !important; }
.readonly-age { width: 90px !important; background: #e2e8f0; color: #00224a; font-weight: 800; cursor: not-allowed; text-align: center; padding: 0 6px; }
textarea.form-control { height: auto; min-height: 120px; padding: 12px 14px; }
.sub-pos-container { display: flex; flex-direction: column; gap: 10px; padding: 6px 0; }
.simple-checkbox-label, .privacy-checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: #334155; cursor: pointer; font-weight: 600; line-height: 1.45; }
.simple-checkbox-label input, .privacy-checkbox-label input { accent-color: #003c82; width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; cursor: pointer; }
.trial-summary { display: flex; flex-wrap: wrap; gap: 8px; min-height: 36px; align-items: center; margin-top: 10px; }
.trial-chip { background: #e0f2fe; border: 1px solid #7dd3fc; color: #00224a; border-radius: 999px; padding: 7px 14px; font-size: .84rem; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.privacy-box { background: #f8fafc; border: 1px solid #cbd5e1; padding: 14px; border-radius: 8px; margin: 15px 0 10px; }
.privacy-link { color: #003c82; text-decoration: underline; font-weight: 700; cursor: pointer; } .privacy-link:hover { color: #0284c7; }
.field-section-title { font-size: .98rem; font-weight: 800; color: #00224a; border-bottom: 2px solid #e2e8f0; padding-bottom: 6px; margin: 24px 0 16px; display: flex; align-items: center; gap: 8px; }
.global-error-banner { background: #fef2f2; border: 2px solid #ef4444; color: #b91c1c; padding: 14px 18px; border-radius: 8px; font-size: .95rem; font-weight: 700; display: none; align-items: center; gap: 10px; margin-bottom: 15px; }
.error-banner { background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c; padding: 10px 14px; border-radius: 8px; font-size: .85rem; font-weight: 700; display: none; align-items: center; gap: 8px; margin-top: 6px; }
.contact-info-card { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.info-box { background: #fff; border-radius: 16px; padding: 24px; border: 1px solid #e2e8f0; box-shadow: 0 4px 18px rgba(0,60,130,.05); }
.info-box h4 { font-size: 1.05rem; font-weight: 800; color: var(--dark-navy, #003c82); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; border-bottom: 2px solid #f1f5f9; padding-bottom: 8px; }
.info-box p { font-size: .88rem; color: #475569; line-height: 1.6; margin-bottom: 12px; }
.direct-email-box { background: linear-gradient(135deg, #00224a, #001229); color: #fff; border-radius: 16px; padding: 24px; border: 1px solid rgba(135,206,235,.3); box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.direct-email-box h4 { color: #87ceeb; font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.direct-email-box p { font-size: .86rem; color: #e2e8f0; line-height: 1.5; margin-bottom: 15px; }
.email-address-wrapper { background: rgba(255,255,255,.1); padding: 10px 14px; border-radius: 8px; border: 1px dashed rgba(255,255,255,.25); font-weight: 700; font-size: .92rem; word-break: break-all; text-align: center; margin-bottom: 12px; user-select: all; }
.btn-copy-email { width: 100%; background: #87ceeb; color: #00224a; border: 0; padding: 10px; border-radius: 8px; font-weight: 800; font-size: .85rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-copy-email:hover { background: #a0d8ef; }
.submit-btn { background: var(--dark-navy, #003c82); color: #fff; border: 0; padding: 14px 28px; border-radius: 8px; font-size: 1rem; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; box-shadow: 0 4px 12px rgba(0,60,130,.2); transition: background .2s, transform .1s; }
.submit-btn:hover:not(:disabled) { background: #002b5c; transform: translateY(-1px); } .submit-btn:disabled { opacity: .6; cursor: wait; }

/* MODALI */
.confirm-modal-overlay, .privacy-modal-overlay { position: fixed; inset: 0; background: rgba(0,10,25,.72); backdrop-filter: blur(5px); z-index: 10001; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.privacy-modal-overlay { z-index: 10002; }
.confirm-modal-overlay.show, .privacy-modal-overlay.show { opacity: 1; pointer-events: auto; }
.confirm-modal-card { background: #fff; border-radius: 20px; max-width: 480px; width: 100%; padding: 32px 24px; box-shadow: 0 20px 40px rgba(0,0,0,.3); text-align: center; border: 2px solid #87ceeb; }
.confirm-modal-icon { width: 70px; height: 70px; background: #f0fdf4; color: #10b981; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; margin: 0 auto 18px; border: 2px solid #a7f3d0; }
.confirm-modal-title { font-size: 1.35rem; font-weight: 800; color: #00224a; margin-bottom: 12px; } .confirm-modal-text { font-size: .95rem; color: #475569; line-height: 1.6; margin-bottom: 24px; }
.confirm-modal-btn { background: #003c82; color: #fff; border: 0; padding: 12px 30px; border-radius: 25px; font-weight: 800; font-size: .95rem; cursor: pointer; } .confirm-modal-btn:hover { background: #87ceeb; color: #00224a; }
.privacy-modal-card { background: #fff; border-radius: 20px; max-width: 620px; width: 100%; max-height: 85vh; display: flex; flex-direction: column; box-shadow: 0 20px 40px rgba(0,0,0,.4); border: 2px solid #87ceeb; overflow: hidden; }
.privacy-modal-header { background: linear-gradient(135deg, #00224a, #001229); color: #fff; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid #87ceeb; }
.privacy-modal-header h3 { font-size: 1.15rem; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 10px; color: #fff; }
.privacy-modal-close-btn { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; }
.privacy-modal-body { padding: 24px; overflow-y: auto; font-size: .9rem; color: #334155; line-height: 1.65; text-align: left; }
.privacy-modal-body h4 { color: #00224a; font-size: .95rem; font-weight: 800; margin: 16px 0 6px; display: flex; align-items: center; gap: 6px; } .privacy-modal-body h4:first-child { margin-top: 0; } .privacy-modal-body p { margin-bottom: 12px; }
.privacy-modal-footer { padding: 16px 24px; background: #f8fafc; border-top: 1px solid #e2e8f0; text-align: right; }

/* TOAST COPIA EMAIL */
.toast-copy {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translate(-50%, -20px);
  background: rgba(0, 30, 65, 0.92);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  border: 1px solid #87ceeb;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 10003;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast-copy.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.toast-copy i { color: #10b981; font-size: 1.1rem; }

@media (max-width: 768px) { .form-control { font-size: 16px !important; } .form-row-date-age { gap: 8px; } .privacy-modal-body { padding: 16px; font-size: .86rem; } }
@media (max-width: 600px) { .contact-form-card { padding: 20px 16px; } }
