* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: #1b2430;
  background:
    linear-gradient(135deg, rgba(25, 111, 134, 0.12), rgba(216, 172, 73, 0.16)),
    #f7f9fb;
}

body.modal-open {
  overflow: hidden;
}

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

.panel {
  width: min(100%, 420px);
  padding: 28px;
  background: #ffffff;
  border: 1px solid #d9e1e8;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(27, 36, 48, 0.08);
}

.eyebrow {
  margin: 0 0 8px;
  color: #196f86;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.2;
}

.form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

label {
  font-size: 14px;
  font-weight: 700;
}

input {
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  border: 1px solid #b9c6d0;
  border-radius: 6px;
  color: #1b2430;
  font-size: 16px;
  background: #ffffff;
}

input:focus {
  outline: 3px solid rgba(25, 111, 134, 0.22);
  border-color: #196f86;
}

.captcha-box {
  display: grid;
  gap: 10px;
}

.captcha-canvas {
  width: 100%;
  height: 86px;
  border: 1px solid #b9c6d0;
  border-radius: 6px;
  background: #f7fbfc;
}

.captcha-row {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 10px;
}

button {
  height: 46px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  background: #196f86;
}

button:hover {
  background: #145b6e;
}

.secondary-button {
  height: 44px;
  color: #145b6e;
  border: 1px solid #b9c6d0;
  background: #ffffff;
}

.secondary-button:hover {
  border-color: #196f86;
  color: #ffffff;
  background: #196f86;
}

.recaptcha-note {
  margin: -6px 0 0;
  color: #607080;
  font-size: 13px;
  line-height: 1.45;
}

.links {
  display: grid;
  gap: 12px;
}

.links a {
  display: block;
  padding: 13px 14px;
  border: 1px solid #b9c6d0;
  border-radius: 6px;
  color: #145b6e;
  font-weight: 700;
  text-decoration: none;
  background: #ffffff;
}

.links a:hover {
  border-color: #196f86;
  background: #f1f8fa;
}

.result-modal[hidden] {
  display: none;
}

.result-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(27, 36, 48, 0.48);
}

.result-dialog {
  width: min(100%, 360px);
  padding: 26px;
  border: 1px solid #d9e1e8;
  border-radius: 8px;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(27, 36, 48, 0.22);
}

.result-dialog p {
  margin: 0 0 20px;
  color: #1b2430;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.result-dialog button {
  min-width: 96px;
  padding: 0 18px;
}
