/* GLOBAL */
body {
  margin: 20px;
  padding: 0;
  background: #021940 url('../img/FOND-FORMULAIRE-GALA.webp') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Montserrat', sans-serif;
  color: white;
  overflow-x: hidden;
}

.gala-logo {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 40px;
}

.form-gala {
  max-width: 800px;
  margin: 80px auto;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.55);
  border-radius: 30px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.form-gala h2 {
  text-align: center;
  font-size: 28px;
  color: #FFD700;
  margin-bottom: 30px;
}

input[type="text"],
input[type="email"],
input[type="number"] {
  width: 100%;
  padding: 14px;
  margin: 12px 0;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

input[type="number"]::placeholder {
  color: #aaa;
}

/* RADIO SELECT */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 25px;
}

.radio-option {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 14px 18px;
  transition: background-color 0.3s, opacity 0.3s, border 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-option::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #FFD700;
  background: transparent;
  margin-right: 12px;
  flex-shrink: 0;
}

.radio-option input[type="radio"]:checked + label::before,
.radio-option.selected::before {
  background: #FFD700;
}

.radio-option.selected {
  border: 2px solid #FFD700;
  background-color: rgba(255, 215, 0, 0.1);
}

.radio-option .don-label {
  font-size: 16px;
  color: white;
}

.radio-option .don-label small.don-restant {
  font-size: 14px;
  color: #ccc;
  display: block;
  margin-top: 4px;
}

.radio-option label {
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.radio-option.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* CTA */
.cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.cta button {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background: linear-gradient(145deg, #d4af37, #d4af37);
  color: #000;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.cta button:hover {
  background: linear-gradient(145deg, #c6a42f, #f7d600);
}

/* Logos CB */
.paiement .logos-cb {
  display: flex;
  align-items: center;
  gap: 6px;
}

.paiement .logos-cb img {
  height: 22px;
  object-fit: contain;
  filter: brightness(1.1) contrast(1.2);
}

/* Checkbox */
.checkbox-anonyme {
  display: block;
  margin-top: 20px;
  color: white;
  font-size: 15px;
}

.checkbox-anonyme input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.2);
  accent-color: #FFD700;
}

/* Bouton générique jaune */
.btn-yellow {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background: linear-gradient(145deg, #d4af37, #d4af37);
  color: #000;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s;
  font-family: 'Montserrat', sans-serif;
}

.btn-yellow:hover {
  background: linear-gradient(145deg, #c6a42f, #f7d600);
}

.montant-don {
  font-size: 15px;
  color: #ffd700;
  font-weight: 600;
  display: block;
  margin-top: 2px;
}


/* ✅ RESPONSIVE CLEANUP */
@media screen and (max-width: 600px) {
  body {
    margin: 30px;
    padding: 0;
  }

  .form-gala {
    margin: 30px 16px;
    padding: 24px;
  }

  .gala-logo {
    max-width: 90%;
    margin: 0 auto 30px;
  }

  .form-gala h2 {
    font-size: 22px;
    text-align: center;
  }

  .radio-option {
    flex-direction: row !important; /* ✅ Forcé en ligne */
    align-items: center !important;
  }

  .radio-option label {
    display: block;
    width: 100%;
  }

  .cta {
    flex-direction: column;
    align-items: center;
  }

  .paiement {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .paiement .logos-cb {
    justify-content: center;
    gap: 10px;
  }

  .paiement .logos-cb img {
    height: 24px;
  }

  input[type="text"],
  input[type="email"],
  input[type="number"] {
    font-size: 16px;
  }
}
