.register-location-field .ts-wrapper {
  margin-top: 0.5rem;
}

.register-location-field .ts-control {
  min-height: 44px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.25rem;
  padding: 0.625rem 2rem 0.625rem 1rem;
  border: 1px solid #c5c6cc;
  border-radius: 0.375rem;
  background: #fff;
  box-shadow: none;
  color: #2f3036;
  font: inherit;
}

.register-location-field .ts-control > .item {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.register-location-field .ts-control input {
  min-width: 0;
  font: inherit;
}

.register-location-field .ts-wrapper.focus .ts-control,
.register-location-field .ts-wrapper.dropdown-active .ts-control {
  border-color: #8b6258 !important;
  outline: 2px solid #8b6258 !important;
  outline-offset: 1px !important;
  box-shadow: none !important;
}

.register-location-field .ts-wrapper.disabled .ts-control {
  background: #f8f9fe;
  color: #71727a;
  opacity: 1;
}

.register-location-field .ts-dropdown {
  border: 1px solid #c5c6cc;
  border-radius: 0 0 0.375rem 0.375rem;
  background: #fff;
  color: #2f3036;
  z-index: 30;
}

.register-location-field .ts-dropdown .active {
  background: #efe7ce;
  color: #2f3036;
}

.register-location-field .location-control {
  position: relative;
}

.register-location-field .location-status {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  padding: 0 0.5rem 0 1rem;
  border: 1px solid #c5c6cc;
  border-radius: 0.375rem;
  background: #f8f9fe;
  color: #494a50;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.register-location-field .location-status[hidden] { display: none; }

.register-location-field .location-status[aria-busy="true"] span::before {
  content: '';
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-right: 0.5em;
  border: 2px solid #c5c6cc;
  border-top-color: #6a453c;
  border-radius: 50%;
  animation: location-spin 0.8s linear infinite;
}

@keyframes location-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .register-location-field .location-status[aria-busy="true"] span::before { animation: none; }
}

.register-location-field .location-status button {
  min-height: 44px;
  flex: none;
  color: #6a453c;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.register-location-field .location-status button:focus-visible {
  outline: 2px solid #6a453c;
  outline-offset: 2px;
}
