* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #101936;
  background:
    radial-gradient(circle at 12% 10%, rgba(10, 156, 166, .13), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(98, 67, 230, .12), transparent 30%),
    #ffffff;
  font-family: Inter, Arial, sans-serif;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 18px;
}

.reset-card {
  width: min(560px, 100%);
  padding: 30px;
  border: 1px solid #e3e7f2;
  border-radius: 24px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 24px 70px rgba(27, 37, 80, .12);
}

.reset-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.reset-header img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.05;
}

.lead {
  margin: 0 0 22px;
  color: #4d5875;
  line-height: 1.5;
}

form {
  display: grid;
  gap: 14px;
}

label {
  color: #18213d;
  font-weight: 900;
}

input {
  width: 100%;
  height: 44px;
  margin-top: 6px;
  padding: 0 13px;
  border: 1px solid #d9dfed;
  border-radius: 11px;
  background: #eef4ff;
  font-size: 15px;
}

button {
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #0d58bd, #5739e8);
  box-shadow: 0 14px 30px rgba(87, 57, 232, .24);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

button:disabled {
  opacity: .65;
  cursor: wait;
}

.result {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  color: #066446;
  background: #e8fff5;
  font-weight: 800;
  line-height: 1.45;
}

.result.error {
  color: #b42318;
  background: #fff0ed;
}

.test-note {
  margin: 6px 0 10px;
  color: #66718b;
  font-size: 13px;
}

.reset-link,
.back-link {
  color: #5739e8;
  font-weight: 900;
  text-decoration: none;
}

.back-link {
  display: inline-block;
  margin-top: 18px;
}

/* Compact reset title */

.reset-header h1 {
  font-size: 24px;
  line-height: 1.1;
  white-space: nowrap;
}

.reset-header img {
  width: 48px;
  height: 48px;
}

.reset-header {
  gap: 12px;
}
