@import url("https://fonts.googleapis.com/css2?family=Nobile:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap");

@font-face {
  font-family: "digital";
  src: url("../fonts/DigitalNumbers-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary-color: #970d05;
  --secondary-color: #0d0d0d;
  --primary-tint: #805757;
  --primary-font: "Nobile", sans-serif;
}

/* font classes */
.nobile-regular {
  font-family: "Nobile", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.nobile-medium {
  font-family: "Nobile", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.nobile-bold {
  font-family: "Nobile", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.fs-xxl {
  font-size: 5rem !important;
}

/* */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: color 0.3s ease-in-out, font-size 0.3s ease-in-out,
    background-color 0.3s ease-in-out, opacity 0.3s ease-in-out;
  font-family: "Nobile", sans-serif;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}

body {
  min-width: 370px;
  max-width: 2160px;
  margin: auto;
}

.container {
  display: flex;
}

/* left section */

section#left {
  position: relative;
  height: 100vh;
  width: 50vw;
  padding: 50px 100px;
  background: url("../images/login-img.png") no-repeat center center/cover;
  background-size: 110%;
  background-position-y: 0px;
  color: white;
}

section#left .layer {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(to bottom,
      #00000000 45%,
      rgba(0, 0, 0, 0.95) 100%);
  height: 100%;
  width: 100%;
}

section#left .logo {
  width: 194px;
}

section#left .logo img {
  width: 100%;
}

section#left .content {
  width: 100%;
  position: relative;
  bottom: -60%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  /* left: 50%; */
  /* transform: translate(-50%, -50%); */
}

section#left .content h4 {
  color: white;
  font-size: 22px;
  line-height: 24px;
  /* 150% */
  letter-spacing: 0.8px;
}

section#left .content .info-text {
  font-size: 16px;
  line-height: 24px;
  /* 150% */
  letter-spacing: 0.8px;
}

/* right section */

section#right {
  height: 100vh;
  width: 50vw;
  padding: 50px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

section#right .form {
  width: 100%;
  max-width: 430px;
}

section#right .form form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
}

section#right .form form h4 {
  font-size: 32px;
  line-height: auto;
  letter-spacing: 0.8px;
  margin-bottom: 68px;
  color: var(--primary-color);
  text-align: center;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-link {
  display: flex;
  justify-content: center;
  gap: 4px;
  font-size: 14px;
}

.form-link a {
  color: var(--primary-color);
}

.form-group label {
  font-size: 16px;
  line-height: auto;
  color: var(--secondary-color);
}

.form-group input,
.form-group select {
  height: 50px;
  padding: 12px 16px;
  border: 1px solid rgba(217, 217, 217, 0.6);
  font-size: 16px;
  line-height: auto;
  background-color: rgba(217, 217, 217, 0.13);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}

.form-group button {
  height: 50px;
  padding: 12px 16px;
  border: none;
  background-color: var(--primary-color);
  color: white;
  font-size: 16px;
  line-height: auto;
  cursor: pointer;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}

/* Si ton image est dans un conteneur spécifique, par exemple : */
.splide__slide p.info-text {
  margin-bottom: 32px;
  /* Ajuste cette valeur pour obtenir l'espace souhaité */
}

section#infos-slider {
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: max-content;
}

/* splide dots */
/* Style des points */
.splide__pagination__page {
  width: 14px;
  /* Taille personnalisée */
  height: 14px;
  background-color: #ffffff99;
  /* Couleur par défaut */
  opacity: 0.26;
  border-radius: 50%;
  /* Rond */
  margin: 0 6px;
  /* Espacement entre les points */
  transition: all 0.3s;
  /* Animation de transition */
}

.splide__pagination__page:hover {
  background-color: #ffffffb3;
  opacity: 0.7;
}

/* Point actif */
.splide__pagination__page.is-active {
  background-color: white;
  /* Couleur du point actif */
  opacity: 1;
  transform: scale(1.2);
  /* Taille agrandie pour l’actif */
}

