/* Base */
body {
  background-color: #F8EEE0;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
}

/* Titres */
h2 {
  font-family: 'Playwrite US Trad', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: black;
}

h3 {
  font-family: 'Taviraj', serif;
  font-size: 2.2rem;
  margin-top: 0.5rem;
  color: #822538;
}

/* Texte */
.date-location {
  font-size: 1rem;
  margin-bottom: 20px;
}

.form-container {
  background-color: #F8EEE0;
  padding: 20px;
  max-width: 700px;
  margin: auto;
}

.dresscode-title {
  color: #822538;
  margin-top: 2rem;
  font-family: 'Taviraj', serif;
  font-size: 1.8rem;
  text-align: center;
}

.text-dress {
  font-size: 1rem;
  text-align: center;
}

.adresse-mariage {
  font-family: 'Playwrite US Trad', sans-serif;
  font-size: 0.9rem;
  text-align: center;
  margin-top: -10px;
}

.form-intro {
  font-family: 'Taviraj', serif;
  font-size: 1.8rem;
  text-align: center;
  color: #7B0C2A;
  margin-top: 2rem;
}

.text-intro {
  font-family: 'Taviraj', serif;
  font-size: 1rem;
  text-align: center;
}

.text-presence {
  font-family: 'Playwrite US Trad', sans-serif;
  font-size: 0.9rem;
  text-align: center;
  color:#7B0C2A;
  margin: 1rem 0;
}

/* Images */
.colibri-img {
  max-width: 60px;
  height: auto;
  display: block;
  margin: auto;
}

.img-dress {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

/* Palette couleurs */
.color-palette .color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.teal { background-color: #0e5c53; }
.mustard { background-color: #bfa62f; }
.magenta { background-color: #c02c7d; }
.burgundy { background-color: #7c1c2e; }
.peach { background-color: #eac1a2; }

/* Boutons choix */
.btn-choice {
  background-color: #822538;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  transition: all 0.3s ease;
}

.btn-choice:hover,
.btn-choice.active {
  background-color: #f3b5cd;
  color: #000;
}

/* Bouton mariage */
.btn-mariage {
  background-color: #114224;
  color: white;
  font-weight: bold;
  border-radius: 50px;
  padding: 12px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-mariage:hover {
  background-color: #f3b5cd;
  color: #000;
}

/* Formulaire */
.form-label {
  font-family: 'Sansation', sans-serif;
  font-size: 0.9rem;
  color:#7B0C2A;
}

.form-control {
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  border-radius: 8px;
}

/* Groupes de boutons */
.d-flex.flex-wrap.gap-2 {
  justify-content: center;
}

/* Media queries pour mobile */
@media (max-width: 768px) {
  h3 {
    font-size: 1.8rem;
  }
  .dresscode-title {
    font-size: 1.5rem;
  }
  .form-intro {
    font-size: 1.4rem;
  }
  .btn-choice {
    flex: 1 1 100%;
    text-align: center;
  }
}
.btn-group-left,
.d-flex.flex-wrap.gap-2 {
  justify-content: flex-start !important; /* force l'alignement à gauche */
}


/* Popup overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(50, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup box */
.popup-box {
  background-color: #FFE5E3;
  border-radius: 12px;
  padding: 30px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  font-family: 'Taviraj', serif;
  color: #822538;
}

/* Bow illustration */
.popup-bow {
  max-width: 60px;
  height: auto;
  display: block;
  margin: auto;
}

/* Button */
.popup-box button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #822538;
  color: white;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.text-popup{
  color: #000;
  font-size: 19px;
}

.popup-box button:hover {
  background-color: #f3b5cd;
  color: #000;
}
