.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

    /* Scroll morbido */
    html {
      scroll-behavior: smooth;
    }

    /* Reset di base */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Montserrat', sans-serif;
      background: #f4f5f7;
      color: #222222;
      line-height: 1.7;
      font-weight: 400;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    .wrapper {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 15px;
    }

    /* HEADER: solo logo ma con un po' di respiro */
    header {
      padding: 30px 0 10px;
      text-align: center;
      border-bottom: 1px solid #e3e3e3;
      background-color: #ffffff;
    }

    .logo img {
      max-width: 260px;
      height: auto;
      display: block;
      margin: 0 auto;
    }

    /* MENU: sticky, minimal */
    nav {
      position: sticky;
      top: 0;
      background-color: #ffffff;
      padding: 10px 0;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
      z-index: 999;
    }

    nav .wrapper {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      padding: 0 15px;
    }

    nav ul {
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      align-items: center;
    }

    nav li {
      display: inline-flex;
      align-items: center;
    }

    /* Link menu: solo testo */
    nav a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #111;
  background-color: transparent;
  font-weight: 500;
  border-radius: 0;                 /* << RIMOSSO TONDO */
  transition: color 0.25s ease, border-bottom 0.25s ease;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: #b00000;
  border-bottom: 2px solid #b00000; /* << LINEA SOTTILE */
}

nav a.active-link {
  color: #b00000;
  border-bottom: 2px solid #b00000; /* << ATTIVO = linea rossa */
}


    /* Sezione icone social nel menu */
    nav li.social-icons {
      margin-left: 32px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

  nav li.social-icons a {
  color: #444444;          /* colore normale */
  font-size: 1.1rem;
  padding: 0;              /* niente sfondo */
  transition: 
    color 0.25s ease,
    transform 0.2s ease;   /* per lo zoom */
}

nav li.social-icons a:hover {
  color: #b00000;          /* diventano rosse */
  transform: scale(1.25);  /* si ingrandiscono */
}


    /* CONTENUTI */
    main {
      padding: 30px 0 40px;
    }

/* Card generale per le sezioni + fade */
.content-section {
  margin-bottom: 30px;
  padding: 26px 24px 24px;
  border-radius: 0; /* spigoli netti */
  background-color: #ffffff;
  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.10),
    0 1px 2px rgba(15, 23, 42, 0.05);
  border: 1px solid #eceff3;

  display: none;          /* di base nascoste */
  opacity: 0;             /* trasparenti */
  transition: opacity 0.25s ease-out;
}

