/* ──────────────────────────────────────────────
   SUSHI SUSHI – MapLibre Styling (v1.0.2 Clean Build)
   ────────────────────────────────────────────── */

/* Wrapper layout */
#sushi-map-wrapper {
  display: flex;
  flex-wrap: nowrap;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  background: #fff;
  height: 700px;
}

/* Sidebar */
#sushi-map-sidebar {
  width: 33.333%;
  background: #ffffff;
  border-right: 1px solid #eee;
  padding: 24px;
  overflow-y: auto;
/*  font-family: 'Inter', sans-serif;  */
  font-family: 'Sushi Sushi Body Book Text', sans-serif;  
  color: #333;
}

#sushi-map-sidebar h3 {
  font-size: 1.25rem;
  margin: 0 0 10px 0;
  color: #231f20 !important;
  font-weight: 400;
}

#sushi-map-sidebar label {
  font-size: 0.875rem;
  color: #666;
}

#state-filter {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 18px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.3s;
}

#state-filter:focus {
  outline: none;
  border-color: #ed9a83;
  box-shadow: 0 0 0 2px rgba(237, 154, 131, 0.2);
}

/* Sidebar Items */
.sushi-sidebar-item {
  background: #fafafa;
  border-left: 4px solid #ed9a83;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 10px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.sushi-sidebar-item:hover {
  background: #ffece7;
  transform: translateX(3px);
}

.sushi-sidebar-item strong {
  display: block;
  font-size: 0.98rem;
  color: #222;
}

.sushi-sidebar-item small {
  color: #777;
  font-size: 0.85rem;
}

/* State label */
.sushi-state {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #666;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Map container */
#sushi-map {
  width: 66.666%;
  height: 100%;
}

/* ──────────────────────────────────────────────
   Popup Styling
   ────────────────────────────────────────────── */
.maplibregl-popup-content {
  font-family: 'Sushi Sushi Body Book Text', sans-serif;
  color: #333;
  padding: 12px 14px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  border: 1px solid #ed9a83;
}

/* Title */
.maplibregl-popup-content strong {
  color: #ed9a83;
  display: block;
  margin-bottom: 2px !important;
}

/* Address + status spacing fix */
.maplibregl-popup-content br {
  line-height: 0.4 !important;
  display: block;
}

.maplibregl-popup-content em {
  display: block;
  margin-top: 2px;
  margin-bottom: 6px;
  color: #555;
}

/* Apply Now link */
.maplibregl-popup-content a {
  color: #ed9a83;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 4px;
}

.maplibregl-popup-content a:hover {
  text-decoration: underline;
}

/* Remove focus outline inside popup */
.maplibregl-popup-content *:focus,
.maplibregl-popup-content *:focus-visible,
.maplibregl-popup-content a:focus,
.maplibregl-popup-content a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* Default Map Marker (if HTML markers used) */
.sushi-marker {
  background: #ed9a83;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.15);
}

/* Legend (unused) */
#sushi-legend {
  margin-bottom: 20px;
  padding: 12px 14px;
  background: #f7f7f7;
  border: 1px solid #eee;
  border-radius: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: #333;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
}


/* ──────────────────────────────────────────────
   FORCE MAP HEIGHT INSIDE AVADA FLEX COLUMNS
   ────────────────────────────────────────────── */

/* Ensure Avada column allows height */
.fusion-column-wrapper,
.fusion-column-wrapper > div {
  height: 100%;
}

/* Map wrapper must define height */
#sushi-map-wrapper {
  height: 700px;
  min-height: 700px;
}

/* Sidebar + map must stretch */
#sushi-map-sidebar,
#sushi-map {
  height: 100%;
}

/* Final safeguard */
#sushi-map canvas {
  height: 100% !important;
}




/* ──────────────────────────────────────────────
   Responsive layout
   ────────────────────────────────────────────── */
@media (max-width: 900px) {
  #sushi-map-wrapper {
    flex-direction: column;
    height: auto;
  }
  #sushi-map-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  #sushi-map {
    width: 100%;
    height: 500px;
  }
}