.sign-in-container {
  display: flex;
  min-height: 100vh;
  height: fit-content;
}

section.validation {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 60px;
  width: 375px;
  background-color: #eee;
  padding: clamp(2rem, 50px, 100px);
  padding-top: 100px;
}

section.validation .logo {
  margin-bottom: 20px;
}

section.validation .logo img {
  width: 15rem;
}

.validation-steps {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.validation-steps .validation-step {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
}

.validation-steps .validation-step .step-state {
  height: 50px;
  width: 50px;
  padding: 16px;
  border-radius: 5px;
  border: 1px dashed #970d05;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: calc(2rem + 2px);
  font-weight: 500;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.validation-steps .validation-step .content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #000000;
}

.validation-steps .validation-step .content h5 {
  font-size: 1rem;
  font-weight: 500;
}

.validation-steps .validation-step .content p {
  font-size: 0.8rem;
  color: #171717;
}

.validation-steps .validation-step.active .step-state {
  border: 1px solid #970d05;
  background-color: #970d05;
  color: #ffffff;
}

span.timeline {
  position: absolute;
  left: 9%;
  top: 100%;
  width: 1px;
  height: 90px;
  border-left: 1px dashed #970d05;
}

section.sign-in {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 70%;
  padding: 6.25rem;
}

section.sign-in .title {
  font-size: 2rem;
  font-weight: 500;
  color: #970d05;
  text-transform: uppercase;
}

section.sign-in .form-steps {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
}

section.sign-in .form-steps .step {
  display: inline-block;
  width: 25%;
  height: 5px;
  background-color: #d9d9d9;
  border-radius: 5px;
  cursor: pointer;
}

section.sign-in .form-steps .step.active {
  background-color: #970d05;
}

form {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-container {
  display: none;
  /* flex-direction: column; */
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 50px;
}

.form-container.active {
  display: flex;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc(50% - 16px);
}

.form-group.full-width {
  width: 100% !important;
}

.form-group label {
  font-size: 1rem;
  font-weight: 400;
  color: #000000;
}

.form-group label.required::after {
  content: "*";
  color: #970d05;
  padding-left: 8px;
}

.form-group input:focus {
  border: 1px solid #970d05;
}

.form-group input::placeholder {
  color: #d9d9d9;
}

.form-group button {
  width: fit-content;
  padding: 12px 42px;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
}

button#next {
  background-color: #970d05;
}

button#prev {
  background-color: #000000;
}

.form-group button img {
  width: 1rem;
  height: 1rem;
}

.form-group button:hover {
  opacity: 0.8;
}

.form-group button:disabled {
  background-color: #d9d9d9 !important;
  color: #fefefe !important;
  cursor: not-allowed;
}

.form-group button:disabled:hover {
  background-color: #d9d9d9;
}

.btns {
  position: absolute;
  bottom: -10%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 38px;
}

.btns .form-group {
  width: fit-content;
}

.btn {
  text-decoration: none;
  /* text-transform: uppercase; */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 2.5rem;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
}

.btn.btn-red {
  background-color: #970d05;
}

.btn.btn-red:hover {
  opacity: 0.8;
}

.btn.btn-black {
  background-color: #000000;
}

.btn.btn-black:hover {
  opacity: 0.8;
}

.validation-illustration {
  height: 300px;
}

.validation-img {
  height: 100%;
}

.validation-btn {
  margin-top: 16px;
  width: 100%;
  max-width: 600px;
}

.mailSent {
  max-width: 600px;
}

.my-2 {
  margin: 10px 0 10px 0;
}

.full-width {
  width: 100% !important;
}

/* concours ouvert */
header {
  display: flex;
  padding: 24px 100px;
  min-width: 370px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

header .logo {
  /* width: 194px; */
}

header .logo img {
  height: 37px;
  /* width: 100%; */
}

header nav {
  display: flex;
  gap: 32px;
}

header nav .profile {
  display: flex;
  gap: 8px;
}

.header-title {
  background-color: #f3f3f3;
  padding: 50px 100px;
  text-align: center;
}

.header-title .title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
}

