/**
 * DETAIL.CSS
 * Styles pour la page de détail des annonces
 * Extrait et refactorisé depuis detail.php
 */

/* =========================================
   1. VARIABLES CSS
   ========================================= */
:root {
  --card-bg-color: #ffffff;
  --text-primary-color: #212529;
  --text-secondary-color: #6c757d;
  --icon-color: #e63946;
  --border-color: #dee2e6;
  --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  --card-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* =========================================
   FIX POUR LE <main> - Enlève le vide blanc
   ========================================= */

/* Neutraliser les marges/paddings sur main */
main.main-content {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  max-width: 100%;
}

/* S'assurer que les sections à l'intérieur n'ont pas de marge */
main.main-content > section {
  margin: 0;
}

/* Container fluide à 100% */
main.main-content .container-fluid {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

/* Si vous avez des paddings sur les sections internes */
main.main-content .content-section {
  padding-left: 0;
  padding-right: 0;
}

/* Retirer les gutters sur les rows si nécessaire */
main.main-content .row {
  --bs-gutter-x: 0;
  margin-left: 0;
  margin-right: 0;
}

main.main-content h1,
main.main-content h2,
main.main-content h3 {
  text-align: left !important;
}

/* =========================================
   LAYOUT 100% LARGEUR (Plus de colonnes)
   ========================================= */

/* Tous les éléments de contenu à 100% */
.details-content-container,
.badges-scroll-container,
.specs-scroll-container,
.description-section,
.location-section,
.faq-section,
.similar-ads-section {
  width: 100%;
  max-width: 1400px; /* Limite raisonnable pour la lisibilité */
  margin-left: auto;
  margin-right: auto;
}

/* Sur très grands écrans (>1600px) */
@media (min-width: 1600px) {
  .details-content-container,
  .badges-scroll-container,
  .specs-scroll-container,
  .description-section,
  .location-section,
  .faq-section,
  .similar-ads-section {
    max-width: 1600px;
  }
}

/* =========================================
   ESPACEMENT INTERNE (Pour la respiration)
   ========================================= */

/* Ajouter un peu d'air sur les sections */
.content-section {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Espacements verticaux entre sections */
.badges-scroll-container {
  margin-bottom: 16px;
}
.details-content-container > div {
  margin-bottom: 20px;
}
.specs-scroll-container {
  margin-bottom: 4px;
}
.description-section {
  margin-bottom: 32px;
}
.location-section {
  margin-bottom: 32px;
}
.faq-section {
  margin-bottom: 32px;
}
.similar-ads-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* =========================================
   RESPONSIVE - Mobile
   ========================================= */

@media (max-width: 768px) {
  .details-content-container,
  .badges-scroll-container,
  .specs-scroll-container,
  .description-section,
  .location-section,
  .faq-section,
  .similar-ads-section {
    padding-left: 0px;
    padding-right: 0px;
  }
}

/* =========================================
   2. ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mapPulse {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }
  70% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(0.95);
    opacity: 1;
  }
}

/* =========================================
   3. LAYOUT GÉNÉRAL
   ========================================= */
.backdropSearchBar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.footer-container {
  padding-bottom: 100px !important;
}

.mobile-detail-left-content {
  z-index: 1;
}

/* =========================================
   4. SWIPER / CAROUSEL
   ========================================= */
#photosarea {
  display: none;
}

#myDesktopSwiper {
  display: block;
}

.swiper-slide {
  width: 400px;
  height: 600px;
  padding: 0;
  margin: 0;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blur-img {
  filter: blur(32px);
  transition: filter 0.9s ease;
}

/* Boutons Navigation Swiper */
.swiper-button-prev,
.swiper-button-next {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 20;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.swiper-button-prev svg,
.swiper-button-next svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* =========================================
   5. BOUTONS D'ACTION
   ========================================= */
.button-favorite,
.button-call,
.button-whatsapp,
.button-sms,
.button-follow,
.button-dm,
.button-share,
.button-random {
  border-radius: 4px !important;
}

.button-favorite {
  color: #f44336;
  background: linear-gradient(315deg, rgb(255 255 255 / 0%) 0%, #f4433636 100%);
}

.button-call {
  color: #34b7f1;
  background: linear-gradient(315deg, rgb(255 255 255 / 0%) 0%, #34b7f136 100%);
}

.button-whatsapp {
  color: #25d366;
  background: linear-gradient(315deg, rgb(255 255 255 / 0%) 0%, #25d36636 100%);
}

.button-sms {
  color: #78c257;
  background: linear-gradient(315deg, rgb(255 255 255 / 0%) 0%, #78c25736 100%);
}

.button-follow {
  color: #ff9800;
  background: linear-gradient(315deg, rgb(255 255 255 / 0%) 0%, #ff980036 100%);
}

.button-dm {
  color: #c13584;
  background: linear-gradient(315deg, rgb(255 255 255 / 0%) 0%, #c1358436 100%);
}

.button-share {
  color: #f6f6f6;
  background: linear-gradient(315deg, rgb(255 255 255 / 0%) 0%, #73737336 100%);
}

.button-random {
  color: #fffc00;
  background: linear-gradient(315deg, rgb(255 255 255 / 0%) 0%, #fffc0036 100%);
}

#button-favorite,
#button-unfavorite {
  position: relative;
}

.like-count,
.follow-count {
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 2rem;
  padding: 0 2px;
}

/* =========================================
   6. BOTTOM ACTION BAR (Mobile)
   ========================================= */
.bottomActionBar {
  display: none;
}

/* @media (min-width: 768px) {
  .bottomActionBar {
    max-width: 500px;
  }
} */

.more-button-open-menu {
  display: none;
  position: fixed;
  bottom: 55px;
  right: -5px;
  z-index: 3000;
}

.more-button-open-menu::after {
  content: "";
  position: absolute;
  right: 29px;
  bottom: 20px;
  border-style: solid;
  border-top-width: 10px;
  border-right-width: 10px;
  border-left-width: 10px;
  border-top-color: #252525;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
}

/* =========================================
   7. DROPDOWN MENU
   ========================================= */
.dropdown-contentGender span {
  color: var(--spec-text-primary-inverse);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropbtnGender {
  color: var(--spec-text-primary-inverse);
  cursor: pointer;
  background: transparent;
  border: none;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  font-size: unset;
  display: flex;
}

.dropdown-contentGender {
  z-index: 9999;
  background-color: #303030;
  min-width: 147px;
  display: none;
  position: absolute;
  top: 42px;
  box-shadow: 0 8px 16px #0003;
  width: -webkit-fill-available;
}

/* =========================================
   8. INFO BANNER (Specs Cards)
   ========================================= */
.info-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 5px;
  padding: 0;
}

.info-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.2rem 1rem;
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
}

.info-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--icon-color);
}

.info-item .icon {
  fill: var(--icon-color);
  width: 32px;
  height: 32px;
  margin-bottom: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.info-item:hover .icon {
  transform: scale(1.1);
}

.info-item .info-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.info-item .info-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary-color);
  line-height: 1.1;
}

.info-item.highlight-recent {
  background: linear-gradient(
    135deg,
    rgba(74, 222, 128, 0.08) 0%,
    rgba(34, 197, 94, 0.08) 100%
  );
  border: 2px solid rgba(34, 197, 94, 0.3);
}

/* Délais d'animation */
.info-banner .info-item:nth-child(1) {
  animation-delay: 0.1s;
}
.info-banner .info-item:nth-child(2) {
  animation-delay: 0.15s;
}
.info-banner .info-item:nth-child(3) {
  animation-delay: 0.2s;
}
.info-banner .info-item:nth-child(4) {
  animation-delay: 0.25s;
}
.info-banner .info-item:nth-child(5) {
  animation-delay: 0.3s;
}
.info-banner .info-item:nth-child(6) {
  animation-delay: 0.35s;
}
.info-banner .info-item:nth-child(7) {
  animation-delay: 0.4s;
}
.info-banner .info-item:nth-child(8) {
  animation-delay: 0.45s;
}

/* =========================================
   9. TITRE PRINCIPAL
   ========================================= */
.annonce-main-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #111;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 5px;
}

.annonce-main-title span {
  color: #e63946;
}

h2.fst-italic {
  font-family: "Georgia", serif;
  color: #555;
  font-size: 1.1rem;
  border-left: 3px solid #e63946;
  padding-left: 12px;
  margin-top: 12px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.badge.bg-light {
  background-color: #f8f9fa !important;
  color: #333 !important;
  border: 1px solid #e9ecef;
  font-size: 0.8rem;
  padding: 8px 12px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}

.badge.bg-light:hover {
  background-color: #fff !important;
  border-color: #ccc;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.badge.bg-light i {
  font-size: 0.9em;
  opacity: 0.8;
}

/* =========================================
   10. FIL D'ARIANE
   ========================================= */
.breadcrumb-scrollable {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 6px;
  padding: 12px 0;
  margin: 0 0 10px 0;
  list-style: none;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.85rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.breadcrumb-scrollable::-webkit-scrollbar {
  display: none;
}

.breadcrumb-scrollable li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.breadcrumb-scrollable a {
  color: #64748b;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-weight: 500;
  white-space: nowrap;
}

.breadcrumb-scrollable a:hover {
  color: #e63946;
  background: rgba(230, 57, 70, 0.05);
}

.breadcrumb-scrollable .active {
  color: #1e293b;
  font-weight: 700;
  padding: 4px 8px;
  white-space: nowrap;
}

.breadcrumb-scrollable .separator {
  color: #cbd5e1;
  margin: 0 2px;
  font-size: 1rem;
}

/* =========================================
   11. BADGES SCROLLABLES
   ========================================= */
.badges-scroll-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  padding: 5px 2px 1px 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.badges-scroll-container::-webkit-scrollbar {
  display: none;
}

.badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #333;
  text-decoration: none;
  transition: transform 0.1s;
  flex-shrink: 0;
}

.badge-btn:active {
  transform: scale(0.98);
}

/* =========================================
   12. SPECS CARDS (Scrollables)
   ========================================= */
.specs-scroll-container {
  display: flex;
  gap: 10px;
  padding: 5px 2px 20px 2px;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.specs-scroll-container::-webkit-scrollbar {
  display: none;
}

.spec-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 12px;
  min-width: 130px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s;
}

.spec-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-color: #e63946;
}

.spec-icon-wrapper {
  width: 36px;
  height: 36px;
  background-color: rgba(230, 57, 70, 0.1);
  color: #e63946;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.spec-icon-wrapper svg {
  fill: currentColor;
}

.spec-label {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.spec-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* =========================================
   13. DESCRIPTION (Expand/Collapse)
   ========================================= */
.desc-wrapper {
  position: relative;
  overflow: hidden;
  height: 120px;
  transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.desc-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.desc-wrapper.open .desc-gradient {
  opacity: 0;
}

.btn-toggle-desc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  padding: 8px 24px;
  background-color: white;
  color: #e63946;
  border: 1px solid #e63946;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(230, 57, 70, 0.1);
}

.btn-toggle-desc:hover {
  background-color: #e63946;
  color: white;
  box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
  transform: translateY(-2px);
}

.btn-toggle-desc:active {
  transform: scale(0.98);
}

/* =========================================
   14. LOCALISATION / CARTE
   ========================================= */

/* Container de la carte */
.map-container-framed {
  padding: 5px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #f9f9f9;
}

#mapAnnonce {
  height: 300px;
  width: 100%;
  border-radius: 8px;
  z-index: 1;
}

/* Bouton Itinéraire */
.btn-gps-floating {
  transition: transform 0.2s ease;
}

.btn-gps-floating:active {
  transform: scale(0.95);
}

/* Wrapper des infos - TOUJOURS HORIZONTAL */
.location-info-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap; /* Wrap si trop long */
  gap: 8px;
  font-size: 1rem;
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid #e63946;
  margin-bottom: 8px;
}

/* Badge Quartier */
.location-badge {
  background: white;
  border: 1px solid #e63946;
  color: #e63946;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.location-badge:hover {
  background: #e63946;
  color: white;
}

/* Ville */
.location-city {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
}

/* Séparateurs */
.location-separator {
  color: #adb5bd;
  font-size: 0.7rem;
}

.location-dot {
  color: #adb5bd;
  font-weight: 700;
}

/* Pays */
.location-country {
  color: #6c757d;
  font-size: 0.9rem;
}

/* Mobile : Garder horizontal, juste réduire les tailles */
@media (max-width: 576px) {
  .location-info-wrapper {
    padding: 10px 12px;
    gap: 6px;
  }

  .location-badge {
    font-size: 0.8rem;
    padding: 3px 10px;
  }

  .location-city {
    font-size: 0.95rem;
  }

  .location-country {
    font-size: 0.85rem;
  }
}

/* =========================================
   15. ANNONCES SIMILAIRES
   ========================================= */
#annoncesContainer {
  display: flex;
  flex-wrap: wrap;
}

#annoncesContainer .profile-container {
  margin-bottom: 0px;
  flex: 0 0 20%;
  max-width: 20%;
}

.fade-in-img {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.fade-in-img.loaded {
  opacity: 1;
}

#annoncesContainer,
.slider-ads-diamonds {
  z-index: 1 !important;
  position: relative;
}

.slider-ads-diamonds .profile-link {
  transform: none !important;
  z-index: auto !important;
}

.similar-title-header {
  font-size: 1rem;
  font-weight: 800;
  color: #333;
  text-transform: uppercase;
  border-left: 6px solid #e63946;
  padding-left: 20px;
  margin-bottom: 25px;
  margin-top: 30px;
  letter-spacing: 0.5px;
}

.similar-title-header .ville {
  color: #e63946;
}

/* =========================================
   16. NAVIGATION RAPIDE (SEO)
   ========================================= */
.seo-nav-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #1e293b;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.seo-nav-title::before {
  content: "";
  display: block;
  width: 4px;
  height: 16px;
  background-color: #e63946;
  margin-right: 10px;
  border-radius: 2px;
}

.seo-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  background-color: #f8f9fa;
  color: #495057;
  border: 1px solid #e9ecef;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.seo-tag svg {
  fill: #adb5bd;
  transition: fill 0.3s ease;
}

.seo-tag:hover {
  background-color: #fff;
  color: #e63946;
  border-color: #e63946;
  box-shadow: 0 3px 8px rgba(230, 57, 70, 0.15);
  transform: translateY(-2px);
}

.seo-tag:hover svg {
  fill: #e63946;
}

/* =========================================
   17. MODALES
   ========================================= */
.modal-title {
  color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  font-size: 18px;
}

.modal-closer-button {
  margin-top: 9px;
  background: none;
  border: none;
  color: white;
}

.reportInputs {
  background-color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #333 !important;
  padding: 10px 12px;
  border-radius: 6px;
}

.reportInputs:focus {
  background-color: #ffffff !important;
  border-color: #e63946 !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.reportInputs::placeholder {
  color: rgba(0, 0, 0, 0.4);
  opacity: 1;
}

.reportInputs::-moz-placeholder {
  color: rgba(0, 0, 0, 0.4);
  opacity: 1;
}

option {
  background-color: #ffffff !important;
  border: none;
  color: #333 !important;
}

option:hover {
  background-color: #f5f5f5 !important;
  border: none;
  color: #333 !important;
}

.required-star {
  color: white;
  vertical-align: -2px;
}

.invalid-feedback {
  display: none;
  color: #f89898;
  font-size: 0.875em;
  margin-top: 5px;
}

.is-invalid + .invalid-feedback {
  display: block;
}

.swal2-container {
  z-index: 2999 !important;
}

/* =========================================
   18. RESPONSIVE
   ========================================= */
@media (max-width: 500px) {
  #photosarea {
    display: block;
  }

  .bottomActionBar {
    display: block;
  }

  #myDesktopSwiper {
    display: none;
  }
}

