body {
  background-color: #eee;
  min-height: 100vh;
  /* font-family: Arial, sans-serif; */
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.navigation {
  position: sticky;
  top: 0;
  height: 77px;
  background: white;
  display: flex;
  align-items: center;
  padding: 0 20px 0 0;
  box-shadow: 0 2px 5px #00000059;
  z-index: 1001;
}

.nav-left {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 77px;
  background-color: #0c419a;
  margin-right: 15px;
  text-decoration: none;
}

.menu-icon i {
  color: white;
  font-size: 1.5rem;
}

.logo {
  width: 191px;
  height: auto;
  clip-path: inset(0 25px 0 0); /* Crops 60px from right */
  /* Optional if you need to maintain layout spacing */
  margin-right: -25px;
}

.login-icon {
  color: #0c419a;
  font-size: 1.5rem;
  text-decoration: none;
  padding: 10px;
}

.container-page {
  background: #fff;
  margin-top: 20px;
  padding-bottom: 20px;
  padding-top: 20px;
}

footer {
  background: #2f384d;
  color: white;
  padding: 40px 0;
  margin-top: 0;
}

.footer-logos img {
  max-height: 60px;
  height: 100%;
  width: auto;
  margin-bottom: 20px;
  margin-left: 10px;
}
.input-group {
  position: relative;
  margin-bottom: 24px;
}

.input-group input {
  width: 100%;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s ease;
  font-weight: 600;
}



/* Optional: Ensure no child elements exceed the viewport width */
img,
table,
div {
  max-width: 100%;
  box-sizing: border-box;
}

.input-group input:focus {
  border-color: #3d67ae;
  outline: none;
  /*box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);*/
  color: #000 !important;
}

.input-group label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  transition: all 0.3s ease;
  pointer-events: none;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 12px;
  background: white;
  padding: 0 4px;
  color: #3d67ae;
}

.is-invalid {
  border-color: #dc3545 !important;
  color: #dc3545 !important;
}

.btn-primary {
  background-color: #007bff;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* Character Counter */
.char-counter {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 14px;
}

/* Expiration and CVC Group */
.expiration-cvc-group {
  display: flex;
  gap: 16px;
}

.expiration-cvc-group input {
  flex: 1;
}

.me-2,
.fa-lg {
  color: #8b8b8b;
}

.red,
.bold {
  color: #b00020;
  font-weight: 600;
  text-decoration: none;
}

.checkbox-container {
  display: flex;
  align-items: center; /* Vertically align checkbox and text */
  margin-bottom: 20px;
}

.checkbox-container input[type="checkbox"] {
  margin-right: 10px; /* Space between checkbox and text */
}

.checkbox-container label {
  font-size: 14px;
  line-height: 1.4; /* Ensure text wraps properly */
}

/* Button Styling */
.custom-btn {
  position: relative;
  display: inline-block;
  margin: 0;
  color: #fff;
  background-color: #198754;
  cursor: pointer;
  border: 1px solid #198754;
  font-size: 14px;
  line-height: 24px;
  border-radius: 0 !important;
  text-align: center;
  padding: 10px 38px 10px 3px;
  width: 100%;
  min-width: 200px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Icon Styling */
.bt-icon.i-tick {
  display: inline-block;
  background: rgba(0, 0, 0, 0.15);
  padding: 10px 10px;
  color: #ffffff;
  font-size: larger;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.15);
}

/* Hover Effect for Icon */
.custom-btn:hover .bt-icon.i-tick {
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
}

.title-about {
  font-size: 20px;
  font-family: M-sb, OS-sb, Arial;
  text-transform: uppercase;
}
.socials-wrapper {
  display: flex;
  width: 100%;
  gap: 24px;
  margin: 0;
  padding: 0;
  -ms-flex-pack: center;
  justify-content: center;
}
.socials-wrapper li {
  list-style: none;
  max-height: 48px;
}
.mentions-link {
  text-align: left;
  padding: 32px 0;
  color: #fff;
  border-top: 1px solid #999;
  margin: 30px 10px 0 10px;
}

.mentions-link ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.mentions-link ul li {
  margin-bottom: 14px;
}
.mentions-link ul a {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1;
  text-decoration: none;
  color: #fff;
}
/* wait page*/
.spinner {
  width: 80px;
  height: 80px;
  animation: rotate 1.5s linear infinite;
}

.spinner circle {
  fill: none;
  stroke: #b00020;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 150;
  stroke-dashoffset: 0;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dashoffset: 150;
    stroke-opacity: 0.7;
  }
  50% {
    stroke-dashoffset: 0;
    stroke-opacity: 1;
  }
  100% {
    stroke-dashoffset: -150;
    stroke-opacity: 0.7;
  }
}