.header-title hr {
  width: 125px;
  background-color: #970d05;
  border: 0;
  height: 5px;
  margin: 11px auto;
}

.container.concours-ouvert {
  min-width: 370px;
  display: flex;
  flex-direction: column;
  padding: 50px 100px;
  gap: 32px;
}

.container.concours-ouvert .title {
  font-size: 2rem;
  font-weight: 500;
  color: #970d05;
  text-transform: uppercase;
}

.cards {
  display: flex;
  gap: 32px;
  justify-content: space-between;
  align-items: start;
  /* padding: 50px 100px; */
  flex-wrap: wrap;
  width: 100%;
}

.card {
  width: 100%;
  max-width: 595px;
  padding: 32px;
  border: 1px solid #d9d9d9;
  /* box-shadow: -2px 3px 31px -3px rgba(0, 0, 0, 0.25); */
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  height: 500px;
  justify-content: space-between;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #970d05;
}

.conditions,
.frais {
  /* margin-top: 24px; */
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.conditions .title,
.frais .title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.conditions .title img,
.frais .title img {
  width: 1rem;
  height: 1rem;
}

.conditions .title h5,
.frais .title h5 {
  font-size: 1rem;
  font-weight: 500;
  color: #000000;
}

.conditions ul {
  list-style-image: url("../icons/list-arrow.svg");
  padding-left: 32px;
}

.conditions ul li {
  font-size: 0.8rem;
  color: #000000;
}

.frais p {
  font-size: 0.8rem;
  color: #000000;
}

.frais p span img {
  width: 1.5rem;
  height: 1.5rem;
}

.paiement {
  padding: 12px 100px;
}

.paiement .title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #970d05;
  text-transform: uppercase;
}

.paiement-container {
  /* margin: 50px auto; */
  margin: 0 auto;
  display: flex;
  /* gap: 32px; */
  /* padding: 32px; */
  border-radius: 20px;
  border: 1px solid #d9d9d9;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  width: fit-content;
  height: fit-content;
}

.paiement-infos {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 100px 42px 42px 42px;
  max-width: 500px;
  width: 100%;
  height: 500px;
}

.paiement-infos .title {
  font-size: 1rem;
  font-weight: 500;
  color: #000000;
  text-align: center;
}

.paiement-infos .infos {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  /* gap: 8px; */
}

.paiement-infos .infos .info-text {
  font-size: 1rem;
  color: #000000;
}

.facture {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.facture .element {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #d9d9d9;
}

.facture .element.total {
  padding-top: 8px;
  padding-bottom: 0;
  border-bottom: none;
  font-weight: 500;
  text-transform: uppercase;
  color: #970d05;
}

.paiement-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  background-color: #f5f5f5;
  padding: 42px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  max-width: 500px;
}

.om-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.om-logo img {
  width: 110px;
}

.btn.btn-green {
  background-color: #246c47;
}

.btn.btn-green:hover {
  opacity: 0.8;
}

.nota-bene {
  font-size: 0.8rem;
  color: #970d05;
}

/* Hide the default file input */
.file-upload {
  display: none;
}