.content-section.active {
  display: block;         /* visibile */
  opacity: 1;             /* opaca = fade-in */
}


    .content-section h2 {
      font-size: 1.6rem;
      margin-bottom: 18px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-weight: 600;
      color: #111827;
    }

    .content-section h3 {
      font-size: 1.25rem;
      margin-top: 22px;
      margin-bottom: 10px;
      font-weight: 600;
      color: #111827;
    }

    .content-section p {
      margin-bottom: 12px;
      font-size: 0.98rem;
      font-weight: 400;
      color: #374151;
    }

    /* Stile specifico per CHI SIAMO (più grande/leggibile) */
    #chi-siamo h2 {
      font-size: 1.9rem;
    }

    #chi-siamo p {
      font-size: 1.03rem;
      line-height: 1.9;
      text-align: justify;
      text-justify: inter-word;
    }

    #chi-siamo ul {
      margin: 8px 0 18px 18px;
    }

    #chi-siamo ul li {
      margin-bottom: 6px;
      font-size: 1rem;
      color: #374151;
    }

    /* Liste dentro lo statuto e altre sezioni */
    #statuto ol,
    #statuto ul,
    .content-section ul {
      margin: 8px 0 14px 20px;
    }

    #statuto li,
    .content-section ul li {
      margin-bottom: 6px;
      font-size: 0.95rem;
      color: #374151;
    }

    /* CTA Statuto PDF */
    .statuto-cta-wrapper {
      text-align: center;
      margin-top: 30px;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 22px;
      border-radius: 999px;
      background: linear-gradient(135deg, #b00000, #d11f1f);
      color: #ffffff;
      font-weight: 600;
      font-size: 0.98rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      border: none;
      box-shadow: 0 12px 25px rgba(176, 0, 0, 0.35);
      transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 18px 35px rgba(176, 0, 0, 0.4);
      opacity: 0.95;
    }

    .btn-primary i {
      font-size: 1.05rem;
    }

    /* FOOTER */
    footer {
      background-color: #ffffff;
      border-top: 1px solid #e5e7eb;
      padding: 26px 0 18px;
      font-size: 0.9rem;
      margin-top: 20px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 25px;
      margin-bottom: 15px;
    }

    .footer-title {
      font-weight: 600;
      text-transform: uppercase;
      margin-bottom: 10px;
      letter-spacing: 0.12em;
      font-size: 0.9rem;
      color: #111827;
    }

    .footer-nav ul {
      list-style: none;
    }

    .footer-nav li {
      margin-bottom: 5px;
    }

    .footer-nav a {
      color: #b00000;
      font-weight: 400;
      text-decoration: none;
      font-size: 0.9rem;
      transition: color 0.2s ease, text-decoration-color 0.2s ease;
    }

    .footer-nav a:hover {
      color: #800000;
      text-decoration: underline;
    }

    .footer-note {
      text-align: center;
      color: #9ca3af;
      font-size: 0.8rem;
      font-weight: 300;
    }

    /* Responsivo */
    @media (max-width: 768px) {
      nav ul {
        gap: 10px;
        justify-content: center;
      }

      nav li.social-icons {
        margin-left: 0;
      }

      nav a {
        font-size: 0.78rem;
        letter-spacing: 0.16em;
        padding: 6px 10px;
      }

      .content-section {
        padding: 20px 16px 18px;
        border-radius: 14px;
      }

      .content-section h2 {
        font-size: 1.4rem;
      }

      #chi-siamo h2 {
        font-size: 1.6rem;
      }

      #chi-siamo p {
        font-size: 0.98rem;
      }
    }

    @media (max-width: 480px) {
      .logo img {
        max-width: 210px;
      }

      nav ul {
        gap: 8px;
      }

      nav a {
        letter-spacing: 0.12em;
      }
    }

    /* FORM CONTATTI */
.contact-form {
  max-width: 520px;
  margin-top: 18px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111827;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 0; /* spigoli netti */
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #b00000;
  box-shadow: 0 0 0 1px rgba(176, 0, 0, 0.25);
  background-color: #ffffff;
}

.form-note {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 16px;
  line-height: 1.5;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: none;
  border-radius: 0; /* spigoli netti */
  background: #111827;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.btn-submit:hover {
  background-color: #b00000;
  transform: translateY(-1px);
  opacity: 0.96;
}
/* ----- SEZIONE DONA ORA ----- */

.donation-section {
  position: relative;
  overflow: hidden;
}

/* Badge con animazione di "bagliore" */
.donation-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: linear-gradient(135deg, #b00000, #d11f1f);
  color: #ffffff;
  animation: donationGlow 2.6s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(176, 0, 0, 0.6);
}

@keyframes donationGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(176, 0, 0, 0.6);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(176, 0, 0, 0);
    transform: translateY(-1px);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(176, 0, 0, 0);
    transform: translateY(0);
  }
}

.donation-impact-list {
  margin: 12px 0 20px 20px;
}

.donation-impact-list li {
  margin-bottom: 6px;
}

/* Layout due colonne per i metodi di donazione */
.donation-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 6px;
}

.donation-card {
  flex: 1 1 260px;
  padding: 18px 18px 16px;
  border-radius: 0;
  background-color: #f9fafb;
  border: 1px dashed #e5e7eb;
}

.donation-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111827;
}

.donation-card p {
  margin-bottom: 8px;
}

/* Box IBAN più leggibile */
.iban-box {
  margin: 10px 0 10px;
  padding: 10px 12px;
  border-radius: 0;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  font-size: 0.92rem;
}