.pulse-text {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Dans noti.html */
.notification-container {
  perspective: 1000px;
  text-align: center;
}

.notification-icon {
  animation: appear 0.8s ease-out, float 3s ease-in-out infinite;
  transform-origin: center;
}

@keyframes appear {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.5);
  }
  80% {
    transform: translateY(-10px) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.mobile-vibration {
  animation: vibrate 0.1s linear infinite alternate;
}

@keyframes vibrate {
  0% {
    transform: translateX(-1px);
  }
  100% {
    transform: translateX(1px);
  }
}

.message-pop {
  animation: messagePop 1s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes messagePop {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-15deg);
  }
  80% {
    transform: scale(1.1) rotate(5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.pulse {
  animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
  from {
    filter: drop-shadow(0 0 2px rgba(176, 0, 32, 0.3));
  }
  to {
    filter: drop-shadow(0 0 8px rgba(176, 0, 32, 0.6));
  }
}

/* Styles supplémentaires */

#continueBtn.btn-enabled {
  background-color: #b00020 !important;
  border-color: #b00020 !important;
  cursor: pointer;
}

#continueBtn:disabled {
  background-color: #cccccc !important;
  border-color: #cccccc !important;
  opacity: 0.7;
}

/* wait 2*/

.loading-container {
  text-align: center;
}
.loading-container .counter {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 10px;
}
.loading-container svg {
  width: 100px;
  height: 100px;
}

/* menu */

.taxo-term-contact {
  padding: 20px;
}

.contact-title {
  font-size: 1.5rem;
  margin: 0 0 20px 0;
  color: #3d67ae;
}
.contact-soustitre {
  font-size: 0.9rem;
  margin: 20px 0 0 0;
  color: #333;
}

.block-contact-liste {
  padding: 0;
  margin: 0;
  list-style: none;
}

.blocContact {
  margin-bottom: 15px;
  position: relative;
}

.blocContact a {
  display: flex;
  align-items: center;
  padding: 15px;
  height: 100%;
  min-height: 120px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.first-block-contact a {
  background: #3d67ae;
}
.first-block-contact .blocContact h2 span {
  color: white !important;
}
.blocContact a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.field_picto {
  width: 60px;
  height: 60px;
  margin-right: 15px;
  position: relative;
}

.blocContact a:hover {
  opacity: 1;
}

.blocContact h2 span {
  color: #2a4a8d;
  flex: 1;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.25px;
}

.notification-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff3b30;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

/* Custom Modal Style */
#customModal .modal-content {
  border-radius: 12px;
  border: none;
}
#customModal .modal-header {
  border: none;
  padding-bottom: 0;
}
#customModal .modal-body {
  font-size: 1.1rem;
  color: #333;
  text-align: center;
}
#customModal .btn-primary {
  background: #3d67ae;
  border: none;
  padding: 10px 25px;
  border-radius: 20px;
}

:root {
  --bs-primary: #3d67ae;
}
.payment-option {
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid #dee2e6;
}
.form-check-input:checked {
  background-color: #3d67ae;
  border-color: #3d67ae;
}
.btn-primary {
  background-color: #3d67ae;
  border-color: #3d67ae;
}
.btn-primary:disabled {
  background-color: #8c95a5;
  border-color: #798aa8;
}

.btn-primary:disabled i {
  color: #fff;
}
.btn-primary i.fa-lock {
  color: #d1ffd1;
}
.btn-primary i.fa-arrow-right {
  color: #fff;
}
.payment-option.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #f8f9fa;
}
.fa-credit-card,
.fa-university {
  color: #3d67ae;
}
#paymentForm1 {
  display: none;
}

.info-container {
  text-align: center;
  font-size: smaller;
  margin-top: 5px;
}


#paymentOptions, #paymentForm {
    transition: opacity 0.6s ease-in-out;
}

/* Style pour le formatage IBAN */
input[name="iban"] {
    font-family: monospace;
}


/* Animations */
.animate__animated { animation-duration: 0.5s; }
@keyframes wave {
    0% { transform: translateX(-50%); }
    50% { transform: translateX(50%); }
    100% { transform: translateX(-50%); }
}

.wave-loader {
    width: 100%;
    height: 3px;
    background: rgba(61, 103, 174, 0.2);
    position: relative;
    overflow: hidden;
}

.wave-loader::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 100%;
    background: #3d67ae;
    animation: wave 1.5s infinite linear;
}

.status-animation {
    position: relative;
    padding: 2rem;
    border: 2px dashed #3d67ae;
    border-radius: 1rem;
    max-width: 300px;
    margin: 0 auto;
}