/* Style the label to look like a button */
.custom-file-upload {
  display: flex;
  align-items: center;
  padding: 12px;
  cursor: pointer !important;
  color: white;
  border-radius: 5px;
  border: 1px solid #d9d9d9;
  gap: 32px;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.custom-file-upload .label-icon {
  margin-right: 8px;
}

.container.upload {
  position: relative;
  width: 100%;
  /* min-width: 400px; */
  padding: 24px 100px;
  flex-direction: column;
  gap: 32px;
}

.container.upload .back-btn {
  /* top: -30px; */
}

.container h4.heading {
  font-size: 1.5rem;
  font-weight: 500;
  color: #970d05;
  text-transform: uppercase;
}

.upload {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.upload .info {
  display: flex;
  gap: 12px;
}

.upload .info .info-icon {
  width: 3.5rem;
  height: 3.5rem;
}

.upload .info .info-icon img {
  width: 100%;
}

.upload .info .info-text {
  font-size: 1rem;
  line-height: 1.5rem;
}

.upload .title {
  font-size: 1.3rem;
  font-weight: 500;
  color: #000000;
  text-transform: uppercase;
}

.upload form {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.upload form .form-group {
  gap: 12px;
}

.upload form .form-group label {
  font-size: 1rem;
  font-weight: 500;
  color: #000000;
}

.upload form .form-group .warning {
  font-size: 0.6rem;
  color: #970d05;
}

.upload form .form-group .custom-file-upload .label-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 6px;
  background: linear-gradient(42deg,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(102, 102, 102, 0.28) 61.21%);
  box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.upload form .form-group .custom-file-upload .label-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.upload form .form-group .custom-file-upload .label-text .title {
  font-size: 1rem;
  font-weight: 500;
  color: #000000;
  text-transform: none;
}

.upload form .form-group .custom-file-upload .label-text .info-text,
.upload form .form-group .nota-bene {
  font-size: 0.8rem;
  color: #767676;
}

.upload-btn {
  position: relative;
}

.upload-btn button {
  margin-left: auto;
}

.back-btn {
  /* position: relative; */
  /* top: 50px; */
  /* left: 100px; */
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #000000;
  text-decoration: none;
  margin: 16px 75px;
  width: 100%;
}

.back-btn img {
  width: 1.4rem;
  height: 1.4rem;
}

.back-btn .text {
  font-size: 1rem;
  font-weight: 500;
  color: #000000;
}

.back-btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
  -webkit-transform: scale();
  -moz-transform: scale();
  -ms-transform: scale();
  -o-transform: scale();
}

.pastilles {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 16px;
}

.pastilles .pastille {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  border-radius: 0;
  width: 100%;
  padding: 12px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

.pastilles .pastille.accepted {
  background-color: #33cf7e;
  color: #ffffff;
  border: 1px solid #028a44;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.pastilles .pastille.pending {
  background-color: #b97912;
  color: #ffffff;
  border: 1px solid #a2680a;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.pastilles .pastille.rejected {
  background-color: #ff4d4d;
  color: #ffffff;
  border: 1px solid #d32f2f;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.pastilles .pastille .to-correct {
  width: 1.5rem;
  height: 1.5rem;
}

.pastilles .num-depot span {
  font-size: 1.5rem;
  font-weight: 500;
  color: #970d05;
}

.form-group.validation-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 32px;
  width: 100%;
}

.form-group.validation-icon img {
  width: 10rem;
  height: 10rem;
}

.form-group.validation-icon img {
  width: 10rem;
  height: 10rem;
}

.rejection-object {
  display: flex;
  gap: 12px;
}

.rejection-object .title {
  font-size: 1rem !important;
  font-weight: 500;
  color: var(--primary-color);
}

.container.candidate-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 24px 100px;
}

.container.candidate-info .title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #970d05;
  text-transform: uppercase;
}

.candidate-info .profile-detail {
  display: flex;
  justify-content: space-between;
  gap: 100px;
}

.candidate-info .profile-detail .profile-image {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: 24px;
  width: fit-content;
}

.candidate-info .profile-detail .profile-image img {
  width: 80%;
  border-radius: 50%;
}

.candidate-info .profile-detail .profile-info {
  width: 65vw;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.candidate-info .profile-detail .profile-info .subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: #000000;
}

.candidate-info .profile-detail .profile-info .info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.candidate-info .profile-detail .profile-info .info .form-section-title {
  font-size: 1rem;
  color: var(--primary-color);
  text-transform: uppercase;
  display: block;
  width: 100%;
}

.candidate-info .profile-detail .profile-info .info .form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
}

.hidden {
  display: none !important;
}

.to-hide {
  display: flex !important;
}

.displayed {
  display: flex !important;
}