.iban-box p {
  margin-bottom: 4px;
}

.donation-note {
  font-size: 0.85rem;
  color: #6b7280;
}

.donation-transparency {
  margin-top: 18px;
  font-size: 0.9rem;
  color: #4b5563;
}

/* Pulsante donazione leggermente più “vivo” al passaggio */
.btn-donate {
  margin-top: 4px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-donate:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(176, 0, 0, 0.35);
}

/* Su schermi piccoli le colonne vanno una sotto l'altra */
@media (max-width: 768px) {
  .donation-methods {
    flex-direction: column;
  }
}

.donation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 18px 0;
}

.donation-card {
  padding: 18px 18px 16px;
  border-radius: 0;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.donation-card i {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: inline-block;
  color: #b00000;
}

.donation-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.18);
  border-color: #b00000;
}

.bank-details {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #d1d5db;
}


/* ========== FOOTER ONG: più compatto ed elegante ========== */

footer{
  padding: 18px 0 12px;          /* prima 26px 0 18px */
  font-size: 0.86rem;             /* leggermente più piccolo */
}

.footer-grid{
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;                      /* prima 25px */
  margin-bottom: 10px;            /* prima 15px */
}

/* Titoli più “da ONG”: piccoli, ordinati, non invadenti */
.footer-title{
  font-size: 0.78rem;             /* prima 0.9rem */
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  color: #111827;
  opacity: 0.9;
}

/* Lista link: più compatta */
.footer-nav ul{
  margin: 0;
  padding: 0;
}

.footer-nav li{
  margin-bottom: 3px;             /* riduce distanza verticale */
  line-height: 1.3;
}

/* Link: più piccoli, meno “pulsantosi”, con hover elegante */
.footer-nav a{
  font-size: 0.78rem;
  font-weight: 500;
  color: #7a0000;                 /* rosso più sobrio */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease, transform .15s ease;
}

.footer-nav a:hover{
  color: #b00000;
  border-bottom-color: rgba(176, 0, 0, 0.35);
  transform: translateY(-1px);
}

/* Nota finale più “fine” */
.footer-note{
  font-size: 0.75rem;             /* prima 0.8rem */
  padding-top: 10px;
  border-top: 1px solid #eef0f3;  /* separatore leggero */
  color: #9aa1ad;
}

/* Mobile: ancora più compatto */
@media (max-width: 480px){
  footer{ padding: 16px 0 10px; }
  .footer-grid{ gap: 10px; }
}

.footer-nav a::before{
  content: "•";
  opacity: 0.35;
  font-size: 0.95em;
  transform: translateY(-0.5px);
}


/* ===== FOOTER ONG: compatto, pulito ===== */

footer{
  padding: 18px 0 12px;
}

.footer-grid-ong{
  gap: 14px; /* più compatto */
  margin-bottom: 10px;
}

.footer-title{
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  opacity: 0.9;
}

