html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #eef2f7;
  color: #273240;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 720px;
  background: #ffffff;
  padding: 32px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(33, 54, 77, 0.12);
}

h1 {
  margin: 0 0 24px;
  font-size: 1.95rem;
  color: #1f3558;
}

fieldset {
  border: 1px solid #d9e2ec;
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 20px;
  background: #fbfdff;
}

legend {
  font-size: 1rem;
  font-weight: 700;
  color: #1f3558;
  padding: 0 10px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2f3f59;
}

.inline-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid #cbd6e2;
  border-radius: 12px;
  background: #ffffff;
  color: #233044;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #4778e3;
  box-shadow: 0 0 0 4px rgba(71, 120, 227, 0.14);
}

input[type="radio"],
input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 14px;
  background: #2e86de;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

button:hover {
  background: #2468b2;
  transform: translateY(-1px);
}

.privacy-row {
  flex-direction: row;
  align-items: center;
}

@media (max-width: 680px) {
  .container {
    padding: 24px;
  }
}
