
#academy-login-reset-view {
  display: none;
  width: 100%;
  direction: rtl;
  text-align: right;
}

#academy-login-reset-view.active {
  display: block;
}

#academy-login-reset-view * {
  box-sizing: border-box;
}

.academy-reset-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #f0e7ff;
  color: #6d28d9;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin: 0 0 22px auto;
}

#academy-login-reset-view h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.2;
}

#academy-login-reset-view .academy-reset-lead {
  margin: 0 0 26px;
  color: #7b728b;
  font-size: 17px;
  line-height: 1.8;
}

.academy-reset-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.academy-reset-field label {
  font-weight: 900;
  color: #111827;
}

.academy-reset-field input {
  width: 100%;
  min-height: 58px;
  border: 1px solid #c8c1d4;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 16px;
  background: #fff;
  outline: none;
}

.academy-reset-field input:focus {
  border-color: #6d28d9;
  box-shadow: 0 0 0 4px rgba(109, 40, 217, .10);
}

.academy-reset-btn {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c2cff, #5f19d6);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.academy-reset-back {
  display: block;
  width: fit-content;
  margin: 18px auto 0;
  border: 0;
  background: transparent;
  color: #6d28d9;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.academy-reset-message {
  display: none;
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.7;
}

.academy-reset-message.show {
  display: block;
}

.academy-reset-message.success {
  background: #ecfdf3;
  color: #027a48;
}

.academy-reset-message.error {
  background: #fff1f3;
  color: #b42318;
}

.academy-reset-step-2 {
  display: none;
}

#academy-login-reset-view.step-2 .academy-reset-step-2 {
  display: grid;
}

@media (max-width: 640px) {
  #academy-login-reset-view h2 {
    font-size: 28px;
  }
}


.academy-forgot-password-row {
  width: 100%;
  margin: -4px 0 18px;
  text-align: left;
}

[dir="rtl"] .academy-forgot-password-row,
html[lang^="ar"] .academy-forgot-password-row {
  text-align: left;
}

.academy-forgot-password-link {
  border: 0;
  background: transparent;
  color: #6d28d9;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  padding: 0;
}

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

.academy-forgot-en {
  display: none;
}

html[lang^="en"] .academy-forgot-ar,
html[dir="ltr"] .academy-forgot-ar,
body[dir="ltr"] .academy-forgot-ar {
  display: none;
}

html[lang^="en"] .academy-forgot-en,
html[dir="ltr"] .academy-forgot-en,
body[dir="ltr"] .academy-forgot-en {
  display: inline;
}


/* FINAL SAME CARD LOCK */
#academy-login-reset-view {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#academy-login-reset-view.active {
  display: block !important;
}

#academy-login-reset-view .academy-reset-btn,
#academy-login-reset-view input {
  max-width: 100% !important;
}
