.auth-card {
  width: min(520px, 100%);
}

.auth-form .form-group + .form-group {
  margin-top: 0.85rem;
}

.auth-social {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.btn-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-weight: 600;
}

.btn-oauth:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}

.btn-oauth__icon {
  display: inline-flex;
  width: 1.4rem;
  height: 1.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.btn-oauth--google .btn-oauth__icon {
  background: #fff;
  color: #4285f4;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--border);
}

.auth-password-wrap {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
}

.auth-password-wrap .form-control {
  flex: 1;
}

.auth-password-toggle {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 0 0.75rem;
  cursor: pointer;
}

.auth-help,
.auth-footer-note {
  margin-top: 0.35rem;
}

.auth-submit {
  margin-top: 1rem;
}

.auth-remember {
  margin-top: 0.75rem;
}

.auth-location-hint {
  margin-top: 0.35rem;
  color: #fbbf24;
}

.profile-location-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .profile-location-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.connected-account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.connected-account-row:last-of-type {
  border-bottom: 0;
}

.admin-private-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fbbf24;
  margin-left: 0.35rem;
}
