.apply-main {
  padding: 3.25rem 0 4.5rem;
}

.apply-main h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.apply-card {
  max-width: 40rem;
  margin-top: 1.75rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.apply-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 1rem;
}

.apply-field span,
.apply-choice-label {
  font-weight: 600;
}

.apply-hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.apply-field input,
.apply-field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}

.apply-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.apply-field input:focus,
.apply-field textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.apply-choice {
  display: flex;
  gap: 1.25rem;
  margin: 0.15rem 0 0.35rem;
}

.apply-choice label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.apply-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.apply-dns {
  margin: 0 0 1rem;
}

.apply-dns div {
  margin: 0 0 0.75rem;
}

.apply-dns dt {
  font-weight: 600;
}

.apply-dns dd {
  margin: 0.2rem 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}

#applyKeyValue {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}

.apply-error {
  margin: 0 0 1rem;
  color: var(--danger);
}

.apply-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
