.table-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 136, 0, 0.5);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 25px rgba(255, 136, 0, 0.3);
  backdrop-filter: blur(6px);
  width: 100%;
  max-width: 800px;
  overflow-x: auto;
}

@media (max-width: 900px) {
 
}

@media (max-width: 500px) {
.table-container {
  width : 85%;

}
}


.tableau-contrat {
  margin-top: 60px;
}
h2 {
  text-align: center;
  color: #ff8800;
  text-shadow: 0 0 10px rgba(255, 136, 0, 0.8);
  margin-bottom: 25px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 136, 0, 0.3);
}

th {
  color: #ffb347;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* --- INPUTS ET SELECT --- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 2px solid rgba(255, 136, 0, 0.5);
  background: rgba(255, 136, 0, 0.2);
  color: #000;
  font-size: 1rem;
  transition: all 0.3s ease;
}



input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #ff8800;
  box-shadow: 0 0 10px rgba(255, 136, 0, 0.6);
  background: rgba(255, 136, 0, 0.1);
}

@media (max-width: 500px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    width: 85%;       /* s’adapte à 85% du conteneur */
    box-sizing: border-box; /* pour que padding et border soient inclus dans la largeur */
  }

  .btn-futuristes {
    width: 85%;       /* bouton aussi */
  }
}

.radio-group {
  display: flex;
  gap: 25px;           /* espace entre Oui / Non */
  align-items: center; /* aligne verticalement tous les labels */
  flex-wrap: wrap;
}

.radio-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: 'Orbitron', sans-serif;
  color: #ffb347;
}

.radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.radio-label .custom-radio {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 136, 0, 0.6);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 6px rgba(255, 136, 0, 0.4);
  flex-shrink: 0;
}

.radio-label input[type="radio"]:checked + .custom-radio {
  background: radial-gradient(circle, #ff8800 35%, #ffb347 80%);
  box-shadow: 0 0 15px rgba(255, 136, 0, 0.9), 0 0 30px rgba(255, 136, 0, 0.5);
  border-color: #ff8800;
}

@keyframes pulseRadio {
  0% {
    box-shadow: 0 0 10px rgba(255, 136, 0, 0.4), 0 0 25px rgba(255, 136, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 136, 0, 0.8), 0 0 35px rgba(255, 136, 0, 0.5);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 136, 0, 0.4), 0 0 25px rgba(255, 136, 0, 0.2);
  }
}


.presence-jour {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 5px;
}

.presence-jour .jour {
  display: inline-block;
  width: 80px; /* largeur fixe pour aligner les jours */
  text-align: right;
}
}
input[type="radio"] {
  accent-color: #ff8800; /* pour Chrome/Edge */
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* --- TEXTAREA --- */
textarea {
  resize: vertical;
  min-height: 80px;
}

/* --- BOUTON --- */
/* Effet de pulsation lumineuse sur le bouton futuriste */
.btn-futuristes {
  margin-top: 25px;
  width: 100%;
  background: linear-gradient(135deg, #ff7b00, #ffb347);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 30px;
  font-size: 1.1rem;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 136, 0, 0.6),
              inset 0 0 5px rgba(255, 255, 255, 0.3);
  cursor: pointer;
  text-transform: uppercase;

  /* 🔥 Animation de pulsation */
  animation: pulseGlow 2.5s infinite ease-in-out;
}

/* Effet au survol (encore plus lumineux) */
.btn-futuristes:hover {
  background: linear-gradient(135deg, #ffa733, #ff6a00);
  box-shadow: 0 0 25px rgba(255, 136, 0, 0.9),
              inset 0 0 8px rgba(255, 255, 255, 0.5);
  transform: scale(1.03);
  animation: none; /* stop la pulsation pendant le hover */
}

/* Animation keyframes */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 15px rgba(255, 136, 0, 0.5),
                inset 0 0 5px rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 136, 0, 0.9),
                inset 0 0 10px rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 15px rgba(255, 136, 0, 0.5),
                inset 0 0 5px rgba(255, 255, 255, 0.3);
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
  body {
    padding: 20px;
  }

  table, th, td {
    display: block;
    width: 100%;
  }

  th {
    margin-top: 15px;
  }

  td {
    border: none;
    padding: 5px 0 15px;
  }

  .radio-group {
    flex-wrap: wrap;
  }
}

.image_dessus {

position : relative;
left : auto;
top :50px;
margin-bottom :10px
}

.image_dessus img {

  width : 300px;
height :auto;
}

@media (max-width: 900px) {
 
}

@media (max-width: 500px) {

.image_dessus img{

  width :200px;
}

.image_dessus {
top : 38px;

 }

}

/* Clignotement rouge "alerte" */
@keyframes clignoter-rouge {
  0%, 50%, 100% { 
    color: #ff0000; 
    text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px #ff0000; 
  }
  25%, 75% { 
    color: transparent; 
    text-shadow: none; 
  }
}

.alerte-clignotante {
  animation: clignoter-rouge 1s infinite;
  font-weight: bold;
}

/* Clignotement vert foncé avec contour néon */
@keyframes clignoter-vert-futuriste {
  0%, 50%, 100% { 
    color: #00aa00; /* vert plus foncé */
    text-shadow: 
      0 0 5px #39ff14, 
      0 0 10px #39ff14, 
      0 0 20px #39ff14, 
      0 0 40px #39ff14; 
  }
  25%, 75% { 
    color: transparent; 
    text-shadow: none; 
  }
}

.futuriste-clignotante {
  animation: clignoter-vert-futuriste 1.5s infinite; /* clignotement plus lent */
  font-weight: bold;
}

.carte-avis {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.avis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.avis-identite strong {
    font-size: 18px;
}

.avis-date {
    font-size: 12px;
    color: #666;
}

.avis-periode {
    font-size: 14px;
}

.label {
    font-weight: 600;
    margin-right: 5px;
}

.avis-note {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.avis-note .star-display {
    width: 25px;
    height: 25px;
    margin-right: 2px;
    opacity: 0.3;
}

.avis-note .star-display.active {
    opacity: 1;
}

.avis-commentaire {
    margin-bottom: 10px;
}

.avis-photo img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 8px;
    margin-top: 5px;
}