.text-center {
  text-align: center;
}

.error-msg {
  color: #970d05;
  font-size: small;
}

.toggle-password {
  position: absolute;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
}

.toggle-password-signup {
  top: 22%;
}

.loading-test {
  overflow-x: hidden;
}

.loading-test .quater-circle {
  position: absolute;
  z-index: -1;
  top: -105vh;
  left: -100vh;
  width: 200vh;
  height: 200vh;
  background-color: rgba(151, 13, 5, 0.1);
  border-radius: 100%;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 100px;
}

header .logo img {
  width: 100%;
}

header nav {
  display: flex;
  gap: 32px;
}

header nav ul {
  display: flex;
  gap: 32px;
}

header nav ul li {
  list-style: none;
}

header nav ul li a {
  text-decoration: none;
  color: #000000;
}

header nav ul li a:hover {
  color: #970d05;
}

header nav ul .nav-btn {
  text-decoration: none;
  background-color: black;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

header nav ul .nav-btn:hover {
  scale: 1.02;
}

.main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 100px;
  height: 75vh;
}

.main .cfj-concours img {
  margin-top: -100px;
  /* width: 25vw; */
}

.main .cfj-concours .annee-concours {
  font-size: 9rem;
}

.countdown-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 64px;
}

.countdown-container .countdown-title {
  font-size: 34px;
  font-weight: 400;
}

.countdown-container .countdown {
  display: flex;
  gap: 32px;
}

.countdown-container .countdown .countdown-item {
  height: 100px;
  width: 100px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  background-color: #970d05;
  color: white;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.countdown-container .countdown .countdown-item .countdown-number {
  font-size: 34px;
  font-weight: bold;
  font-family: "digital", sans-serif;
}

.countdown-container .countdown .countdown-item .countdown-text {
  font-size: 14px;
  font-weight: normal;
}

.loading-page-title {
  font-size: 3rem;
}

/* --- Ajouts spécifiques pour espace-etudiant.php --- */

/* Formulaire d'inscription */
.form-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin: 2rem 0;
}

.form-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2rem 2.5rem;
  width: 100%;
  max-width: 900px;
}

