* {
        box-sizing: border-box;
      }

::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

html {
    scrollbar-width: none;
}

body, .content, .modal-body, .accordion-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html, body {
    touch-action: pan-x pan-y; 
    overscroll-behavior: none;
    -webkit-text-size-adjust: 100%;
}

@media screen and (max-width: 768px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}

@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100;
  src: url("../fonts/montserrat-100.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 100;
  src: url("../fonts/montserrat-100italic.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 200;
  src: url("../fonts/montserrat-200.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 200;
  src: url("../fonts/montserrat-200italic.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/montserrat-300.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 300;
  src: url("../fonts/montserrat-300italic.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/montserrat-regular.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/montserrat-italic.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/montserrat-500.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 500;
  src: url("../fonts/montserrat-500italic.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/montserrat-600.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 600;
  src: url("../fonts/montserrat-600italic.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/montserrat-700.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 700;
  src: url("../fonts/montserrat-700italic.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/montserrat-800.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 800;
  src: url("../fonts/montserrat-800italic.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/montserrat-900.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 900;
  src: url("../fonts/montserrat-900italic.woff2") format("woff2");
}
:root {
  --cl-primary: #e3262d;
  --cl-primary-hover: #a2151a;
  --cl-primary-light: #fbdadc;
  --cl-secondary: #f1f1f1;
  --cl-footer: #e3262d;
  --cl-danger: #620000;
  --cl-safe: #118e00;
  --bg-primary: #f1f1f1;
  --bg-secondary: #ffffff;
  --bg-grey: #eeeeee;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-block-start: 0;
  margin-block-end: 0;
  color: #000;
}
p {
  line-height: 1.4;
}
a:hover {
  text-decoration: none;
}
select,
input,
button,
textarea {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  -ms-appearance: none !important;
  -webkit-tap-highlight-color: transparent !important;
  transition: all 0.2s ease;
  font-family: Montserrat, Arial, sans-serif !important;
}
input,
textarea,
button,
select {
  user-select: auto;
  -webkit-user-select: auto;
}
input[type="checkbox"]:not(:checked) {
  border: 1px solid black;
  min-width: 18px;
  min-height: 18px;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  border-radius: 3px;
  padding: 0;
}
input[type="checkbox"]:checked {
  border: 1px solid var(--cl-primary);
  min-width: 18px;
  min-height: 18px;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  border-radius: 3px;
  background: var(--cl-primary);
  padding: 0;
}
html {
  height: 100%;
  font-family: Montserrat, Arial, sans-serif !important;
}
body {
  background-color: var(--bg-primary);
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  align-items: center;
  background-image: url(/img/fond-decoratif.webp);
  background-repeat: no-repeat;
}
@media (max-width: 600px) {
  body {
    height: auto;
    overflow: auto !important;
  }
}
.sidebar.open {
border-radius:0 24px 24px 0;
      }
.container {
  background: #fff;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  box-sizing: border-box;
  position: relative;
  min-width: 620px;
}
.main-header {
  width: 100%;
  background-color: #ffffff;
  padding: 1rem 0;
  display: flex;
  justify-content: center; /* Parfait, ceci centre le logo */
  align-items: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.main-header .logo {
  max-height: 50px;
  width: auto;
}
.content-wrapper {
  width: 100%;
  flex-grow: 1;
  display: grid;
  place-items: center;
  padding: 1rem 0 2rem 0;
}
.main-footer {
  width: 100%;
  background-color: var(--cl-footer);
  color: #aaa;
  padding: 1.5rem 2rem;
  box-sizing: border-box;
  flex-shrink: 0;
}
.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em;
}
.footer-right {
  display: flex;
  gap: 20px;
}
.footer-right a {
  color: #eee;
  text-decoration: none;
}
.footer-right a:hover {
  text-decoration: underline;
}
.header {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  position: relative;
}
.header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 84px;
  height: 18px;
  background: linear-gradient(
    90deg,
    var(--cl-primary-hover) 0%,
    var(--cl-primary) 60%,
    var(--cl-primary) 100%
  );
  border-radius: 99px;
}

h1 {
  margin: 0;
}
.titre-partie-candidature,
.titre-partie-admin {
  background: linear-gradient(
    90deg,
    var(--cl-primary-hover) 0%,
    var(--cl-primary) 30%,
    var(--cl-primary) 60%,
    var(--cl-primary) 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 16px 12px 12px;
  border-radius: 0;
  line-height: 1.1;
  font-size: 1.4em;
}
.logout-btn {
  background: var(--cl-danger);
  color: white;
  padding: 12px 18px;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 0;
  font-size: 1em;
  border-radius: 99px 0 0 99px;
}
form div {
  margin-bottom: 1rem;
}
form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.grid-2 > div,
.grid-2 > div > div {
  margin-bottom: 0;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}
button[type="submit"] > span,
button[type="button"] > span {
  min-height: 24px;
  height: 24px;
  max-height: 24px;
}
button[type="submit"] {
  line-height: 1.6;
  -webkit-text-decoration: none;
  text-decoration: none;
  background-color: var(--cl-primary);
  color: white;
  padding: 0.8125rem 1.875rem;
  border: none;
  border-radius: 1.75rem;
  cursor: pointer;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  justify-content: space-between;
  font-family: Montserrat, Arial, sans-serif !important;
}
button[type="submit"]:hover {
  background-color: var(--cl-primary-hover);
}
button[type="button"] {
  background-color: var(--cl-primary);
}
button[type="button"]:hover {
  background-color: var(--cl-primary-hover);
}
button[type="submit"]:disabled {
  background-color: #ccc !important;
  cursor: not-allowed !important;
}
button[type="button"] {
  line-height: 1.6;
  -webkit-text-decoration: none;
  text-decoration: none;
  background-color: var(--cl-primary);
  color: white;
  padding: 0.8125rem 1.875rem;
  border: none;
  border-radius: 1.75rem;
  cursor: pointer;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  justify-content: space-between;
  font-family: Montserrat, Arial, sans-serif !important;
}
button[type="button"]:disabled {
  background-color: #ccc !important;
  cursor: not-allowed !important;
}
.mis-avant {
  color: var(--cl-primary);
}
#message {
  margin-top: 1rem;
  font-weight: bold;
}
.error {
  color: var(--cl-danger);
}
.success {
  color: var(--cl-safe);
}
.autocomplete-container {
  position: relative;
}
#adresse-suggestions,
.autocomplete-suggestions-box {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
  display: none;
}
#adresse-suggestions > div,
.autocomplete-suggestions-box div {
  padding: 4px 8px;
  cursor: pointer;
  line-height: 1;
  margin-bottom: 0rem;
}
#adresse-suggestions div:hover,
.autocomplete-suggestions-box div:hover {
  background: var(--cl-primary-light);
}
.suggestion-label {
  font-weight: bold;
  font-size: 0.9em;
  margin-bottom: 0.4rem;
}
.suggestion-context {
  font-size: 0.8em;
  color: #555;
  margin-bottom: 0;
}
input[readonly] {
  background-color: color(srgb 0.92 0.92 0.92);
  cursor: not-allowed;
}
.hidden-field {
  display: none;
}
.wave {
  display: inline-block;
  transform-origin: 70% 70%;
  animation: wave-hand 6s infinite;
}
.footer-left > p {
  color: #ffffff;
}
@keyframes wave-hand {
  0% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(14deg);
  }
  20% {
    transform: rotate(-8deg);
  }
  30% {
    transform: rotate(14deg);
  }
  40% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(10deg);
  }
  60%,
  100% {
    transform: rotate(0deg);
  }
}
form input,
form select,
textarea {
  width: 100%;
  padding: 0.8rem;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fafafa;
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: 0.85em;
  height: 48px;
  color: #000;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--cl-primary);
}
.password-wrapper {
  position: relative;
  width: 100%;
}
.password-wrapper input {
  padding-right: 40px !important;
}
.toggle-password {
  background: none !important;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 40px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}
.toggle-password:hover {
  color: #000;
}
.mobile-only {
  display: none;
}
#welcomeTitle {
  font-size: 1.6em;
  margin-bottom: 0.85rem;
}
.admin-page {
  display: none;
}
.success {
  color: var(--cl-safe);
}
.forgot-link,
.back-link {
  display: block;
  text-align: center;
  font-size: 0.9em;
  color: #555;
  margin-top: 1rem;
}
#confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10003;
}
#confirm-overlay.open {
  display: flex;
}
#confirm-modal {
  background: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #eee;
}
.modal-header h2 {
  margin: 0;
  font-size: 1.3em;
  margin-right: 12px;
}
.modal-close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #777;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  line-height: 0;
  background-color: #eeeeee;
  border-radius: 99px;
  flex-shrink: 0;
}
.modal-body p {
  font-size: 0.85em;
  line-height: 1.5;
  text-align: left;
}
#confirm-actions {
  display: flex;
  width: auto;
  gap: 6px;
  padding: 0 6px 6px 6px;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  border-radius: 0 0 6px 6px;
}
#confirm-actions button {
  width: 50% !important;
  border-radius: 6px !important;
  padding: 1rem !important;
  font-size: 1em;
  font-weight: 700;
  border: none;
  box-sizing: border-box;
  color: #fff !important;
  cursor: pointer;
}
#confirm-btn-cancel {
  background-color: #777;
  border-bottom-left-radius: 8px !important;
}
#confirm-btn-ok {
  background-color: #d9534f;
  border-bottom-right-radius: 8px !important;
}
@keyframes shake-error {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  20%,
  60% {
    transform: translate(-52%, 0);
  }
  40%,
  80% {
    transform: translate(-48%, 0);
  }
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  position: fixed;
  bottom: 30px;
  left: 50%;
  min-width: 320px;
  max-width: 90%;
  color: white;
  padding: 14px 20px 14px 50px;
  border-radius: 8px;
  z-index: 10001;
  font-size: 0.95em;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translate(-50%, 150%);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast.error.show {
  animation: shake-error 0.4s ease;
}
.toast::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.toast.success {
  background-color: var(--cl-safe);
}
.toast.success::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='3' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7' /%3E%3C/svg%3E");
}
.toast.error {
  color: #fff;
  background-color: var(--cl-danger);
}
.toast.error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='3' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z' /%3E%3C/svg%3E");
}
@media (min-width: 640px) {
  .desktop-only {
    display: block;
    position: absolute;
    right: 0;
    border-radius: 99px 0 0 99px;
    font-size: 0.85em;
  }
}
.header,
#loginForm,
.icon-verify,
.space-admin,
.space-candidat {
  margin-top: 56px;
}
#btn-cancel-candidature {
  position: fixed;
  top: 24px;
  left: 0px;
  background-color: rgb(217, 83, 79);
  color: white;
  border: medium;
  padding: 10px 15px;
  border-radius: 0px 99px 99px 0px;
  cursor: pointer;
  z-index: 10000;
  font-weight: bold;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 5px;
  font-family: Montserrat, sans-serif;
  font-size: 1em;
  bottom: unset;
  right: unset;
}
@media (max-width: 640px) {
  #btn-cancel-candidature {
    top: unset;
    bottom: 0;
    right: 0;
    left: unset;
    padding: 16px 18px;
    border-radius: 24px 0 0 0;
  }
  button[type="button"],
  button[type="submit"] {
    width: 100%;
  }
  p {
    line-height: 1.6;
  }
  .main-header .logo {
    margin-left: 1em !important;
  }
  .main-footer {
border-radius: 24px;
}
  body {
background-color: #ffffff !important;
background-image: none !important;
}
  .main-header {
box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.15);
}
  .main-header > :only-child {
  margin-left: auto!important;
  margin-right: auto!important;
}
  .upload-item {
    flex-direction: column !important;
    gap: 28px !important;
  }
  .header,
  #loginForm,
  .icon-verify {
    margin-top: 84px;
  }
  .container {
    width: 100%;
    min-width: unset;
  }
  .content-wrapper {
    padding: 1rem 0;
  }
  .main-footer {
    padding: 1.5rem;
    padding-bottom: 5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-left {
    text-align: center;
    margin: 0;
    line-height: 1.4;
  }
  .footer-left p {
    margin: 0;
  }

  .footer-right {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  .grid-2 {
    grid-template-columns: 1fr !important;
  }
  .grid-3 {
    grid-template-columns: 1fr !important;
  }
  .titre-partie-candidature {
    font-size: 1.2em;
    line-height: 1.4;
  }
  .titre-partie-candidature,
  .titre-partie-admin {
    background: linear-gradient(
      150deg,
      var(--cl-primary-hover) 0%,
      var(--cl-primary) 30%,
      var(--cl-primary) 60%,
      var(--cl-primary) 100%
    );
  }
  .mobile-only {
    display: block;
  }
  .mobile-only.logout-btn {
    display: block;
    position: absolute;
    right: 0;
    border-radius: 99px 0 0 99px;
    font-size: 0.85em;
    font-family: -apple-system;
  }
  .desktop-only {
    display: none;
  }
  #welcomeTitle {
    font-size: 1.4em;
  }
  .main-header {
    justify-content: space-between;
  }
  .main-header .logo {
    margin-left: 1em;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 1.5rem 1rem !important;
  }
  .titre-partie-candidature {
    font-size: 1em;
    line-height: 1.4;
  }
}
@media (max-width: 320px) {
  .main-header .logo {
    max-height: 32px;
  }
}
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--cl-primary);
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
  z-index: 1003;
  border-radius: 6px;
}
.hamburger-btn svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10002;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.page-title-header h1 {
  position: relative;
  padding-left: 28px;
  font-size: 2rem;
  line-height: 1.2;
  margin: 0;
  padding-bottom: 0;
}
.page-title-header h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 20px;
  background-color: var(--cl-primary);
  border-radius: 50px;
  display: block;
}
h1#formationTitle {
  position: relative;
  padding-left: 28px;
  font-size: 2rem;
  line-height: 1.2;
  margin: 0;
  padding-bottom: 0;
}
h1#formationTitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 20px;
  background-color: var(--cl-primary);
  border-radius: 50px;
  display: block;
}
#step6ChampsForm h3 {
  position: relative;
  padding-left: 18px;
  font-size: 1.2rem;
  line-height: 1.2;
  margin: 0;
  padding-bottom: 0;
}
#step6ChampsForm h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  background-color: var(--cl-primary);
  border-radius: 50px;
  display: block;
}
.modal-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
}
@media (max-width: 900px) {
  .sidebar-overlay.open {
    display: block;
    opacity: 1;
  }
  .hamburger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cl-primary-light);
  }
  .main-header {
    position: relative;
    z-index: 10001;
    border-radius: 0 0 18px 18px;
  }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 10003;
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    width: 280px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .content-wrapper .content,
  .content#page-content .content {
    margin-left: 0;
    width: 100%;
  }
  .page-title-header h1 {
    padding-left: 24px !important;
    font-size: 1.5rem !important;
  }
  .page-title-header h1::before {
    width: 16px !important;
  }
  h1#formationTitle {
    padding-left: 24px !important;
    font-size: 1.5rem !important;
  }
  h1#formationTitle::before {
    width: 16px !important;
  }
  h2 {
    font-size: 1.2em;
  }
}
@media (max-width: 640px) {
  .dashboard-page.active,
  .admin-page.active {
    padding: 48px 16px !important;
  }
  .main-header .logo {
    margin-left: 0;
  }
  .hamburger-btn {
    margin-left: 0;
    left: 0.5rem;
  }
  .accordion-arrow {
    display: none !important;
  }
  .admin-page.active {
    min-width: unset !important;
  }
}
@media (max-width: 400px) {
  .dashboard-page.active,
  .admin-page.active {
    padding: 48px 12px !important;
  }
  .page-title-header {
    align-items: flex-start !important;
    margin-bottom: 1.5em !important;
    flex-direction: column !important;
    gap: 1.5em !important;
  }
}
.steps-nav {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.steps-nav::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  height: 5px;
  background: #b4b4b4;
  z-index: 0;
}
.steps-progress-line {
  position: absolute;
  top: 4px;
  left: 0;
  height: 5px;
  background: var(--cl-primary);
  z-index: 1;
  transition: width 0.3s ease;
}
.step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.step-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 5px solid #b4b4b4;
  transition: all 0.3s ease;
  margin-top: -3px;
}
.step-label {
  margin-top: 6px;
  font-size: 0.75em;
  font-weight: bold;
  color: #b4b4b4;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.3s ease;
}
.step-item.is-active .step-dot,
.step-item.is-completed .step-dot {
  border-color: var(--cl-primary);
}
.step-item.is-active .step-dot {
  border-width: 5px;
  width: 22px;
  height: 22px;
  top: -2px;
  position: relative;
}
.step-item.is-active .step-label {
  color: var(--cl-primary);
  font-size: 0.85em;
  margin-top: 2px;
}
.step-item.is-completed .step-dot {
  background: var(--cl-primary);
}
@media (max-width: 500px) {
  .step-label {
    font-size: 0.6em;
    display: none;
  }
  .step-item.is-active .step-label {
    display: block;
  }
}
.switch-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 0 !important;
}
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  flex-shrink: 0;
  margin-bottom: 0 !important;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--checked-color, var(--cl-primary));
}
input:checked + .slider:before {
  transform: translateX(22px);
}
.switch-label {
  font-weight: normal;
  margin: 0;
  font-size: 0.95em;
  cursor: pointer;
  margin-bottom: 0 !important;
}
#formationsList li,
.accordion-header {
  border-left: 5px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
#formationsList li:hover,
.accordion-header:hover {
  background-color: var(--hover-bg, #fff0e6) !important;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes showbutton {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
.admin-page.active {
    animation: fadeInUp 0.5s ease-out forwards;
}
.modal-content {
    animation: fadeInUp 0.4s ease-out forwards;
}
#enquete-overlay .modal-content {
    animation: fadeInUp 0.4s ease-out forwards !important;
}