.yal-forgot-password-link {
  display: block;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0;
  border: none;
  background: none;
  color: #1d9bf0;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.yal-forgot-password-link:hover {
  text-decoration: underline;
}

.yal-password-overlay {
  position: fixed;
  inset: 0;
  z-index: 14000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
}

.yal-password-modal {
  width: min(420px, 100%);
  border-radius: 16px;
  background: #15202b;
  color: #e7e9ea;
  border: 1px solid #2f3336;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.yal-password-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem 0.5rem;
}

.yal-password-modal-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.yal-password-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #e7e9ea;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.yal-password-close:hover {
  background: rgba(239, 243, 244, 0.12);
}

.yal-password-modal-body {
  padding: 0.5rem 1.1rem 1.1rem;
}

.yal-password-help {
  margin: 0 0 0.85rem;
  color: #71767b;
  font-size: 0.9rem;
  line-height: 1.45;
}

.yal-password-form {
  display: grid;
  gap: 0.75rem;
}

.yal-password-field {
  display: grid;
  gap: 0.35rem;
}

.yal-password-field span {
  font-size: 0.86rem;
  color: #cfd9de;
}

.yal-password-field input {
  width: 100%;
  border: 1px solid #2f3336;
  border-radius: 10px;
  background: #000;
  color: #e7e9ea;
  padding: 0.65rem 0.75rem;
}

.yal-password-primary {
  border: none;
  border-radius: 999px;
  background: #eff3f4;
  color: #0f1419;
  font-weight: 700;
  padding: 0.7rem 1rem;
  cursor: pointer;
}

.yal-password-primary:hover {
  background: #d7dbdc;
}

.yal-password-primary:disabled {
  opacity: 0.65;
  cursor: default;
}

.yal-password-status {
  margin: 0;
  font-size: 0.86rem;
  color: #71767b;
}

.yal-password-status.ok {
  color: #00ba7c;
}

.yal-password-status.err {
  color: #f4212e;
}

.yal-password-dev-link {
  color: #1d9bf0;
}

.yal-pref-password-actions {
  margin-top: 0.5rem;
}
