:root {
  color-scheme: light;
  --brand: #0f766e;
  --brand-dark: #0b544e;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #d1d5db;
  --bg: #f3f4f6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  justify-content: center;
  padding: 32px 16px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 32px;
  max-width: 480px;
  width: 100%;
}

h1 {
  margin: 0 0 4px;
  font-size: 1.5rem;
}

.subtitle {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 400;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
}

button {
  margin-top: 8px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

button:hover { background: var(--brand-dark); }
button:disabled { opacity: 0.6; cursor: not-allowed; }

.result {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.result.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.result.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
