.location-search {
  margin: 0 0 26px;
}
.location-search > label {
  display: block;
  margin-bottom: 9px;
  color: #34445a;
  font-size: 14px;
  font-weight: 600;
}
.location-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 7px 8px 7px 16px;
  background: #fff;
  border: 1px solid #b9c4d2;
  border-radius: 12px;
  box-shadow: 0 3px 12px #18243408;
}
.location-pin {
  width: 20px;
  height: 24px;
  flex: 0 0 20px;
  color: #815c28;
}
.location-search input {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 10px 0;
  color: #182434;
  font: inherit;
  font-size: 16px;
}
.location-search-bar:focus-within {
  border-color: #815c28;
  box-shadow: 0 0 0 3px #815c2825;
}
.location-search input:focus {
  outline: none;
}
.location-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  padding: 10px 16px;
  color: #fff;
  background: #24354b;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}
.location-search button:hover {
  background: #354b68;
}
.location-search button svg {
  width: 20px;
  height: 20px;
}
.location-status {
  margin: 8px 0 0;
  color: #526071;
  font-size: 14px;
}
#profile-grid > .profile[hidden],
.location-empty[hidden] {
  display: none !important;
}
.location-empty {
  background: #fff;
  border: 1px solid #c5ced9;
  border-radius: 12px;
  padding: 22px;
}
.location-empty p {
  margin-top: 0;
}
.location-empty button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #b9c4d2;
  border-radius: 8px;
  background: #f1f4f8;
  color: #182434;
  font: inherit;
  cursor: pointer;
}
/* Compact phone layout with a full-size touch target. */
@media (max-width: 680px) {
  .location-search {
    margin-bottom: 18px;
  }
  .location-search > label {
    margin-bottom: 6px;
    line-height: 1.3;
  }
  .location-search-bar {
    min-height: 50px;
    gap: 6px;
    padding: 2px 3px 2px 10px;
    border-radius: 9px;
  }
  .location-pin {
    width: 18px;
    height: 20px;
    flex-basis: 18px;
  }
  .location-search input {
    padding: 6px 0;
    font-size: 16px;
    line-height: 1.3;
  }
  .location-search button {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 7px;
  }
  .location-search button svg {
    width: 18px;
    height: 18px;
  }
  .location-search button span {
    display: none;
  }
  .location-status {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
  }
}
