/* body {
  font-family: Arial, sans-serif;
  margin: 0;
}

header {
  display: flex;
  justify-content: flex-end;
  padding: 20px;
  background-color: white;
} */

/* Bouton call-to-action */
.cta-btn
 {
    background: #212528;
    color: white;
    border: none;
    border-radius: 25px;
    /* font-weight: bold; */
    font-family: Montserrat;
    cursor: pointer !important;
    transition: all 0.3s;
    border: solid 1px #ffc800;
}
.cta-btn:hover {
  background: #ffc8006c;
  transform: scale(1.05);
}

/* Fenêtre modale */
.modal-candidature {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
}

 .modal-content-candidature {
  background: white;
  margin: 5% auto;
  padding: 20px;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
} 

.close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
}

form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

form input, form select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.submit-btn {
  background: #457b9d;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 20px;
  border-radius: 25px;
  cursor: pointer;
}
.submit-btn:hover {
  background: #1d3557;
}

/* Zone drag & drop */
#dropZone {
  border: 2px dashed #999;
  border-radius: 10px;
  text-align: center;
  padding: 20px;
  cursor: pointer;
  margin-top: 10px;
}
#dropZone.dragover {
  background-color: #f1faee;
  border-color: #457b9d;
}

/* Style des groupes de cases à cocher */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;              /* permet le retour à la ligne si l’espace est petit */
  gap: 12px 25px;               /* espace horizontal et vertical */
  margin-top: 8px;
  background: #f8f9fa;          /* léger fond gris clair pour bien délimiter */
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 500;
  color: #333;
  user-select: none;
  transition: color 0.2s;
}

.checkbox-group label:hover {
  color: #1d3557;               /* bleu léger au survol */
}

.checkbox-group input[type="checkbox"] {
  accent-color: #457b9d;        /* couleur du check (bleu doux) */
  transform: scale(1.2);
  cursor: pointer;
}


/* profiles  */
a.portfolio-link {
    height: 27vh;
}
.img-fluid-profile {
    width: 100%;
    height: 100%;
}

@media (max-width: 1171px) {
  #portfolio .portfolio-item .portfolio-caption {
    height: 25vh;
}
}

@media (min-width: 1171px) {
  #portfolio .portfolio-item .portfolio-caption {
    height: 20vh;
}
}

#message {
  margin-top: 1rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
}

/* Message de succès */
#message.success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 10px;
  border-radius: 6px;
  opacity: 1;
}

/* Message d'erreur */
#message.error {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 10px;
  border-radius: 6px;
  opacity: 1;
}
