@charset "UTF-8";
header {
  position: relative;
  padding: 2rem 0;
}

.logo-carte {
  max-height: 60px;
}

#passwordRules {
  padding-left: 0;
}

.header-illustration {
  max-height: 280px;
}

.title_rgpd_simu {
  font-size: 12px;
  color: #575757;
}

.custom-border {
  border: 1px solid #ced4da;
  appearance: none;
  border-radius: 0.375rem;
  padding: 1rem 0.75rem;
}

.creer_compte {
  color: #00B0B5;
  font-weight: 500;
}

form,
#loginBox,
#formSection,
.container.container-margin {
  z-index: 99999;
}

.link-password {
  display: inline-block;
  color: #004f9f;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.link-password:hover {
  color: #002f6c;
  text-decoration: underline;
}

.link-create {
  color: #00B0B5;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.link-create:hover {
  color: #0099a0;
  text-decoration: underline;
}

.btn-connexion {
  background-color: transparent;
  color: #004f9f;
  border: 1px solid #004f9f;
  font-weight: 500;
  border-radius: 6px;
  padding: 0.4rem 1rem;
  transition: all 0.2s ease-in-out;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

.btn-connexion:hover {
  background-color: #004f9f;
  color: #fff;
}

.cta-btn {
  background-color: #00B0B5;
  color: #fff;
  border: none;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
  display: block;
  margin-top: 1.5rem;
}

.cta-btn:hover {
  background-color: #0099a0;
}

.btn-outline-secondary {
  color: #004f9f;
  border-color: #cdd4db;
  background-color: transparent;
  transition: all 0.2s ease-in-out;
}

.btn-outline-secondary:hover {
  background-color: transparent;
  color: #004f9f;
  border-color: #cdd4db !important;
}

.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-outline-secondary:focus-visible,
.btn-outline-secondary:active:focus {
  background-color: transparent !important;
  border-color: #cdd4db !important;
  color: #004f9f !important;
  box-shadow: none !important;
}

#passwordRules li.valid {
  color: #198754;
}

#passwordRules li.invalid {
  color: #dc3545;
}

#passwordRules li {
  transition: color 0.2s ease;
  list-style: none;
  position: relative;
  padding-left: 18px;
}

#passwordRules li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: red;
}

#passwordRules li.valid::before {
  content: "✓";
  color: green;
}

/* --- Responsive CTA --- */
@media (max-width: 767.98px) {
  .cta-btn {
    margin-left: auto;
    margin-right: auto;
  }
  #registerForm .row {
    margin-bottom: 0 !important;
  }
  #registerForm .row > [class*=col-] {
    margin-bottom: 1rem;
  }
  #registerForm .row:last-of-type > [class*=col-] {
    margin-bottom: 0;
  }
  .steps-section,
  .faq-section {
    margin-left: -12px;
    margin-right: -12px;
    border-radius: 0;
  }
  .container.contact-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .contact-encart {
    border-radius: 0;
  }
  .btn-connexion {
    position: relative;
    top: 0;
    right: 0;
    display: block;
    margin: 0 auto 1rem auto;
  }
}
/* --- ÉTAPES --- */
.steps-section {
  background-color: #eaf5f6;
  padding: 3rem 1rem;
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #00B0B5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.2rem;
  margin: 0 auto 1rem;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.badge-number {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #004f9f;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- CONNEXION & FORMULAIRE --- */
#loginBox,
#formSection {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  margin: 3rem auto;
  max-width: 800px;
}

#formSection {
  max-width: 700px;
}

.btn-login {
  background-color: #004f9f;
  border: none;
  color: #fff;
}

.btn-login:hover {
  background-color: #003b7d;
  color: #fff;
}

.btn-login:focus,
.btn-login:active:focus {
  box-shadow: none;
  background-color: #003b7d !important;
  color: #fff !important;
}

.btn-submit {
  background-color: #00B0B5;
  color: #fff;
  border: none;
  font-weight: 500;
  border-radius: 6px;
  padding: 0.75rem;
  transition: all 0.2s ease-in-out;
}

.retour_connexion {
  font-weight: 500;
}

.btn-submit:hover {
  background-color: #0099a0;
}

/* --- FAQ --- */
.faq-section {
  background-color: #f4f8fb;
  padding: 3rem 1rem;
}

.faq-section h3 {
  color: #004f9f;
  font-weight: 700;
  margin-bottom: 2rem;
}

.accordion-button {
  background-color: #fff;
  color: #004f9f;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.accordion-button:not(.collapsed) {
  background-color: #00B0B5;
  color: #fff;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 176, 181, 0.25);
}

/* --- CONTACT --- */
.contact-wrapper {
  width: 100%;
  overflow-x: hidden;
}

.contact-encart {
  background-color: #E8F8FF;
  border-radius: 12px;
  margin: 0 auto;
  max-width: 1000px;
  padding: 2rem 1.5rem;
}

.contact-title {
  font-size: 1.25rem;
  line-height: 1.5rem;
  font-weight: 700;
  color: black;
}

.contact-p {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  color: black;
}

a.link-custom {
  color: #0970E6;
  font-size: 1rem;
  font-weight: 500;
  padding: 0;
  min-height: 1.5625rem;
  text-decoration: none;
}

.service-gratuit {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
  color: #8F98A3;
}

.service-horaires {
  font-size: 0.75rem;
  line-height: 1.25rem;
  font-weight: 400;
  color: #8F98A3;
}

/* --- INPUTS --- */
.input-group {
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  overflow: hidden;
  display: flex;
  background-color: #fff;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input-group.is-invalid {
  border-color: #dc3545 !important;
  background-color: #fff5f5;
}

.input-group.is-valid {
  border-color: #198754 !important;
  background-color: #f5fff7;
}

.input-group .btn.toggle-password {
  border: none !important;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  background-color: transparent;
  display: flex;
  align-items: center;
}

.input-group.is-invalid .btn.toggle-password {
  border-right-color: #dc3545;
}

.input-group.is-valid .btn.toggle-password {
  border-right-color: #198754;
}

.input-group .form-control,
.input-group .btn {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.input-group:focus-within {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.input-group.is-invalid:focus-within {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

.input-group.is-valid:focus-within {
  border-color: #198754 !important;
  box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25) !important;
}

/* --- Correction du scroll horizontal --- */
html, body {
  overflow-x: hidden;
  width: 100%;
}

.steps-section .container,
.faq-section .container,
.contact-wrapper .container {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/*# sourceMappingURL=carte_cadeau.css.map */
