@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap");

:root {
  --bg-top: #f4f9ff;
  --bg-bottom: #e1f0ff;
  --card-bg: rgba(255, 255, 255, 0.92);
  --text-main: #12253d;
  --text-muted: #4f6886;
  --accent: #ff7a00;
  --accent-dark: #d56100;
  --error: #ca1c39;
  --ok: #147a36;
  --border: #c8d9ee;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 15% 10%, #ffd4ad 0%, transparent 35%),
    radial-gradient(circle at 85% 85%, #a6d3ff 0%, transparent 45%),
    linear-gradient(160deg, var(--bg-top), var(--bg-bottom));
  color: var(--text-main);
}

.layout {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.card {
  width: min(680px, 100%);
  padding: 28px;
  border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 18px 40px rgba(18, 37, 61, 0.16),
    0 2px 0 rgba(255, 255, 255, 0.65) inset;
}

.kicker {
  margin: 0;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1 {
  margin: 8px 0 10px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.1;
}

.subtitle {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field span {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 14px;
}

input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-main);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
  outline: none;
  border-color: #6db5ff;
  box-shadow: 0 0 0 3px rgba(109, 181, 255, 0.25);
}

.error {
  display: block;
  min-height: 18px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--error);
}

button {
  width: 100%;
  margin-top: 6px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: #fff;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 18px rgba(213, 97, 0, 0.35);
}

button:hover {
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.secondary {
  background: #eef5ff;
  color: #20466f;
  box-shadow: none;
  border: 1px solid #b6cde9;
}

.status {
  min-height: 20px;
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.hidden {
  display: none;
}

.status.error {
  color: var(--error);
}

.status.success {
  color: var(--ok);
}

@media (max-width: 520px) {
  .card {
    padding: 20px;
    border-radius: 18px;
  }

  .subtitle {
    font-size: 13px;
  }
}
