.user-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.user-form h3 {
  margin: 0 0 1.5rem 0;
  color: var(--color-text);
  font-size: 1.3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.required {
  color: var(--color-danger);
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-focus);
}

.form-group input.error,
.form-group select.error {
  border-color: var(--color-danger);
}

.error-message {
  display: block;
  color: var(--color-danger);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.form-group input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
  cursor: pointer;
}

.gps-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.gps-hint {
  margin: 0.25rem 0 0.75rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.gps-hint-success {
  color: var(--color-primary);
  font-weight: 500;
}

.address-autocomplete {
  position: relative;
}

.address-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--color-border-strong);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 200;
  max-height: 280px;
  overflow-y: auto;
}

.address-suggestions li {
  padding: 0.6rem 0.875rem;
  cursor: pointer;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.address-suggestions li:last-child {
  border-bottom: none;
}

.address-suggestions li:hover {
  background: rgba(46, 139, 46, 0.07);
}

.suggestion-main {
  font-size: 0.9rem;
  color: var(--color-text);
  font-weight: 500;
}

.suggestion-detail {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.gps-inputs > div {
  display: flex;
  flex-direction: column;
}

.gps-inputs label {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.btn-primary,
.btn-secondary {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-secondary {
  background: var(--color-secondary);
  color: white;
}

.btn-secondary:hover {
  background: var(--color-secondary-dark);
}

@media (max-width: 768px) {
  .user-form {
    padding: 1.5rem;
  }

  .gps-inputs {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}