.footer-list{
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li{
  margin-bottom: 4px;
  line-height: 1.35;
  font-size: 0.82rem;
  color: #374151;
}

.footer-label{
  font-weight: 600;
  color: #111827;
}

.footer-mini{
  margin-top: 10px;
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.5;
}

/* link nel footer: piccoli, eleganti */
.footer-nav li{ margin-bottom: 3px; }

.footer-nav a,
.footer-list a{
  font-size: 0.95rem;
  font-weight: 500;
  color: #7a0000;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease, transform .15s ease;
}

.footer-nav a:hover,
.footer-list a:hover{
  color: #b00000;
  border-bottom-color: rgba(176, 0, 0, 0.35);
  transform: translateY(-1px);
}

/* social compatti */
.footer-social{
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-social a{
  color: #444;
  font-size: 1.05rem;
  padding: 0;
  transition: transform .15s ease, color .2s ease;
}

.footer-social a:hover{
  color: #b00000;
  transform: translateY(-1px);
}

/* riga finale */
.footer-bottom{
  padding-top: 10px;
  border-top: 1px solid #eef0f3;
}

.footer-note{
  font-size: 0.75rem;
  color: #9aa1ad;
}

/* mobile */
@media (max-width: 480px){
  footer{ padding: 16px 0 10px; }
  .footer-grid-ong{ gap: 10px; }
}

/* ===== Riga legale istituzionale - versione più scura ===== */

.footer-bottom{
  padding-top: 12px;
  border-top: 1px solid #d1d5db; /* linea più visibile */
  margin-top: 10px;
  text-align: center;
}

.footer-legal-links{
  margin-bottom: 6px;
  font-size: 0.78rem;
  color: #374151; /* grigio scuro */
  font-weight: 500;
}

.footer-legal-links a{
  color: #374151; /* più scuro */
  text-decoration: none;
  transition: color .2s ease;
}

.footer-legal-links a:hover{
  color: #b00000;
}

.footer-separator{
  margin: 0 6px;
  color: #9ca3af; /* separatore visibile ma non invasivo */
}

.footer-note{
  font-size: 0.52rem;
  color: #4b5563; /* molto più leggibile */
}

.footer-links-rapidi .footer-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.footer-links-rapidi .footer-nav ul {
  display: block;
}

.footer-links-rapidi .footer-nav li {
  display: block;
  margin-bottom: 4px;
}

/* --- Eventi: stato vuoto e lista --- */
.section-intro {
  margin-top: 6px;
}

.empty-state {
  margin-top: 14px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}

.empty-state strong {
  display: block;
  margin-bottom: 6px;
}

.event-list {
  margin-top: 16px;
  list-style: none;
  padding: 0;
}

.event-list .event-item {
  padding: 14px 0;
  border-top: 1px solid #eceff3;
}

.event-list .event-item:first-child {
  border-top: 0;
}

.coming-soon {
  margin-top: 15px;
  padding: 18px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}

.coming-soon strong {
  display: block;
  margin-bottom: 8px;
}

.download-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background-color: #1e3a8a;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: #162e6d;
}

/* --- Checkbox Privacy (stile dedicato) --- */

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.privacy-check input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

.privacy-text {
  font-size: 0.85rem;   /* più piccolo */
  line-height: 1.4;
  font-weight: 400;
}

.privacy-text a {
  text-decoration: underline;
}

/* Privacy checkbox: forziamo layout e dimensioni SOLO qui */
.contact-form .privacy-row{
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  text-align: left !important;
}

.contact-form .privacy-row input[type="checkbox"]{
  margin: 3px 0 0 0 !important;   /* allinea alla prima riga */
  flex: 0 0 auto !important;
}

.contact-form .privacy-row .privacy-label{
  display: block !important;
  font-size: 0.85rem !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  margin: 0 !important;
  text-align: left !important;
}


/* Privacy checkbox — layout tipo “tutti i siti” */
.contact-form .privacy-row{
 padding: 10px !important;

  display: grid !important;
  grid-template-columns: 18px 1fr !important;
  column-gap: 10px !important;
  align-items: start !important;

  text-align: left !important;
  justify-items: start !important;
}

.contact-form .privacy-row input[type="checkbox"]{
  margin: 2px 0 0 0 !important;
  justify-self: start !important;
}

.contact-form .privacy-row .privacy-text{
  width: 100% !important;
}

.contact-form .privacy-row .privacy-label{
  display: inline !important;       /* evita “colonna” */
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;

  font-size: 10px !important;       /* piccolo */
  line-height: 1.35 !important;
  font-weight: 400 !important;
}

.contact-form .privacy-row .privacy-label a{
  text-decoration: underline;
}




/* ===== DIVENTA SOCIO ===== */
.membership-section p {
  max-width: 900px;
}

.membership-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 20px 0 24px;
}

.membership-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 18px;
}

.membership-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.membership-card ul {
  margin: 10px 0 0 18px;
}

.membership-form {
  max-width: 100%;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.membership-grid .small-field {
  max-width: 160px;
}

.membership-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 0;
  outline: none;
  background-color: #f9fafb;
}

