.page {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 0px;
}

.card {
  width: 100%;
  max-width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  /*box-shadow: 0 20px 40px rgba(0,0,0,0.08);*/
}

.card__header {
  padding: 22px 22px 12px;
  border-bottom: 1px solid var(--line);
}

.card__header h1 {
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.muted {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.form { padding: 20px 22px 22px; }

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

@media (min-width: 720px) {
  .grid { grid-template-columns: 1fr 1fr; }
}

.field label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
}

.field textarea { resize: vertical; }

.field input::placeholder,
.field textarea::placeholder {
  color: #9ca3af;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px var(--focus);
}

.hint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.consent {
  border-top: 1px dashed var(--line);
  margin-top: 14px;
  padding-top: 14px;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

.fineprint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  background: var(--btn);
}

.btn:hover { background: var(--btnHover); }

.btn--ghost {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--text);
}

.btn--ghost:hover {
  background: #f3f4f6;
}

.card__footer {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  background: #f9fafb;
}

.info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 720px) {
  .info { grid-template-columns: 1fr 1fr; }
}

.info__label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.actions .btn {
  background-color: #2563eb !important;
  color: #ffffff !important;
  border: 1px solid #2563eb;
  min-height: 44px;
}

/* Hover */
.actions .btn:hover {
  background-color: #1d4ed8 !important;
}

/* Ghost button */
.actions .btn--ghost {
  background-color: #ffffff !important;
  color: #1f2937 !important;
  border: 1px solid #d1d5db !important;
}

.actions .btn--ghost:hover {
  background-color: #f3f4f6 !important;
}
