.form {
  max-width: 600px;
  padding: 2rem;
}

.formGroup {
  margin-bottom: 2rem;
}

.formGroup label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
}

.formGroup input[type="text"] {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: all 0.2s;
}

.formGroup input[type="text"]:focus {
  outline: none;
  border-color: var(--accent-color);
  background: var(--bg-secondary);
}

.formGroup input[type="text"]::placeholder {
  color: var(--text-tertiary);
}

.description {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.switchGroup {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.switchHeader {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.switchHeader label:last-child {
  margin-bottom: 0;
  flex: 1;
}

/* Switch Toggle Styles */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  border-radius: 26px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: all 0.3s ease;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.switch input:checked + .slider {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.switch input:focus + .slider {
  box-shadow: 0 0 0 2px var(--accent-muted);
}

.switch input:checked + .slider:before {
  transform: translateX(22px);
}

/* Hover effects */
.switch:hover .slider {
  background-color: var(--bg-secondary);
}

.switch input:checked:hover + .slider {
  background-color: var(--accent-color);
  opacity: 0.9;
}

.error {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 0.5rem;
  color: var(--error-color);
  font-size: 0.875rem;
}

.footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status {
  display: flex;
  align-items: center;
}

.unsaved {
  font-size: 0.875rem;
  color: var(--warning-color);
}