@charset "UTF-8";
/** COMMON **/
.text-primary-bi {
  color: #047200;
}

.rpb-btn-bi {
  padding: 8px 20px !important;
}

.tf-btn-active {
  background-color: var(--primary) !important;
  color: white !important;
  border: none !important;
}

#register-form .invalid, #new-password-form .invalid {
  color: red;
  position: relative;
}
#register-form .invalid::before, #new-password-form .invalid::before {
  font-family: "Font Awesome 6 Free";
  content: "\f00d";
  font-weight: 900;
  color: red;
  margin-right: 4px;
}
#register-form .valid, #new-password-form .valid {
  color: green;
  position: relative;
}
#register-form .valid::before, #new-password-form .valid::before {
  font-family: "Font Awesome 6 Free";
  content: "\f00c";
  font-weight: 900;
  color: green;
  margin-right: 4px;
}

/* Container pour positionner l’info-bulle */
.whatsapp-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
}

/* Bulle principale */
.whatsapp-float {
  background-color: #25D366;
  color: white;
  font-size: 24px;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

/* Effet hover sur l'icône */
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Info-bulle */
.whatsapp-tooltip {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #25D366;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Affiche l’info-bulle au survol */
.whatsapp-container:hover .whatsapp-tooltip {
  opacity: 1;
}

/** FrontController **/
/* Rent */
.web-badge-item {
  text-transform: none !important;
}

.breadcrumb-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0px 15px;
}

/* Liste des étapes */
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 auto;
  min-width: 200px;
  padding: 0.5rem 1rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 1rem;
}

.breadcrumb-item.current {
  font-weight: bold;
}

.breadcrumb-item i {
  margin-right: 0.25rem;
}

.breadcrumb-prev-next {
  flex-shrink: 0;
  min-width: 150px;
}

/* Responsive */
@media (max-width: 600px) {
  .breadcrumb-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .breadcrumb-list {
    padding: 0.5rem;
    gap: 0.25rem;
  }
  .breadcrumb-item {
    font-size: 0.875rem;
  }
  .breadcrumb-prev-next {
    width: 100%;
    /*margin-top: 0.5rem;*/
  }
  .breadcrumb-list::-webkit-scrollbar {
    height: 4px;
  }
}
body.modal-blur::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(2px);
  z-index: 1040; /* juste sous .modal */
}

.step-1-container {
  padding: 2rem;
  background-color: #fff;
}
.step-1-container .location-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.step-1-container .zone-select-btn {
  flex: 1 1 auto;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}
@media (max-width: 576px) {
  .step-1-container .location-choice {
    flex-direction: column;
  }
  .step-1-container .zone-select-btn {
    width: 100%;
  }
}

.row-rent-product-bar {
  display: flex;
  align-items: stretch;
}
.row-rent-product-bar .col-rent-product-bar {
  display: flex;
  align-items: center;
  padding: 10px;
}
.row-rent-product-bar .col-rent-product-bar .text-primary {
  font-size: 1.2em;
}
.row-rent-product-bar .col-rent-product-bar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.row-rent-product-bar .col-rent-product-bar.col-0 {
  width: 5%;
}
.row-rent-product-bar .col-rent-product-bar.col-1 {
  width: 15%;
  justify-content: right;
}
.row-rent-product-bar .col-rent-product-bar.col-2 {
  width: 50%;
}
.row-rent-product-bar .col-rent-product-bar.col-3 {
  width: 15%;
  justify-content: right;
}
.row-rent-product-bar .col-rent-product-bar.col-4 {
  width: 15%;
  justify-content: right;
}
.row-rent-product-bar-price {
  color: var(--primary);
  font-size: 1.5em;
}

