@import url("https://fonts.googleapis.com/css?family=Nunito&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 14px;
}

body {
  background: #f5f6f7;
  font-family: "Nunito", sans-serif;
}

.middle-section {
  height: inherit;
}

main {
  width: 100%;
  position: relative;
}

/* Create a top navigation bar with a black background color  */
.topnav {
  background-color: #333;
  overflow: hidden;
}

/* Create a top navigation bar with a black background color  */
.topnav {
  background-color: #333;
}

#logo{
  width:  79.74px;
  height: 54.98 px;
}

/* Style the links inside the navigation bar */
.topnav .nav-element a {
  text-decoration: none;
  padding: 14px 16px;
  font-size: 17px;
  background-color: #D0643D;
  color: white;
}

.footer {
  position: relative;
  bottom: 0;
  background-color: #333;
  color: white;
}

.footer ul li {
  list-style: none;
  padding: 10px 0;
}

.footer ul li a {
  text-decoration: none;
  color: white;
}

.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/bannerVoyage.jpg");
  height: 350px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.stepper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.step--1,
.step--2,
.step--3 {
  width: 15rem;
  padding: 0.5rem 0;
  background: #fff;
  color: #D0643D;
  text-align: center;
}

.form {
  background: #fff;
  position: relative;
  width: 100%;
  box-shadow: 0.2rem 0.2rem 0.5rem rgba(51, 51, 51, 0.2);
  display: none;
  overflow: hidden;
}

.form-active {
  z-index: 1000;
  display: block;
}

.form-active-animate {
  animation: fadeIn 1s ease-in-out;
}

.form-inactive {
  display: none;
  animation: fadeOut 1s ease-in-out;
}

#btn-print,
#formsouscripteurassure,
#div-code,
#div-delivery,
#btn-new-subscription {
  display: none;
}

input:focus,
select:focus {
  border-color: #D0643D !important;
  box-shadow: none !important;
  outline: 0 none !important;
}

.etoile {
  color: red;
}

.form--header-container {
  background: #D0643D;
  color: #fff;
  height: 3.7rem;
  padding: 1rem;
  margin-bottom: 2rem;
}

.form-check-input:checked {
  background-color: #D0643D !important;
  border-color: #D0643D !important;
}

.form--header-title {
  font-size: 1.4rem;
}

.form--header-text {
  padding: 0.5rem 0;
}

.step-active {
  background: #D0643D;
  color: #fff;
  border: 1px solid #D0643D;
}

.switch {
  display: inline-block;
  position: relative;
  width: 70px;
  height: 20px;
  cursor: pointer;
  overflow: hidden;
}

.switch input {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 0;
  height: 0;
}

.switch input + span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #b8b8b8dc;
}

.switch input:checked + span {
  background: #D0643D;
}

.switch input + span:before {
  content: "Non";
  display: inline-block;
  position: absolute;
  font-size: 15px;
  text-align: center;
  line-height: 30px;
  top: 50%;
  left: 4px;
  width: 32px;
  height: 32px;
  background: white;
  transform: translateY(-50%);
  transition: all 0.5s;
}

.switch input:checked + span:before {
  content: "Oui";
  left: 34px;
}

#loader {
  display: none;
}

.loader {
  width: 48px;
  height: 48px;
  border: 3px solid #fff;
  border-radius: 50%;
  display: block;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.loader::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-bottom-color: #ff3d00;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}



/* ------------ */

/* Fond sombre (backdrop) */
.modal-backdrop {
  z-index:0;
  /* z-index: 1040; */
  /* Bootstrap default: 1040 */
  background-color: rgba(0, 0, 0, 0.5);
}

/* Conteneur de la modale */
.modal {
  /* z-index: 1050;  */
  /* Bootstrap default: 1050 */
  z-index: 1090;
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Style pour le bouton Suivant désactivé/activé */
.btn-secondary {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-danger {
  background-color: #d0643d  /*#dc3545 */;
  border-color: #d0643d  /*#dc3545 */;
}

/* Animation de chargement */
.spinner-border {
  vertical-align: middle;
}


/* Styles pour la page de retour ---------------------- */
.payment-status-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.payment-success {
  color: #28a745;
}

.payment-failed {
  color: #d0643d  /*#dc3545 */;
}

.payment-pending {
  color: #ffc107;
}

.payment-details {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
}

.payment-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #dee2e6;
}

.payment-detail-item:last-child {
  border-bottom: none;
}

.payment-detail-label {
  font-weight: 600;
  color: #495057;
}

.payment-detail-value {
  color: #212529;
}

/* Animation pour le chargement */
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.loading-pulse {
  animation: pulse 1.5s infinite;
}