@media (min-width: 992px) {
  .specs-scroll-container {
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: flex-start;
  }

  .spec-card {
    flex: 0 0 calc(25% - 10px);
    width: calc(25% - 10px);
  }
}

@media (max-width: 991px) {
  .info-banner {
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
  }

  .info-item .info-value {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .info-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
  }

  .info-item {
    padding: 1rem 0.5rem;
  }

  .info-item .icon {
    width: 26px;
    height: 26px;
  }

  .info-item .info-title {
    font-size: 1rem;
  }

  .info-item .info-value {
    font-size: 1rem;
  }
}

@media (max-width: 1200px) {
  #annoncesContainer .profile-container {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media (max-width: 768px) {
  #annoncesContainer .profile-container {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (max-width: 576px) {
  #annoncesContainer .profile-container {
    flex: 0 0 calc(50% - 1px);
    max-width: calc(50% - 1px);
  }
}

@media (max-width: 399px) {
  .info-item .info-title {
    font-size: 0.9rem;
  }

  .info-item .info-value {
    font-size: 0.9rem;
  }
}

@media (max-width: 320px) {
  #annoncesContainer .profile-container {
    flex: 0 0 calc(100% - 1px);
    max-width: 100%;
    margin-right: 0;
  }
}

/* =========================================
   19. AUTRES
   ========================================= */
