.preference-card {
  width: min(100% - 2rem, 34rem);
  color: var(--color-foreground);
}

.preference-card h1 {
  margin-top: 0;
}

.preference-card p {
  color: var(--color-foreground-secondary);
}

.theme-choice-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.theme-choice {
  display: flex;
  min-height: 8rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  background: var(--color-background-secondary);
  color: var(--color-foreground);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.theme-choice:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.theme-choice .material-icons {
  color: var(--color-primary);
  font-size: 2rem;
}

.theme-choice-dark {
  background: #2d2520;
  color: #f4ece5;
}

@media (max-width: 480px) {
  .theme-choice-form {
    grid-template-columns: 1fr;
  }
}
