:root {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color-scheme: light;
}

body {
  margin: 0;
  background: #f4f5f7;
  display: flex;
  justify-content: center;
  padding: 24px;
}

.form-container {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  padding: 24px;
}

h1 {
  font-size: 1.4rem;
  margin: 0 0 4px;
}

.form-subtitle {
  margin: 0 0 20px;
  color: #555;
  font-size: 0.9rem;
}

.field {
  margin-bottom: 16px;
  border: none;
  padding: 0;
}

label,
legend {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"] {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: normal;
  margin-right: 16px;
}

button[type="submit"] {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: #1d4ed8;
}

#form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 400px) {
  .form-container {
    padding: 16px;
  }
}
