/* =========================================
   ASSISTENZA PAGE (CORRETTO + SAFARI SAFE)
   ========================================= */


.help-container{
  flex-direction: column;
  gap: 22px;
}

.help-header{
  width: 100%;
  text-align: left;
}

.help-grid{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.help-card{
  border: 2px solid rgba(0,140,140,0.22);
  border-radius: 26px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,140,140,0.10);
  padding: 18px;
}

/* Titoli card */
.help-card-title{
  display: flex;
  align-items: center;
  gap: 10px;
}

.help-card-title i{
  color: var(--primary);
  font-size: 1.15rem;
}

.help-card-title h2{
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.2px;
}

/* Testi */
.help-sub{
  margin: 8px 0 14px 0;
  color: #555;
  line-height: 1.5;
  font-size: 0.98rem;
}

/* Mail: sempre dentro il box, anche se lunga */
.help-mail{
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 100%;
  padding: 14px 14px;

  box-sizing: border-box;   /* ✅ FIX: padding incluso nel 100% */
  min-width: 0;             /* ✅ FIX: sicurezza extra con testi lunghi */

  border-radius: 18px;
  font-weight: 900;
  text-decoration: none;
  color: #111;

  background: linear-gradient(135deg, rgba(0,140,140,0.14) 0%, rgba(0,140,140,0.06) 100%);
  border: 1px solid rgba(0,140,140,0.22);
  box-shadow: 0 10px 22px rgba(0,140,140,0.08);

  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: center;

  transition: transform .12s ease, background .12s ease;
}

.help-mail:hover{ background: rgba(0,140,140,0.12); }
.help-mail:active{ transform: scale(0.99); }

.help-hint{
  margin: 10px 0 0 0;
  font-size: 0.92rem;
  color: rgba(0,0,0,0.55);
  line-height: 1.35;
}

/* Note */
.help-note{
  background: rgba(255,255,255,0.98);
}

/* Lista base (neutra) */
.help-list{
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: grid;
  gap: 10px;
}

.help-list li{
  color: #333;
}

/* ✅ Layout lista stabile (desktop + mobile + Safari)
   NOTA: funziona perché nel <li> il testo è dentro <span class="li-text">...</span>
*/
.help-reminders li,
.help-checklist li{
  display: grid;
  grid-template-columns: 22px 1fr; /* icona | testo */
  column-gap: 12px;
  align-items: start;
}

.help-reminders i,
.help-checklist i{
  color: var(--primary);
  width: 22px;
  text-align: center;
  margin-top: 4px;
}

/* testo del li */
.li-text{
  min-width: 0;
  line-height: 1.35;
}

/* opzionale: evita spezzature brutte su “24–48 ore” e “URGENTE” */
.li-text b,
.li-text strong{
  white-space: nowrap;
}

/* =========================================
   MOBILE
   ========================================= */
@media (max-width: 900px){
  .help-header{ text-align: center; }
  .help-grid{ grid-template-columns: 1fr; }

  /* Titolo: Tap-Search tutto su una riga a capo */
  .help-header h1{
    font-size: 2.15rem;
    line-height: 1.12;
  }
  .help-header h1 .brand-name{
    display: block;
    margin-top: 6px;
  }

  /* in mobile le card meglio left per le liste */
  .help-card{ text-align: left; }

  /* mail leggermente più piccola */
  .help-mail{
    font-size: 0.95rem;
    padding: 12px 12px;
  }
}
