html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #1f2937;
}

body.mdsPasswordRecovery {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 96px 16px 32px;
  box-sizing: border-box;
  background: radial-gradient(circle at top, rgba(79, 137, 234, 0.08), transparent 34%), linear-gradient(180deg, #f8f9ff 0%, #eef1fb 100%);
}

.passwordRecoveryCard {
  width: min(100%, 430px);
  padding: 30px 28px 26px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #dbe4f6;
  border-radius: 10px;
  box-shadow: 0 24px 55px rgba(74, 93, 139, 0.12);
}

.passwordRecoveryBrand {
  padding-bottom: 20px;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 1px solid #e9edf7;
}

.passwordRecoveryBrand img {
  display: block;
  width: min(100%, 206px);
  margin: 0 auto 14px;
}

.passwordRecoveryCard h1 {
  margin: 0 0 10px;
  color: #1f2a44;
  font-size: 1.55rem;
  line-height: 1.25;
  text-align: center;
}

.passwordRecoveryIntro {
  margin: 0 0 22px;
  color: #5d687e;
  font-size: 0.96rem;
  line-height: 1.5;
  text-align: center;
}

.passwordRecoveryField {
  margin-bottom: 16px;
}

.passwordRecoveryField label {
  display: block;
  margin-bottom: 8px;
  color: #25314c;
  font-weight: 600;
}

.passwordRecoveryField input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  box-sizing: border-box;
  border: 1px solid #d8e0f1;
  border-radius: 4px;
  background: #fff;
  color: #111827;
  font: inherit;
  outline: none;
}

.passwordRecoveryPasswordWrap {
  position: relative;
}

.passwordRecoveryPasswordWrap input {
  padding-right: 52px;
}

.passwordRecoveryToggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #2b3345;
  cursor: pointer;
}

.passwordRecoveryToggle:hover,
.passwordRecoveryToggle:focus-visible {
  background: rgba(152, 163, 184, 0.14);
}

.passwordRecoveryToggle:focus-visible {
  outline: 3px solid rgba(96, 147, 255, 0.24);
  outline-offset: 1px;
}

.passwordRecoveryToggle svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.passwordRecoveryToggle .eyeClosed {
  display: none;
}

.passwordRecoveryToggle.is-visible .eyeOpen {
  display: none;
}

.passwordRecoveryToggle.is-visible .eyeClosed {
  display: block;
}

.passwordRecoveryField input:focus {
  border-color: #8fb6ff;
  box-shadow: 0 0 0 4px rgba(96, 147, 255, 0.12);
}

.passwordRecoveryButton {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff425f 0%, #ef1828 100%);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 24px rgba(239, 24, 40, 0.16);
}

.passwordRecoveryButton:hover {
  opacity: 0.92;
}

.passwordRecoveryMessage {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 5px;
  font-size: 0.93rem;
  line-height: 1.45;
}

.passwordRecoveryMessage--success {
  border: 1px solid #a6d5b4;
  background: #effaf2;
  color: #176b32;
}

.passwordRecoveryMessage--error {
  border: 1px solid #e1aaaa;
  background: #fff1f1;
  color: #8b1d1d;
}

.passwordRecoveryLinks {
  margin-top: 20px;
  text-align: center;
}

.passwordRecoveryLinks a {
  color: #54637f;
  text-decoration: none;
}

.passwordRecoveryLinks a:hover {
  color: #244ea1;
}

@media (max-width: 520px) {
  body.mdsPasswordRecovery {
    padding: 72px 14px 24px;
  }

  .passwordRecoveryCard {
    padding: 24px 20px 22px;
  }
}
