/* =====================================================
   HONFLEUR INSIDER - PARKINGS
   ===================================================== */

.rdh-parkings {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px 120px;
  box-sizing: border-box;
}

.rdh-parking-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 12px;
  scrollbar-width: none;
}

.rdh-parking-filters::-webkit-scrollbar {
  display: none;
}

.rdh-parking-filters button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: #eef3f8;
  color: #17345c;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.rdh-parking-filters button.active {
  background: #17345c;
  color: #fff;
}

.rdh-parkings-map-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #e9eef4;
  box-shadow: 0 8px 24px rgba(18,39,74,.08);
}

.rdh-parkings-map {
  width: 100%;
  height: 390px;
}

.rdh-parkings-map-actions {
  position: absolute;
  z-index: 800;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.rdh-parkings-map-actions button {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: #17345c;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0,0,0,.16);
}

.rdh-parkings-list {
  margin-top: 16px;
}

.rdh-parking-card {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  gap: 12px;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(18,39,74,.07);
}

.rdh-parking-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #17345c;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.rdh-parking-name {
  color: #17345c;
  font-size: 16px;
  font-weight: 850;
}

.rdh-parking-meta {
  margin-top: 4px;
  color: #68758a;
  font-size: 13px;
  line-height: 1.45;
}

.rdh-parking-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.rdh-parking-badge {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef3f8;
  color: #17345c;
  font-size: 11px;
  font-weight: 800;
}

.rdh-parking-marker {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #17345c;
  color: #fff;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(0,0,0,.24);
}

.rdh-parking-user-marker {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2585e6;
  border: 4px solid #fff;
  box-shadow:
    0 0 0 4px rgba(37,133,230,.20),
    0 3px 10px rgba(0,0,0,.25);
}

.rdh-parkings-empty,
.rdh-parkings-loading {
  padding: 18px;
  text-align: center;
  color: #6e7a8c;
  font-size: 14px;
}

@media (max-width:480px) {
  .rdh-parkings {
    padding-left: 12px;
    padding-right: 12px;
  }

  .rdh-parkings-map {
    height: 350px;
  }

  .rdh-parking-card {
    grid-template-columns: 44px minmax(0,1fr);
  }

  .rdh-parking-icon {
    width: 44px;
    height: 44px;
  }
}

/* INTERACTION AVEC LES FICHES PARKINGS */

.rdh-parking-card {
  cursor: pointer;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease;
}

.rdh-parking-card:hover {
  box-shadow:
    0 9px 26px rgba(18,39,74,.11);
}

.rdh-parking-card:active {
  transform: scale(.985);
  background: #f8fafc;
}

.rdh-parking-card:focus-visible {
  outline: 2px solid #17345c;
  outline-offset: 2px;
}
