/* BBBring location picker bar (landing page) */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.bbbring-loc-bar {
  position: relative;
  background: #fff8ef;
  border-radius: 16px;
  padding: 20px 22px 14px;
  box-shadow: 0 4px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.bbbring-loc-bar__skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42px;
  opacity: 0.35;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath fill='%23c4c9d4' d='M0 80V55l40-18 35 12 45-28 50 20 55-35 48 22 42-15 38 18 45-25 52 30 48-20 40 14 55-32 45 18 50-22 42 16 38-12 45 24 40-18 35 10 42-22 48 28 0 25z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.bbbring-loc-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  position: relative;
  z-index: 1;
}

.bbbring-loc-bar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 180px;
}

.bbbring-loc-bar__pin-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.bbbring-loc-bar__rings {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px solid rgba(254, 125, 0, 0.35);
  animation: bbbring-loc-pulse 2s ease-out infinite;
}

.bbbring-loc-bar__pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #e53935;
}

.bbbring-loc-bar__pin svg {
  width: 22px;
  height: auto;
}

.bbbring-loc-bar__title {
  font-family: var(--bbbringlanding-heading-font, "Lexend", sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: #141414;
  line-height: 1.2;
}

.bbbring-loc-bar__search {
  flex: 1 1 220px;
  min-width: 0;
}

.bbbring-loc-bar__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.bbbring-loc-bar__input {
  width: 100%;
  height: 46px;
  padding: 0 48px 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  color: #141414;
  outline: none;
}

.bbbring-loc-bar__input:focus {
  border-color: var(--bbbringlanding-base, #fed100);
  box-shadow: 0 0 0 3px rgba(254, 125, 0, 0.15);
}

.bbbring-loc-bar__geolocate {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--bbbringlanding-base, #fe7d00);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bbbring-loc-bar__geolocate:hover {
  background: rgba(254, 125, 0, 0.1);
}

.bbbring-loc-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.bbbring-loc-bar__btn {
  height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--bbbringlanding-base, #fe7d00);
  color: #fff;
  font-family: var(--bbbringlanding-heading-font, "Lexend", sans-serif);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.bbbring-loc-bar__btn:hover {
  background: #d96a00;
}

.bbbring-loc-bar__status {
  margin: 10px 0 0;
  font-size: 13px;
  color: #4b5563;
  min-height: 1.25em;
  position: relative;
  z-index: 1;
}

.bbbring-loc-bar__status.is-error {
  color: #b91c1c;
}

.bbbring-loc-bar__status.is-success {
  color: #15803d;
}

.bbbring-loc-bar__hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: #6b7280;
  position: relative;
  z-index: 1;
}

.bbbring-loc-bar__hint a {
  color: var(--bbbringlanding-base, #fe7d00);
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
}

.bbbring-loc-bar__hint a:hover {
  text-decoration: underline;
}

#bbbring-loc-map-canvas {
  width: 100%;
  height: 360px;
  min-height: 280px;
}

@keyframes bbbring-loc-pulse {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

@media (max-width: 991px) {
  .bbbring-loc-bar__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .bbbring-loc-bar__brand {
    min-width: 0;
  }
  .bbbring-loc-bar__actions {
    width: 100%;
  }
  .bbbring-loc-bar__btn {
    flex: 1;
  }
}
