@charset "utf-8";

.location-picker {
  display: block;
}

.location-picker__title {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  font-weight: 900;
  color: #334155;
}

.location-picker__desc {
  margin: -0.35rem 0 0.75rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #64748b;
}

.location-picker__field {
  margin-bottom: 0.85rem;
}

.location-picker__field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: #334155;
}

.location-picker__field label span {
  color: #f97316;
}

.location-picker__search-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.location-picker__input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  padding: 0.68rem 0.78rem;
  font-size: 0.92rem;
  color: #0f172a;
  background: #fff;
}

.location-picker__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.location-picker__btn--secondary {
  background: #f8fafc;
}

.location-picker__status {
  margin: 0.55rem 0 0.75rem;
  font-size: 0.84rem;
  color: #475569;
}

.location-picker__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.location-picker__hint {
  font-size: 0.78rem;
  color: #64748b;
}

.location-picker__map {
  height: 260px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  overflow: hidden;
}

.location-picker__map::before {
  content: "지도 API를 사용할 수 없으면 상세위치 텍스트만 입력해도 저장됩니다.";
  display: grid;
  height: 100%;
  place-items: center;
  padding: 1rem;
  color: #94a3b8;
  text-align: center;
}

.location-picker__map.is-live::before {
  display: none;
}

.location-picker__check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  color: #475569;
  font-size: 0.86rem;
}

@media (max-width: 640px) {
  .location-picker__search-row,
  .location-picker__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .location-picker__btn {
    min-height: 44px;
  }

  .location-picker__map {
    height: 220px;
  }
}