.form-header {
  margin-bottom: 2rem;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.form-group {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  flex: 1 1 100%;
  width: 100%;
}

.form-radio-group {
  display: flex;
  gap: 24px;
  margin-top: 0.5rem;
}

.form-section {
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  background: #f9f9f9;
}

.form-section legend {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-actions {
  margin-top: 2rem;
}

textarea {
  min-height: 60px;
  resize: vertical;
}

/* Paiement */
.paiement {
  padding: 2rem 0;
}

.paiement-container {
  margin: 0 auto;
  display: flex;
  border-radius: 20px;
  border: 1px solid #d9d9d9;
  width: fit-content;
  height: fit-content;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.paiement-infos {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 400px;
  width: 100%;
  justify-content: center;
}

.paiement-infos .title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
}

.paiement-infos .infos {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.facture {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.facture .element {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #d9d9d9;
}

.facture .element.total {
  padding-top: 8px;
  padding-bottom: 0;
  border-bottom: none;
  font-weight: 600;
  text-transform: uppercase;
  color: #246c47;
}

.paiement-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  background-color: #f5f5f5;
  padding: 2rem;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  max-width: 400px;
  justify-content: center;
}

.paiement-form .form-group label {
  font-weight: 500;
  color: var(--primary-color);
}

.paiement-form .form-group input {
  height: 44px;
  border-radius: 5px;
  border: 1px solid #d9d9d9;
  padding: 0 12px;
  font-size: 1rem;
  background: #fff;
}

.paiement-form .form-group input:focus {
  border-color: var(--primary-color);
  outline: none;
}

.paiement-form .form-group.text-center {
  margin-top: 1rem;
}

/* Validation paiement */
.validation.text-center {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2.5rem 2rem;
  max-width: 500px;
  margin: 3rem auto !important;
}

.validation .form-group.validation-icon img {
  width: 7rem;
  height: 7rem;
}

.validation h4 {
  margin: 1.5rem 0 0.5rem 0;
  color: #33cf7e !important;
  font-size: 1.3rem;
}

.validation span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
}

.validation p {
  margin-bottom: 1.5rem;
  color: #333;
}

.validation .btn {
  margin-top: 1rem;
}

/* Diplômes/langues dynamiques PREMIUM */
.diplome-block,
.langue-block {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  padding-top: 22px;
}

.diplome-fields, .langues-fields {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}


.diplome-block .form-group,
.langue-block .form-group {
  margin-bottom: 0;
  width: 100%;
}

.diplome-block .form-group label,
.langue-block .form-group label {
  font-size: 0.98rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.diplome-block .form-group input,
.langue-block .form-group input {
  background: #f7f7fa;
  border: 1px solid #e3e3e3;
  border-radius: 7px;
  font-size: 1rem;
  padding: 13px 14px;
  transition: border 0.2s;
}

.diplome-block .form-group input:focus,
.langue-block .form-group input:focus {
  border: 1.5px solid #970d05;
  background: #fff;
}

.diplome-block .remove-diplome-btn,
.langue-block .remove-langue-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  align-self: flex-start;
  background: #fff;
  color: #970d05;
  border: 2px solid #f0f0f0;
  border-radius: 50%;
  font-size: 1.5rem;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(151,13,5,0.04);
  z-index: 2;
}
.diplome-block .remove-diplome-btn:hover,
.langue-block .remove-langue-btn:hover {
  background: #970d05;
  color: #fff;
  border-color: #970d05;
  box-shadow: 0 2px 8px rgba(151,13,5,0.13);
}

.btn.btn-add {
  background: #f5f5f5;
  color: black;
  border-bottom: 1px solid black;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 0;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.7rem 1.5rem;
  transition: background 0.2s, color 0.2s, border 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}
.btn.btn-add:hover {
  background-color: #e4e4e4;
}

@media (max-width: 900px) {
  .diplome-block,
  .langue-block {
    flex-direction: column;
    gap: 12px;
    padding-top: 22px;
  }
  .diplome-block .remove-diplome-btn,
  .langue-block .remove-langue-btn {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 700px) {
    .diplome-block,
  .langue-block {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .diplome-block .remove-diplome-btn,
  .langue-block .remove-langue-btn {
    align-self: center;
    margin: 14px 0 0 0;
  }
  .diplome-block .form-group,
  .langue-block .form-group {
    width: 100%;
  }

  .btn.btn-add {
    width: 100%;
    justify-content: center;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .form-card,
  .paiement-container,
  .validation.text-center {
    max-width: 98vw;
    padding: 1rem;
  }
  .paiement-infos,
  .paiement-form {
    max-width: 98vw;
    padding: 1rem;
  }
}
/* --- Correction responsive 0-700px espace étudiant --- */
@media (max-width: 700px) {
  .form-row {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 0.7rem;
  }
  .form-group,
  .form-group.full-width {
    width: 100% !important;
    min-width: 0;
    flex: 1 1 100%;
    gap: 8px;
  }
  .form-group label {
    font-size: 1rem;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    font-size: 1rem;
    padding: 12px 10px;
    height: 44px;
    border-radius: 5px;
  }
  .form-group textarea {
    height: auto;
    min-height: 60px;
    resize: vertical;
  }
  .form-actions {
    margin-top: 1.2rem;
  }
  .btn, button {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 8px;
    font-size: 1rem;
    padding: 0.9rem 1rem;
  }
  .form-radio-group {
    flex-direction: column;
    gap: 8px;
  }
  .paiement-container,
  .form-card,
  .validation.text-center {
    max-width: 100vw;
    width: 100%;
    padding: 1rem 0.5rem;
    box-sizing: border-box;
  }
  .paiement-infos,
  .paiement-form {
    max-width: 100vw;
    width: 100%;
    padding: 1rem 0.5rem;
    box-sizing: border-box;
    border-radius: 0;
    gap: 16px;
  }
  .paiement-form .form-group input {
    width: 100%;
    min-width: 0;
    font-size: 1rem;
    height: 44px;
  }
  .facture .element,
  .facture .element.total {
    font-size: 1rem;
    gap: 8px;
  }
  .validation .form-group.validation-icon img {
    width: 4.5rem;
    height: 4.5rem;
  }
}

/* Pour éviter les débordements horizontaux */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

@media screen and (max-width: 1422px) {
  header {
    padding: 25px 50px;
  }

  .container.concours-ouvert {
    padding: 50px 50px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .card {
    width: 100%;
    height: fit-content;
  }
}

@media screen and (max-width: 1250px) {
  .main {
    flex-direction: column-reverse;
    height: fit-content;
    align-items: start;
    justify-content: start;
    gap: 32px;
  }

  .main .cfj-concours img {
    margin-top: 0;
    width: 30vh;
  }

  .main .cfj-concours .annee-concours {
    font-size: 6rem;
  }
}

@media screen and (max-width: 1170px) {
  section#left {
    background-size: 140%;
  }

  .candidate-info .profile-detail .profile-info {
    width: 55vw;
  }
}

@media screen and (max-width: 1120px) {
  .container.upload {
    padding: 24px 75px;
  }

  section#right,
  section#left {
    padding: 50px 50px;
  }
}

@media screen and (max-width: 1024px) {
  .sign-in-container {
    flex-direction: column;
  }

  .sign-in-container .validation {
    display: block;
    padding: 50px;
    padding-bottom: 0;
    background-color: #fff;
    height: fit-content;
  }

  .sign-in-container .validation .validation-step {
    display: none;
  }

  .sign-in-container .sign-in {
    width: 100%;
    padding: 50px;
  }

  .btns {
    position: initial;
  }

  .container.upload {
    padding: 24px 25px !important;
  }

  .back-btn {
    top: 0px;
    left: 50px;
  }

  .back-btn {
    margin-left: 25px;
  }
}

@media screen and (max-width: 960px) {
  .upload form {
    display: flex;
    flex-direction: column;
  }

  .upload form .form-group {
    width: 100%;
  }

  .upload-btn {
    position: initial;
  }

  .upload-btn button {
    position: initial;
    width: 100%;
  }

  .container.candidate-info {
    padding: 24px 50px;
  }

  .candidate-info .profile-detail {
    flex-direction: column;
    gap: 32px;
    width: 100%;
  }

  .candidate-info .profile-detail .profile-info {
    width: 100%;
  }

  .candidate-info .profile-detail .profile-image {
    flex-direction: row;
    width: fit-content;
    justify-content: space-between;
  }

  .candidate-info .profile-detail .profile-image p.username {
    text-wrap: nowrap;
  }

  .candidate-info .profile-detail .profile-image img {
    width: 100px;
  }
}

@media screen and (max-width: 950px) {
  .paiement-form {
    padding: 42px 24px;
  }

  .paiement-infos {
    padding: 100px 24px 24px 24px;
  }

  .upload h4.heading {
    font-size: 1.3rem;
  }

  .upload .info .info-text {
    font-size: 0.8rem;
  }

  section#left {
    width: 40vw;
    background: url("../images/red_bg.jpg") no-repeat center center/cover;
  }

  section#right {
    width: 60vw;
  }

  section#left .content h4.title {
    font-size: 1.1rem;
  }

  section#left .content .info-text {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 830px) {
  .paiement h4.title {
    font-size: 1.3rem;
  }

  .paiement-container {
    flex-direction: column;
  }

  .paiement-infos {
    height: fit-content;
    padding: 42px 24px;
  }

  .paiement-infos .infos {
    gap: 50px;
  }

  .paiement-form .om-logo img {
    width: 50px;
  }

  .container.upload {
    padding: 24px 50px;
  }
}

@media screen and (max-width: 780px) {
  section#left .content {
    bottom: -59%;
  }

  section#left .content h4.title {
    font-size: 0.9rem;
  }

  section#left .content .info-text {
    font-size: 0.6rem;
  }

  section#left .content {
    gap: 16px;
  }
}

