
.otp-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
.otp-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid #e5e9e1;
  border-radius: 20px;
  padding: 38px;
  box-shadow: 0 16px 55px #263e1510;
  text-align: center;
}
.brand {
  display: inline-block;
  text-decoration: none;
  color: #202820;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -1px;
}
.brand span {
  color: var(--green);
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 5px;
  margin-top: 5px;
  color: var(--muted);
}
.otp-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 32px auto 20px;
  border-radius: 50%;
  background: #edf4e6;
  color: var(--forest);
}
h1 {
  font-size: 27px;
  margin: 0 0 12px;
  letter-spacing: -0.6px;
}
p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 26px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
legend {
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  padding: 0;
}
.otp-inputs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.otp-inputs input {
  width: 100%;
  height: 56px;
  border: 1px solid #d8ded4;
  border-radius: 8px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  outline: none;
}
.otp-inputs input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px #66993420;
}
.verify {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: var(--forest);
  color: white;
  padding: 15px;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.verify:hover {
  background: #356400;
}
.resend {
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.resend button {
  border: 0;
  background: none;
  color: var(--forest);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.resend button:disabled {
  color: #858b82;
  cursor: default;
}
#status {
  margin: 10px 0;
  font-size: 13px;
}
#status:empty {
  display: none;
}
.back {
  display: block;
  border-top: 1px solid #edf0eb;
  padding-top: 20px;
  margin-top: 24px;
  color: #525b50;
  text-decoration: none;
  font-size: 13px;
}
.back:hover {
  color: var(--forest);
}
@media (max-width: 480px) {
  .otp-card {
    padding: 28px 20px;
  }
  .otp-inputs {
    gap: 6px;
  }
  .otp-inputs input {
    height: 49px;
    font-size: 21px;
  }
  h1 {
    font-size: 24px;
  }
}
