/* Settings Page Styles */
.settings-page {
  padding: var(--space-sm) var(--space-md);
  padding-bottom: calc(var(--nav-height) + var(--space-md));
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.settings-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.settings-header .back-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-color);
  text-decoration: none;
  flex-shrink: 0;
}

.settings-header .back-button:hover {
  background: var(--bg-hover);
}

.settings-header h1 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
  flex: 1;
}

.settings-header-spacer {
  width: 36px;
  flex-shrink: 0;
}

.settings-section {
  background: var(--white);
  padding: var(--space-md);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  margin-bottom: var(--space-sm);
}

.settings-section h2 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-color);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--border-color);
}

/* Form Hints */
.form-hint {
  color: var(--text-muted);
  font-size: 0.75rem;
  display: block;
  margin-top: 0.25rem;
}

/* Coordinate Display */
.coordinate-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.coordinate-field {
  display: flex;
  flex-direction: column;
}

.coordinate-label {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  color: var(--text-secondary);
}

.coordinate-value {
  font-size: 0.875rem;
  padding: 0.375rem 0.5rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-muted);
}

/* Geolocation Options */
.geolocation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.geolocation-options .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.geolocation-options .btn svg {
  vertical-align: middle;
}

/* Geocode Input Group */
.geocode-input-group {
  display: flex;
  gap: 0.5rem;
}

.geocode-input-group .form-control {
  flex: 1;
}

/* Geolocation Address */
.geolocation-address {
  margin-bottom: 1rem;
}

/* Map Container */
.map-container {
  height: 300px;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Logout Section */
.settings-logout {
  background: transparent;
  border: none;
  padding: var(--space-md) 0;
  margin-top: var(--space-sm);
}

.btn-logout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: var(--danger-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.btn-logout:hover {
  opacity: 0.9;
}

.btn-logout svg {
  flex-shrink: 0;
}