.rent-step-btn {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.mobile-only {
  display: none !important;
}

.desktop-only {
  display: inline-flex !important;
}

.card-product-active {
  border: 1px solid var(--primary) !important;
}

@media (max-width: 768px) {
  .row-rent-product-bar {
    flex-direction: column;
    align-items: stretch;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  .col-rent-product-bar {
    width: 100% !important;
    justify-content: space-between !important;
    padding: 8px 12px;
    gap: 10px;
  }
  .col-rent-product-bar.col-1 {
    justify-content: center !important;
  }
  .col-rent-product-bar.col-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .col-rent-product-bar.col-2 .text-primary {
    font-size: 1em;
  }
  .col-rent-product-bar.col-2 .text-primary,
  .col-rent-product-bar.col-2 .check-color {
    width: 100%;
    text-align: center;
  }
  .col-rent-product-bar.col-3 {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrer horizontalement */
    justify-content: center; /* Centrer verticalement */
    text-align: center; /* Centrer le texte */
    gap: 5px;
  }
  .col-rent-product-bar.col-4 {
    flex-direction: row;
    justify-content: space-between !important;
    align-items: center;
    gap: 10px;
  }
  .col-rent-product-bar.col-4 .rent-step-btn {
    width: 48%;
  }
  .col-rent-product-bar img {
    width: 190px !important;
    height: 190px !important;
  }
  .row-rent-product-bar-price {
    font-size: 1.2em;
  }
  #btn-next-step {
    width: 100%;
  }
  .mobile-only {
    display: inline-flex !important;
  }
  .desktop-only {
    display: none !important;
  }
  .rent-step-btn {
    width: 100%;
  }
}
.card-product .name-product {
  overflow: visible !important;
}

.card-product .web-badge {
  z-index: 5;
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.card-product .web-badge.pos2 {
  margin-bottom: 8px;
}
.card-product .web-badge.type-2 .web-badge-item {
  width: max-content;
}
.card-product .warning-item {
  background-color: #a60808;
}
.card-product .web-badge-item {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  word-break: break-word;
  padding: 0 10px;
  min-width: 50px;
  width: max-content;
  font-size: 13px;
  font-weight: 500;
  line-height: 26px;
  height: 26px;
  text-align: center;
  text-transform: capitalize;
  position: relative;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 22px;
}
.card-product .web-badge-item.trending {
  background-color: #a474ff;
}
.card-product .web-badge-item.limited {
  background-color: #ff9c39;
}
.card-product .web-badge-item.new {
  background-color: #00bc29;
}
.card-product .price-wrap {
  font-size: 16px;
  line-height: 19.2px;
  color: var(--dark);
}

.table-page-cart-header {
  background-color: #047200;
  color: white;
}

/** Users Controller **/
input[type=file] {
  display: none;
}

.custom-file-upload {
  display: inline-block;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background-color: #047200;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.custom-file-upload:hover {
  background-color: #0056b3;
}

.custom-file-upload i {
  margin-right: 6px;
}

/* Conteneur principal de Select2 (single) */
.select2-container--default .select2-selection--single {
  height: 40px !important;
  padding: 6px 12px; /* optionnel : ajuster le padding */
  font-size: 14px; /* optionnel */
  border: 1px solid #ebebeb !important;
  border-radius: 4px; /* optionnel */
  background-color: #fff;
  box-sizing: border-box;
}

/* Alignement vertical du texte */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 28px !important;
  padding-left: 0; /* retire le padding interne par défaut */
  color: #333;
}

/* Icône flèche */
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px !important;
  top: 5px !important;
}

/* Bordure sur focus */
.select2-container--default.select2-container--focus .select2-selection--single {
  border: 1px solid #ebebeb !important;
  box-shadow: none !important;
}

/* Pour les champs multi-sélection */
.select2-container--default .select2-selection--multiple {
  min-height: 40px !important;
  border: 1px solid #ebebeb !important;
  border-radius: 4px;
  background-color: #fff;
  box-sizing: border-box;
}

/* Bordure sur focus (multi) */
.select2-container--default.select2-container--focus .select2-selection--multiple {
  border: 1px solid #ebebeb !important;
  box-shadow: none !important;
}

/* Dropdown (menu déroulant) */
.select2-container--default .select2-dropdown {
  border: 1px solid #ebebeb !important;
  border-radius: 0 0 4px 4px;
}

/* Résultats dans le dropdown */
.select2-results__option {
  padding: 6px 12px;
  font-size: 14px;
}

/* Résultat survolé */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #f5f5f5;
  color: #333;
}

@media (max-width: 576px) {
  .modal-quick-view-rent .modal-content {
    padding: 1rem;
  }
}
.modal-quick-view-rent .modal-content {
  padding: 2rem;
}
.modal-quick-view-rent .icon-close-popup {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-quick-view-rent .group-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.modal-quick-view-rent .group-btn .zone-select-btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}
@media (max-width: 576px) {
  .modal-quick-view-rent .group-btn {
    flex-direction: column;
  }
  .modal-quick-view-rent .group-btn .zone-select-btn {
    width: 100%;
    padding: 0.35rem 0.35rem;
  }
}

.check-agree input {
  position: relative;
  top: 2px;
}

.accordion-button:not(.collapsed) {
  background-color: white;
  color: #212529;
}

.accordion-button,
.accordion-button:focus,
.accordion-button:not(.collapsed):focus {
  box-shadow: none;
}

.table-page-cart td {
  padding: 5px 9px;
}

/* Icône blanche quand fond vert ET fermé */
.accordion-button[style*="background-color: #047200"]::after {
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

/* Icône blanche quand fond vert ET ouvert */
.accordion-button[style*="background-color: #047200"]:not(.collapsed)::after {
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.no-chevron::after {
  display: none !important;
}

.disabled-step {
  cursor: not-allowed;
  pointer-events: none; /* empêche les clics */
  opacity: 0.6;
  text-align: left;
}

.accordion-button.disabled-step {
  justify-content: flex-start !important;
  text-align: left !important;
  padding-right: 1.5rem; /* compense l'absence de ::after */
}

.btn-disabled {
  background-color: #ccc !important;
  border-color: #ccc !important;
  color: #666 !important;
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.6;
}

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