.membership-form select:focus {
  border-color: #b00000;
  box-shadow: 0 0 0 1px rgba(176, 0, 0, 0.25);
  background-color: #ffffff;
}

.ordinario-only {
  display: none;
}

.ordinario-only.visible-ordinario {
  display: block;
}

.optional-label {
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.membership-check-row {
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .membership-grid {
    grid-template-columns: 1fr;
  }

  .membership-grid .small-field {
    max-width: 100%;
  }
}

/* ===== PAGINA CONFERMA ISCRIZIONE ===== */

.confirm-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: #f4f5f7;
}

.confirm-card {
  width: 100%;
  max-width: 720px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10), 0 1px 2px rgba(15, 23, 42, 0.05);
  padding: 34px 28px;
  text-align: center;
}

.confirm-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf3;
  color: #15803d;
  font-size: 2rem;
  border: 1px solid #bbf7d0;
}

.confirm-card h1 {
  font-size: 1.8rem;
  margin-bottom: 14px;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.confirm-card p {
  font-size: 1rem;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 12px;
}

.confirm-highlight {
  margin: 18px 0;
  padding: 14px 16px;
  background: #f9fafb;
  border-left: 4px solid #b00000;
  text-align: left;
}

.confirm-highlight p {
  margin-bottom: 8px;
}

.confirm-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.confirm-btn,
.confirm-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.confirm-btn {
  background: #111827;
  color: #ffffff;
  border: none;
}

.confirm-btn:hover {
  background: #b00000;
}

.confirm-btn-secondary {
  background: transparent;
  color: #111827;
  border: 1px solid #d1d5db;
}

.confirm-btn-secondary:hover {
  border-color: #b00000;
  color: #b00000;
}

@media (max-width: 640px) {
  .confirm-card {
    padding: 26px 18px;
  }

  .confirm-card h1 {
    font-size: 1.45rem;
  }

  .confirm-card p {
    font-size: 0.96rem;
  }

  .confirm-actions {
    flex-direction: column;
  }

  .confirm-btn,
  .confirm-btn-secondary {
    width: 100%;
  }
}


.membership-form .privacy-row {
  padding: 0 !important;
  margin: 0 0 6px 0 !important;
}

.membership-form .privacy-row + .privacy-row {
  margin-top: 0 !important;
}

.membership-form .privacy-row .privacy-label {
  margin: 0 !important;
  line-height: 1.2 !important;
}

.btn-donate {
  background: linear-gradient(135deg, #ffc439, #ffb347);
  color: #111;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.btn-donate:hover {
  background: linear-gradient(135deg, #ffb347, #ffa500);
}

/* ===== PAYPAL CARD OTTIMIZZATA ===== */

.donation-card-paypal {
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.donation-card-paypal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0070ba, #1546a0);
}

.donation-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.donation-card-paypal .fa-paypal {
  font-size: 2rem;
  color: #0070ba;
  margin-bottom: 0;
}

.donation-badge-small {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  background: #eef6ff;
  color: #1546a0;
  border: 1px solid #cfe3ff;
}

.donation-card-paypal h3 {
  margin-top: 6px;
  margin-bottom: 10px;
}

.donation-paypal-text {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 16px;
}

.paypal-donate-form {
  margin-top: 6px;
}

.btn-donate-paypal {
  width: 100%;
  gap: 8px;
  background: linear-gradient(135deg, #ffc439, #ffb347);
  color: #111827;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 24px rgba(255, 196, 57, 0.30);
}

.btn-donate-paypal:hover {
  background: linear-gradient(135deg, #ffb347, #ffa500);
  color: #111827;
  box-shadow: 0 14px 28px rgba(255, 179, 71, 0.34);
}

.btn-donate-paypal i {
  font-size: 1rem;
}

.donation-paypal-note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: #6b7280;
  text-align: center;
}

@media (max-width: 768px) {
  .donation-card-top {
    align-items: flex-start;
    flex-direction: column;
  }
}

.b-sollecitato { background:#fde68a; color:#92400e; }
