:root { color-scheme: light; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: #f5f7fb;
  color: #162033;
}
.wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.card {
  width: 100%;
  max-width: 620px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  padding: 28px;
}
h1, h2 { margin-top: 0; }
label { display: block; margin: 12px 0 8px; font-weight: 600; }
input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d6dce8;
  border-radius: 12px;
  font-size: 16px;
}
button {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 12px;
  background: #1f5eff;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 14px;
}
button:disabled { opacity: 0.6; cursor: wait; }
.muted, .help, .legend { color: #5a667d; }
.message {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eef3ff;
  display: none;
}

.captcha-card {
  margin-top: 18px;
  margin-bottom: 22px;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.captcha-card__title {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
}

.captcha-card__body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 110px;
  padding: 8px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

#captcha-container {
  display: flex;
  justify-content: center;
  width: 100%;
}
.captcha-card__body {
  overflow-x: auto;
}

.message.error { background: #fff0f0; color: #8a1f1f; display: block; }
.message.success { background: #effaf0; color: #135a1f; display: block; }
.hidden { display: none; }
.options {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}
.options label {
  margin: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  background: #f8faff;
  border: 1px solid #dce5ff;
  padding: 12px;
  border-radius: 12px;
}
.price { font-size: 18px; font-weight: 700; }
.help, .legend { margin-top: 18px; font-size: 14px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; }