.other-cities-buy-premium .lock-keyhole-solid {
  left: 7px;
  top: unset !important;
  width: 3rem;
  bottom: 14px;
}

.badge.outline {
  padding: 6px 14px;
  border: 1px solid blue;
  border-radius: 8px;
  background: blue;
  color: #ffffff;
  font-size: 14px;
  cursor: default;
  transition: 0.3s;
}

.badge.outline:hover {
  background: #ffffff;
  color: blue;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* =========================================
   SECTION CONTACT MODERNE - V4 REDESIGN
   Design épuré et intuitif
   ========================================= */

/* Stats Bar - Informative */
.stats-bar-inline {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 0.95rem;
}

.stat-item i {
  font-size: 1.1rem;
  color: #999;
}

.stat-item span {
  font-weight: 700;
  color: #333;
  font-size: 1.1rem;
}

.stat-item small {
  color: #888;
  font-size: 0.85rem;
}

.stat-item.stat-likes.active i {
  color: #e63946;
}

/* Contact CTA Wrapper */
.contact-cta-wrapper {
  background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-cta-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.contact-cta-title i {
  color: #e63946;
  font-size: 1.2rem;
}

/* CTA Buttons */
.contact-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-btn {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.cta-btn:hover::after {
  left: 100%;
}

.cta-btn i {
  font-size: 1.6rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.cta-text {
  display: flex;
  flex-direction: column;
}

.cta-label {
  font-weight: 700;
  font-size: 0.95rem;
}

.cta-number {
  font-size: 0.8rem;
  opacity: 0.85;
  font-weight: 500;
}

/* Phone CTA */
.cta-phone {
  background: linear-gradient(135deg, #34b7f1 0%, #1e88e5 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(52, 183, 241, 0.3);
}

.cta-phone:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(52, 183, 241, 0.4);
  color: white;
}

/* WhatsApp CTA */
.cta-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.cta-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  color: white;
}

/* SMS CTA */
.cta-sms {
  background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

.cta-sms:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(156, 39, 176, 0.4);
  color: white;
}

/* Quick Actions Bar */
.quick-actions-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 1px;
  background: #f8f9fa;
  border-radius: 12px;
  flex-wrap: wrap;
}

.quick-actions-bar .quick-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 25px;
  color: #555;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.quick-actions-bar .quick-action-btn i {
  font-size: 1rem;
}

.quick-actions-bar .quick-action-btn:hover {
  background: #f5f5f5;
  border-color: #ccc;
  transform: translateY(-2px);
}

.quick-actions-bar .quick-action-btn.liked {
  background: linear-gradient(135deg, #e63946 0%, #d62839 100%);
  color: white;
  border-color: transparent;
}

.quick-actions-bar .quick-action-btn.liked:hover {
  background: linear-gradient(135deg, #d62839 0%, #c1272d 100%);
}

.quick-actions-bar .quick-action-btn.action-report {
  color: #888;
}

.quick-actions-bar .quick-action-btn.action-report:hover {
  background: #fff5f5;
  border-color: #ffcdd2;
  color: #d32f2f;
}

/* =========================================
   BARRE FLOTTANTE MOBILE (Supprimée - doublon avec bottomActionBar)
   ========================================= */

/* CSS mobile-floating-bar supprimé car conflit avec bottomActionBar */

@media (max-width: 767px) {
  /* Section contact visible sur mobile avec design amélioré */
  .contact-section-modern .contact-cta-wrapper {
    display: none;
  }

  .contact-section-modern .contact-cta-title {
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .contact-section-modern .contact-cta-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .contact-section-modern .cta-btn {
    padding: 12px;
  }

  .contact-section-modern .cta-btn i {
    font-size: 1.2rem;
  }

  .contact-section-modern .cta-text {
    gap: 2px;
  }

  .contact-section-modern .cta-label {
    font-size: 0.85rem;
  }

  .contact-section-modern .cta-number {
    font-size: 0.75rem;
  }

  .contact-section-modern .quick-actions-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
  }

  .contact-section-modern .quick-action-btn {
    flex-direction: column;
    padding: 12px 8px;
    font-size: 0.75rem;
    gap: 6px;
    min-height: auto;
  }

  .contact-section-modern .quick-action-btn i {
    font-size: 1.2rem;
    margin: 0;
  }

  .stats-bar-inline {
    gap: 16px;
    padding: 12px 16px;
  }

  .stat-item {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .stat-item small {
    font-size: 0.75rem;
  }

  /* Padding pour le bottomActionBar */
  .footer-container {
    padding-bottom: 100px !important;
  }
}

/* Styles floating-btn conservés au cas où utilisés ailleurs */
.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 60px;
  height: 50px;
  border-radius: 14px;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.floating-call {
  background: linear-gradient(135deg, #34b7f1 0%, #1e88e5 100%);
  color: white;
  flex: 1;
  max-width: 100px;
}

.floating-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  flex: 1;
  max-width: 100px;
}

.floating-like {
  background: white;
  color: #666;
  border: 1px solid #e0e0e0;
  flex: 1;
  max-width: 90px;
  font-size: 1rem;
}

.floating-like span {
  font-size: 0.85rem;
  font-weight: 600;
}

.floating-like.liked {
  background: linear-gradient(135deg, #e63946 0%, #d62839 100%);
  color: white;
  border: none;
}

.floating-more {
  background: #f5f5f5;
  color: #555;
  border: 1px solid #e0e0e0;
  width: 50px;
}

.floating-btn:hover {
  transform: scale(1.05);
}

.floating-btn:active {
  transform: scale(0.98);
}

/* =========================================
   MENU "PLUS" MOBILE
   ========================================= */

.mobile-more-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}

.mobile-more-menu.active {
  display: block;
}

.more-menu-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.2s ease;
}

.more-menu-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-radius: 20px 20px 0 0;
  padding: 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.more-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.more-menu-header span {
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
}

.more-menu-header button {
  background: #f5f5f5;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}

.more-menu-header button:hover {
  background: #eee;
}

.more-menu-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.more-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: transparent;
  border: none;
  border-radius: 12px;
  color: #333;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  text-align: left;
}

.more-menu-item i {
  width: 24px;
  font-size: 1.1rem;
  color: #666;
}

.more-menu-item:hover {
  background: #f8f9fa;
}

.more-menu-item.item-danger {
  color: #d32f2f;
}

.more-menu-item.item-danger i {
  color: #d32f2f;
}

.more-menu-item.item-danger:hover {
  background: #ffebee;
}

.mobile-btn-signal:hover {
  border-color: #263238;
}

/* =========================================
   SECTION COMMENTAIRES - Style Instagram
   ========================================= */

.comments-section {
  margin: 40px 0;
  padding: 24px;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.comments-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comments-title i {
  color: #00bcd4;
  font-size: 1.4rem;
}

.comments-count {
  background: #00bcd4;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.add-comment-btn {
  background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.add-comment-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

.add-comment-btn i {
  font-size: 1rem;
}

/* Liste des commentaires */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Commentaire individuel */
.comment-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.comment-item:hover {
  background: #f0f2f5;
}

/* Avatar */
.comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e63946 0%, #c53038 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  text-transform: uppercase;
}

/* Contenu du commentaire */
.comment-content {
  flex: 1;
  min-width: 0;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.comment-username {
  font-weight: 700;
  color: #1a1a1a;
  font-size: 0.95rem;
}

.comment-date {
  color: #6c757d;
  font-size: 0.8rem;
}

.comment-text {
  color: #333333;
  font-size: 0.95rem;
  line-height: 1.5;
  word-wrap: break-word;
  margin: 0;
}

/* Message si pas de commentaires */
.no-comments {
  text-align: center;
  padding: 40px 20px;
  color: #6c757d;
}

.no-comments i {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.3;
}

.no-comments p {
  font-size: 1rem;
  margin: 0;
}

/* =========================================
   MODALE COMMENTAIRE - Style moderne
   ========================================= */

.comment-modal .modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.comment-modal .modal-header {
  background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
  color: white;
  border-radius: 16px 16px 0 0;
  padding: 20px 24px;
  border-bottom: none;
}

.comment-modal .modal-title {
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.comment-modal .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.comment-modal .btn-close:hover {
  opacity: 1;
}

/* =========================================
   RESPONSIVE - MOBILE
   ========================================= */

@media (max-width: 768px) {
  /* Section commentaires */
  .comments-section {
    padding: 16px;
    margin: 24px 0;
  }

  .comments-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .comments-title {
    font-size: 1.1rem;
  }

  .add-comment-btn {
    width: 100%;
    justify-content: center;
  }

  .comment-avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .comment-item {
    padding: 12px;
  }

  /* Boutons contact mobile */
  .mobile-buttons-wrapper {
    flex-direction: column;
  }

  .mobile-btn {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  /* Grid 4 colonnes sur très petits écrans */
  .contact-buttons-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .contact-btn {
    padding: 14px 10px;
  }

  .contact-btn i {
    font-size: 1.4rem;
  }

  .contact-btn span {
    font-size: 0.8rem;
  }
}

/* =========================================
   FIX POUR BOTTOM BAR - Ajouter Commentaires
   ========================================= */

@media (max-width: 767px) {
  .detailBottomActionBarContainer {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 boutons au lieu de 5 */
    gap: 2px;
  }
}

/* =========================================
   SECTION COMMENTAIRES PREMIUM - REDESIGN
   Design moderne avec photos de profil
   ========================================= */

.comments-section-premium {
  margin: 32px 0;
  padding: 0;
}

/* Header Premium */
.comments-header-premium {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px 16px 0 0;
  border: 1px solid #e9ecef;
  border-bottom: 2px solid #e63946;
}

.comments-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comments-title-premium {
  font-size: 1.4rem;
  font-weight: 700;
  color: #212529;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.comments-title-premium i {
  color: #e63946;
  font-size: 1.5rem;
}

.comments-count-badge {
  background: linear-gradient(135deg, #e63946 0%, #d62839 100%);
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

.add-comment-btn-premium {
  background: linear-gradient(135deg, #e63946 0%, #d62839 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.add-comment-btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.add-comment-btn-premium:active {
  transform: translateY(0);
}

.add-comment-btn-premium i {
  font-size: 1rem;
}

/* Liste Premium */
.comments-list-premium {
  background: white;
  border: 1px solid #e9ecef;
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 24px;
}

/* Card Commentaire Premium */
.comment-card-premium {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.comment-card-premium:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: #e63946;
  transform: translateY(-2px);
}

.comment-card-premium:last-child {
  margin-bottom: 0;
}

/* Avatar Premium avec Photo */
.comment-avatar-premium {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  position: relative;
}

.avatar-img-premium {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e63946;
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.2);
}

.avatar-placeholder-premium {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #e63946 0%, #d62839 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

/* Corps du Commentaire Premium */
.comment-body-premium {
  flex: 1;
  min-width: 0;
}

.comment-header-premium {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comment-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.comment-username-premium {
  font-weight: 700;
  color: #212529;
  font-size: 1rem;
}

.comment-date-premium {
  color: #6c757d;
  font-size: 0.85rem;
  font-weight: 500;
}

.btn-delete-comment-premium {
  background: transparent;
  border: none;
  color: #dc3545;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.btn-delete-comment-premium:hover {
  background: #ffebee;
  color: #c82333;
}

.comment-text-premium {
  color: #495057;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 12px 0;
  word-wrap: break-word;
}

/* Actions Premium */
.comment-actions-premium {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn-reply-premium {
  background: transparent;
  border: none;
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-reply-premium:hover {
  background: #f8f9fa;
  color: #e63946;
}

.btn-reply-premium i {
  font-size: 0.95rem;
}

/* Formulaire de Réponse Premium */
.reply-form-premium {
  display: none;
  margin-top: 16px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #e63946;
}

.reply-textarea-premium {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  font-size: 0.95rem;
  resize: vertical;
  min-height: 80px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.reply-textarea-premium:focus {
  outline: none;
  border-color: #e63946;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.reply-actions-premium {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-cancel-reply {
  background: #6c757d;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel-reply:hover {
  background: #5a6268;
}

.btn-submit-reply {
  background: linear-gradient(135deg, #e63946 0%, #d62839 100%);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-submit-reply:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.btn-submit-reply:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Container des Réponses Premium */
.replies-container-premium {
  margin-top: 16px;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 3px solid #e9ecef;
}

/* Card Réponse Premium */
.reply-card-premium {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.reply-card-premium:hover {
  background: #e9ecef;
}

.reply-card-premium:last-child {
  margin-bottom: 0;
}

/* Avatar Réponse avec Photo */
.reply-avatar-premium {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.reply-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e63946;
  box-shadow: 0 2px 6px rgba(230, 57, 70, 0.15);
}

.reply-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(102, 126, 234, 0.2);
}

/* Corps Réponse Premium */
.reply-body-premium {
  flex: 1;
  min-width: 0;
}

.reply-header-premium {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.reply-username-premium {
  font-weight: 700;
  color: #212529;
  font-size: 0.9rem;
}

.reply-date-premium {
  color: #6c757d;
  font-size: 0.8rem;
}

.reply-text-premium {
  color: #495057;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  word-wrap: break-word;
}

/* Message si pas de commentaires */
.no-comments-premium {
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
}

.no-comments-premium i {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.2;
  color: #e63946;
}

.no-comments-premium p {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 500;
}

/* =========================================
   ASTUCE PARTAGE PROPRIÉTAIRE
   ========================================= */

.owner-tip-box {
  margin-top: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #e3f2fd 0%, #e1f5fe 100%);
  border-left: 4px solid #2196f3;
  border-radius: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
  animation: fadeInUp 0.4s ease-out;
}

.owner-tip-box i {
  color: #2196f3;
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.owner-tip-box p {
  margin: 0;
  color: #1565c0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.owner-tip-box strong {
  color: #0d47a1;
  font-weight: 600;
}

@media (max-width: 768px) {
  .owner-tip-box {
    padding: 14px 16px;
    gap: 12px;
  }

  .owner-tip-box i {
    font-size: 1.1rem;
  }

  .owner-tip-box p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .owner-tip-box {
    padding: 12px 14px;
    flex-direction: column;
    gap: 10px;
  }

  .owner-tip-box i {
    font-size: 1.2rem;
  }

  .owner-tip-box p {
    font-size: 0.88rem;
  }
}

/* =========================================
   RESPONSIVE - PREMIUM COMMENTS
   ========================================= */

@media (max-width: 768px) {
  .comments-header-premium {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
  }

  .comments-title-wrapper {
    justify-content: space-between;
  }

  .comments-title-premium {
    font-size: 1.2rem;
  }

  .add-comment-btn-premium {
    width: 100%;
    justify-content: center;
  }

  .comments-list-premium {
    padding: 16px;
  }

  .comment-card-premium {
    padding: 16px;
    gap: 12px;
  }

  .comment-avatar-premium {
    width: 44px;
    height: 44px;
  }

  .avatar-placeholder-premium {
    font-size: 1.1rem;
  }

  .replies-container-premium {
    margin-left: 12px;
    padding-left: 12px;
  }

  .reply-card-premium {
    gap: 10px;
    padding: 12px;
  }

  .reply-avatar-premium {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .comment-header-premium {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .comment-user-info {
    width: 100%;
  }

  .btn-delete-comment-premium {
    align-self: flex-end;
  }

  .comments-title-premium {
    font-size: 1.1rem;
  }

  .comments-count-badge {
    font-size: 0.85rem;
    padding: 4px 12px;
  }

  /* Amélioration mobile: Réduire les marges des réponses */
  .replies-container-premium {
    margin-left: 0;
    padding-left: 8px;
    border-left: 2px solid #e9ecef;
  }

  .reply-card-premium {
    padding: 10px;
    gap: 8px;
  }

  .comment-card-premium {
    padding: 12px;
    flex-direction: column;
  }

  .comment-avatar-premium {
    width: 40px;
    height: 40px;
    align-self: flex-start;
  }

  .reply-avatar-premium {
    width: 32px;
    height: 32px;
  }

  .comment-actions-premium {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-reply-premium {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================
   SECTION AVIS & NOTATIONS PREMIUM
   Design moderne avec système d'étoiles
   ========================================= */

.reviews-section-premium {
  margin: 32px 0;
  padding: 0;
}

/* Header Reviews Premium */
.reviews-header-premium {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #fff9e6 0%, #fff3d6 100%);
  border-radius: 16px 16px 0 0;
  border: 1px solid #ffe4a3;
  border-bottom: 2px solid #ffa500;
}

.reviews-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviews-title-premium {
  font-size: 1.4rem;
  font-weight: 700;
  color: #212529;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.reviews-title-premium i {
  color: #ffa500;
  font-size: 1.5rem;
}

.reviews-count-badge {
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

.add-review-btn-premium {
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

.add-review-btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

/* Card Note Moyenne */
.average-rating-card {
  background: white;
  border: 1px solid #e9ecef;
  border-top: none;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.average-rating-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.rating-number {
  font-size: 3rem;
  font-weight: 700;
  color: #ffa500;
  line-height: 1;
}

.rating-max {
  font-size: 1.5rem;
  color: #6c757d;
}

.average-rating-stars {
  display: flex;
  gap: 4px;
  font-size: 1.8rem;
  color: #ffa500;
}

.average-rating-text {
  color: #6c757d;
  font-size: 0.95rem;
  text-align: center;
  width: 100%;
}

/* Formulaire Review */
.review-form-container {
  background: white;
  border: 1px solid #e9ecef;
  border-top: none;
  padding: 24px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

.review-form-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-form-title i {
  color: #ffa500;
}

.review-form-premium {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rating-input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rating-label {
  font-weight: 600;
  color: #495057;
  font-size: 0.95rem;
}

/* Étoiles cliquables */
.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 8px;
  font-size: 2rem;
}

.star-rating-input input {
  display: none;
}

.star-rating-input label {
  cursor: pointer;
  color: #ddd;
  transition: all 0.2s ease;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
  color: #ffa500;
  transform: scale(1.1);
}

.review-comment-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-label {
  font-weight: 600;
  color: #495057;
  font-size: 0.95rem;
}

.review-textarea-premium {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  font-size: 0.95rem;
  resize: vertical;
  min-height: 100px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.review-textarea-premium:focus {
  outline: none;
  border-color: #ffa500;
  box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.1);
}

.char-counter {
  color: #6c757d;
  font-size: 0.85rem;
  text-align: right;
}

.review-form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.btn-cancel-review {
  background: #6c757d;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel-review:hover {
  background: #5a6268;
}

.btn-submit-review {
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-submit-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

.btn-submit-review:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Liste des Reviews */
.reviews-list-premium {
  background: white;
  border: 1px solid #e9ecef;
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 24px;
}

/* Card Review */
.review-card-premium {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.review-card-premium:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: #ffa500;
  transform: translateY(-2px);
}

.review-card-premium:last-child {
  margin-bottom: 0;
}

/* Avatar Review */
.review-avatar-premium {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.review-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffa500;
  box-shadow: 0 2px 8px rgba(255, 165, 0, 0.2);
}

.review-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

/* Corps Review */
.review-body-premium {
  flex: 1;
  min-width: 0;
}

.review-header-premium {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

.review-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.review-username-premium {
  font-weight: 700;
  color: #212529;
  font-size: 1rem;
}

.review-date-premium {
  color: #6c757d;
  font-size: 0.85rem;
}

.review-rating-stars {
  display: flex;
  gap: 2px;
  font-size: 1rem;
  color: #ffa500;
}

.review-rating-stars .fa-regular {
  color: #ddd;
}

.review-comment-text {
  color: #495057;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  word-wrap: break-word;
}

.review-edited {
  color: #999;
  font-size: 0.8rem;
  font-style: italic;
  margin-top: 8px;
  display: block;
}

/* Message si pas d'avis */
.no-reviews-premium {
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
}

.no-reviews-premium i {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.2;
  color: #ffa500;
}

.no-reviews-premium p {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 500;
}

/* =========================================
   RESPONSIVE - REVIEWS
   ========================================= */

@media (max-width: 768px) {
  .reviews-header-premium {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
  }

  .reviews-title-wrapper {
    justify-content: space-between;
  }

  .reviews-title-premium {
    font-size: 1.2rem;
  }

  .add-review-btn-premium {
    width: 100%;
    justify-content: center;
  }

  .reviews-list-premium,
  .review-form-container,
  .average-rating-card {
    padding: 16px;
  }

  .review-card-premium {
    padding: 16px;
    gap: 12px;
  }

  .review-avatar-premium {
    width: 44px;
    height: 44px;
  }

  .rating-number {
    font-size: 2.5rem;
  }

  .average-rating-stars {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .review-header-premium {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .reviews-title-premium {
    font-size: 1.1rem;
  }

  .reviews-count-badge {
    font-size: 0.85rem;
    padding: 4px 12px;
  }

  .review-form-actions {
    flex-direction: column;
  }

  .btn-cancel-review,
  .btn-submit-review {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================
   STATISTIQUES EN TEMPS RÉEL
   Design engageant et moderne
   ========================================= */

.realtime-stats-container {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out;
}

.stat-badge {
  flex: 1;
  min-width: 250px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.stat-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.stat-badge i {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.stat-text {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
}

/* Stat Vues (Fire) */
.stat-views {
  border-left: 4px solid #ff6b6b;
}

.stat-views i {
  color: #ff6b6b;
}

.stat-views .stat-number {
  color: #ff6b6b;
}

/* Stat Favoris (Heart) */
.stat-favorites {
  border-left: 4px solid #e63946;
}

.stat-favorites i {
  color: #e63946;
}

.stat-favorites .stat-number {
  color: #e63946;
}

/* Animation pulse pour les icônes */
.stat-badge i {
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .realtime-stats-container {
    gap: 12px;
  }

  .stat-badge {
    min-width: 100%;
    padding: 14px 16px;
  }

  .stat-badge i {
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .stat-text {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .stat-badge {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px;
    min-width: 100%;
  }

  .stat-badge i {
    font-size: 2rem;
    flex-shrink: 0;
  }

  .stat-number {
    font-size: 1.6rem;
    font-weight: 700;
  }

  .stat-text {
    font-size: 0.8rem;
    line-height: 1.4;
    display: block;
  }

  /* Groupe nombre + texte */
  .stat-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
  }

  .stat-content .stat-number {
    display: block;
  }

  .stat-content .stat-text {
    display: block;
    word-wrap: break-word;
  }
}

/* =========================================
   CALENDRIER DE DISPONIBILITÉ
   Design moderne et interactif
   ========================================= */

.availability-calendar-container {
  background: white;
  border-radius: 16px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.availability-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
  border-bottom: 2px solid #4caf50;
}

.availability-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #212529;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.availability-title i {
  color: #4caf50;
  font-size: 1.4rem;
}

.availability-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: white;
  border: 1px solid #4caf50;
  color: #2e7d32;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.availability-badge i {
  font-size: 0.9rem;
}

.availability-grid {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.time-slot-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.time-slot-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.slot-label {
  min-width: 120px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #495057;
  font-size: 0.95rem;
}

.slot-label i {
  color: #ffa500;
  font-size: 1.1rem;
}

.days-container {
  flex: 1;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.day-cell {
  flex: 1;
  min-width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.day-cell.available {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-color: #81c784;
}

.day-cell.available:hover {
  background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.day-cell.unavailable {
  background: #f5f5f5;
  border-color: #e0e0e0;
  opacity: 0.5;
  cursor: not-allowed;
}

.day-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2e7d32;
}

.day-cell.unavailable .day-name {
  color: #999;
}

.availability-footer {
  padding: 16px 24px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid #e9ecef;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #6c757d;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.legend-color.available {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border: 2px solid #81c784;
}

.legend-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #999;
  font-style: italic;
}

.legend-note i {
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .availability-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .availability-title {
    font-size: 1.1rem;
  }

  .availability-badge {
    width: 100%;
    justify-content: center;
  }

  .availability-grid {
    padding: 16px;
  }

  .time-slot-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .slot-label {
    min-width: auto;
  }

  .days-container {
    width: 100%;
  }

  .day-cell {
    min-width: 40px;
    height: 40px;
  }

  .day-name {
    font-size: 0.75rem;
  }

  .availability-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
  }
}

@media (max-width: 480px) {
  .days-container {
    gap: 4px;
  }

  .day-cell {
    min-width: 35px;
    height: 35px;
  }

  .day-name {
    font-size: 0.7rem;
  }

  .slot-label {
    font-size: 0.85rem;
  }

  .slot-label i {
    font-size: 1rem;
  }
}

/* ============================================
   ACTIONS DU PROPRIÉTAIRE (Modifier/Supprimer)
   ============================================ */

.owner-actions-modern {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
  border-radius: 12px;
  border: 1px solid #ffdddd;
}

.btn-owner-edit,
.btn-owner-delete {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-owner-edit {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: white;
}

.btn-owner-edit:hover {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
  color: white;
}

.btn-owner-edit i {
  font-size: 1.1rem;
}

.btn-owner-delete {
  background: linear-gradient(135deg, #e63946 0%, #d62828 100%);
  color: white;
}

.btn-owner-delete:hover {
  background: linear-gradient(135deg, #d62828 0%, #c1121f 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.btn-owner-delete i {
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 767px) {
  .owner-actions-modern {
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }

  .btn-owner-edit,
  .btn-owner-delete {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}


/* =========================================
   NAVIGATION RAPIDE - REDESIGN MODERNE
   ========================================= */

.quick-nav-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quick-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.quick-nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.quick-nav-link:hover::before {
  left: 100%;
}

.quick-nav-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.quick-nav-icon svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.quick-nav-link:hover .quick-nav-icon svg {
  transform: scale(1.2);
}

/* Variante 1 - Ville (Bleu) */
.quick-nav-city {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  color: #1976d2;
  border-color: transparent;
}

.quick-nav-city .quick-nav-icon {
  background: rgba(25, 118, 210, 0.15);
}

.quick-nav-city .quick-nav-icon svg {
  fill: #1976d2;
}

.quick-nav-city:hover {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  color: white;
  border-color: #1565c0;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(25, 118, 210, 0.3);
}

.quick-nav-city:hover .quick-nav-icon {
  background: rgba(255, 255, 255, 0.2);
}

.quick-nav-city:hover .quick-nav-icon svg {
  fill: white;
}

/* Variante 2 - Section (Violet) */
.quick-nav-section {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
  color: #7b1fa2;
  border-color: transparent;
}

.quick-nav-section .quick-nav-icon {
  background: rgba(123, 31, 162, 0.15);
}

.quick-nav-section .quick-nav-icon svg {
  fill: #7b1fa2;
}

.quick-nav-section:hover {
  background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%);
  color: white;
  border-color: #6a1b9a;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(123, 31, 162, 0.3);
}

.quick-nav-section:hover .quick-nav-icon {
  background: rgba(255, 255, 255, 0.2);
}

.quick-nav-section:hover .quick-nav-icon svg {
  fill: white;
}

/* Variante 3 - Découvrir (Orange/Rouge) */
.quick-nav-discover {
  background: linear-gradient(135deg, #ffe8e8 0%, #ffcdd2 100%);
  color: #e63946;
  border-color: transparent;
}

.quick-nav-discover .quick-nav-icon {
  background: rgba(230, 57, 70, 0.15);
}

.quick-nav-discover .quick-nav-icon svg {
  fill: #e63946;
}

.quick-nav-discover:hover {
  background: linear-gradient(135deg, #e63946 0%, #d62839 100%);
  color: white;
  border-color: #d62839;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3);
}

.quick-nav-discover:hover .quick-nav-icon {
  background: rgba(255, 255, 255, 0.2);
}

.quick-nav-discover:hover .quick-nav-icon svg {
  fill: white;
}

/* Animation au chargement */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quick-nav-link {
  animation: slideInUp 0.5s ease forwards;
  opacity: 0;
}

.quick-nav-link:nth-child(1) {
  animation-delay: 0.1s;
}

.quick-nav-link:nth-child(2) {
  animation-delay: 0.2s;
}

.quick-nav-link:nth-child(3) {
  animation-delay: 0.3s;
}

/* Responsive Mobile */
@media (max-width: 576px) {
  .quick-nav-container {
    gap: 8px;
  }

  .quick-nav-link {
    padding: 10px 14px;
    font-size: 0.85rem;
    gap: 8px;
  }

  .quick-nav-icon {
    width: 24px;
    height: 24px;
  }

  .quick-nav-icon svg {
    width: 12px;
    height: 12px;
  }
}

/* Mobile - Pleine largeur */
@media (max-width: 480px) {
  .quick-nav-link {
    flex: 1 1 100%;
    justify-content: center;
  }
}