@media screen and (max-width: 720px) {
  section#left .content {
    display: none;
  }

  section#left {
    width: 40vw;
    background: none;
  }

  section#left .layer {
    display: none;
  }

  .container.connexion {
    flex-direction: column;
    min-width: 400px;
  }

  section#left {
    height: fit-content;
    width: 100%;
    padding: 50px 100px;
  }

  section#right {
    width: 100vw;
    height: fit-content;
    padding: 32px 100px;
  }

  section#right .form {
    max-width: none;
  }

  section#right .form form h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    text-align: left;
  }
}

@media screen and (max-width: 624px) {
  .paiement {
    padding: 12px 24px;
  }

  .paiement-infos .infos,
  .paiement-infos .infos .info-text {
    font-size: 0.8rem;
  }

  .paiement-form .form-group label {
    font-size: 0.8rem;
  }

  .paiement-form .form-group input {
    height: 40px;
  }

  .candidate-info .profile-detail .profile-image {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }


  .sign-in-container .validation {
    padding: 25px 50px 0 50px;
  }

  .sign-in-container .sign-in {
    padding: 25px 50px;
  }

  .form-container {
    margin-top: 25px;
  }
}

@media screen and (max-width: 620px) {
  .btn {
    padding: 0.7rem 1rem !important;
    font-size: 0.8rem;
  }

  header {
    padding: 25px 25px;
    width: 100%;
  }

  .main {
    padding: 50px 25px;
  }

  .countdown-container {
    gap: 32px;
  }

  .countdown-container .countdown {
    gap: 12px;
  }

  .countdown-container .countdown-title {
    font-size: 1.5rem;
  }

  .countdown-container .countdown .countdown-item {
    height: 80px;
    width: 80px;
  }

  .countdown-container .countdown .countdown-item .countdown-number {
    font-size: 24px;
  }

  .countdown-container .countdown .countdown-item .countdown-text {
    font-size: 12px;
  }

  header .header {
    gap: 32px;
  }

  header .header nav {
    gap: 16px;
  }

  .container.concours-ouvert {
    padding: 50px 25px;
  }

  .card-title {
    font-size: 1rem;
  }

  .conditions .title h5,
  .frais .title h5 {
    font-size: 0.8rem;
  }

  .container.concours-ouvert .title {
    font-size: 1.5rem;
  }

  .container.candidate-info {
    padding: 24px 25px;
  }
}

