/* Prevent component display rules from overriding the native hidden state. */
[hidden] {
  display: none !important;
}

button.forgot-button,
button.back-button {
  border: 0;
  background: transparent;
  color: var(--green);
  padding: 0;
  text-align: right;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

button.back-button {
  text-align: center;
  margin-top: 2px;
}

.reset-result {
  margin-top: 14px;
  padding: 12px;
  border-radius: 11px;
  background: #edf7f1;
  color: #235f43;
  font-size: 11px;
  line-height: 1.55;
  word-break: break-word;
}

.reset-result a {
  color: #155c3d;
  font-weight: 800;
}

select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px;
  background: #fafbfa;
  color: var(--ink);
  outline: none;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 68px;
}

button.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  padding: 6px 9px;
  background: #eaf1ed;
  color: var(--green);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.otp-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: end;
  padding: 12px;
  border: 1px solid #d9e8df;
  border-radius: 12px;
  background: #f4faf6;
}

.otp-field small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 10px;
}

button.otp-button {
  border: 0;
  border-radius: 10px;
  padding: 12px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

button.otp-button:disabled {
  opacity: .55;
  cursor: wait;
}
