/* ====== FIXED PLANE SIZE ====== */
.wcr-plane-icon {
  width: 22px !important;
  height: 22px !important;
  display: block;
}

.wcr-plane-img {
  width: 22px !important;
  height: 22px !important;
  display: block;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.7));
  pointer-events: none !important;
}

/* ====== ENSURE PLANE DOES NOT COVER MARKERS ====== */
.leaflet-marker-pane img.wcr-plane-img {
  z-index: 1000 !important;
}

/* ====== SMALL ORIGIN/DESTINATION MARKERS ALWAYS ABOVE LINE ====== */
.leaflet-overlay-pane path {
  z-index: 500 !important;
}

.leaflet-marker-pane .leaflet-marker-icon {
  z-index: 1200 !important;
}



.wcr-geocode-status {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
}


@media (max-width: 767px) {
  #wcr-map {
    height: 70vh !important;
    width: 100% !important;
  }
  .wcr-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
}


/* === Filter bar styling === */

.wcr-filter-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin: 0; 
  background: rgba(0, 0, 0, 0.6);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-size: 14px;
}

.wcr-filter-label {
  font-weight: 500;
  white-space: nowrap;
}

.wcr-date-input {
  border: none;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.95);
  color: #222;
  outline: none;
}

.wcr-date-input:focus {
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.7);
}

/* Remove default chrome border style */
.wcr-date-input::-webkit-datetime-edit,
.wcr-date-input::-webkit-inner-spin-button,
.wcr-date-input::-webkit-calendar-picker-indicator {
  padding: 0 2px;
}

/* Apply button */
.wcr-apply-btn {
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  background: #ffd800;
  color: #222;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.wcr-apply-btn:hover {
  background: #ffcc00;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

.wcr-apply-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Mobile tweaks */
@media (max-width: 767px) {
  .wcr-filter-bar {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 12px;
  }
}

.wcr-showall-btn {
  border: 1px solid #ffd800;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  color: #ffd800;
  cursor: pointer;
  margin-left: 4px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.wcr-showall-btn:hover {
  background: #ffd800;
  color: #222;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

.wcr-showall-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.wcr-map-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;   /* 🔥 filter + map dono center */
  gap: 8px;
}