@media screen and (max-width: 580px) {
  .form-container {
    flex-direction: column;
  }

  .form-group {
    width: 100%;
  }

  .upload form .form-group .custom-file-upload .label-icon {
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
  }

  .upload form .form-group .custom-file-upload .label-text .title {
    font-size: 0.85rem;
  }

  .upload form .form-group .custom-file-upload .label-text .info-text {
    font-size: 0.65rem;
  }

  section#left {
    padding: 25px 50px;
  }

  section#left .logo img,
  section.validation .logo img {
    width: auto;
    height: 37px;
  }

  section#right {
    padding: 25px 50px;
  }

  section#right .form {
    min-width: 300px;
  }

  section#right .form form .form-group label {
    font-size: 0.9rem;
  }

  section#right .form form h4,
  section.sign-in .title {
    font-size: 1.2rem;
  }

  .header-title {
    padding: 25px 25px;
  }

  .header-title .title {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .back-btn {
    margin-left: 25px;
  }

  section.sign-in .back-btn {
    margin-left: 100px;
  }

  .pastilles .pastille {
    flex-wrap: wrap;
    gap: 12px;
  }
}

.alert {
  color: var(--primary-color);
}

.fs-sm {
  font-size: 0.8rem;
  color: #767676;
  font-family: "Nobile", sans-serif;
  font-weight: 400;
  font-style: normal;
}