.uk-form-danger-icon {
  position: absolute;
  right: 10px;
  top: 35px;
  color: #e53935;
  z-index: 1;
}

.form-field.uk-position-relative {
  position: relative;
}

#toggleNewPassword,
#toggleConfirmPassword {
  position: absolute;
  right: 10px;
  top: calc(50% + 2px);
  cursor: pointer;
  z-index: 2;
}

.forgot-content .uk-form-controls {
  position: relative;
}

input.uk-form-danger {
  border-color: #e53935 !important;
  color: #e53935 !important;
  transition: border-color 0.3s ease, color 0.3s ease;
}

input.uk-form-danger::placeholder {
  color: #e53935 !important;
  opacity: 1;
}

#btnForgotSubmit {
  margin-top: 24px;
}

#resetSuccessSection {
  display: none;
  justify-content: center;
  align-items: center;
  padding: 4rem 0;
}

.reset-success__card {
  min-width: 55rem;
  max-width: 71.385rem;
  border-radius: 1.231rem;
  background: rgba(0, 0, 0, 0.4);
  border: 0.231rem solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6.662rem);
}

.reset-success__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.538rem;
  padding: 4.923rem 14.231rem;
}

.reset-success__image-container {
  width: 17.231rem;
  height: 14.846rem;
}

.reset-success__image-container img {
  max-width: 100%;
  height: auto;
}

.reset-success__title {
  font-weight: bold;
  font-size: 2rem;
  line-height: 2.5rem;
  text-align: center;
  color: #ffffff;
}

.reset-success__subtitle {
  font-weight: 500;
  font-size: 1.538rem;
  line-height: 2.154rem;
  text-align: center;
  color: rgba(255, 255, 255, 1);
}

.reset-success__description {
  padding: 0 2.385rem;
  text-align: center;
  font-size: 1.077rem;
  line-height: 1.615rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Form */

.forgot-form {
  flex: 1;
  height: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url("/site/assets/images/contact-bg.png");
  background-size: cover;
  width: 100%;
  height: 100vh;
  padding: 3.846rem 0;
  overflow-y: auto;
}

.forgot-content {
  background-color: #ffffff;
  padding: 48px;
  max-width: 500px;
  border-radius: 24px;
}

.forgot-title {
  font-size: 32px;
  font-weight: 700;
  margin: 24px 0 8px;
  color: #101828;
}

#verifyForgotSection {
  #authHeader {
    margin-bottom: 0 !important;
  }
}

.forgot-label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

#btnRedirectLogin {
  border-radius: 24px;
}

#formSwitch {
  margin-top: 24px;
  font-size: 14px;
  text-align: center;
}

#formSwitch a {
  color: #30114d;
  font-weight: 600;
}

#formSwitch a:hover {
  text-decoration: underline;
}

.code-inputs {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 32px;
}

.code-input {
  width: 40px;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  border: none;
  border-bottom: 2px solid #c5c5cd;
  background-color: transparent;
  color: #1b1b3a;
  outline: none;
  transition: border-color 0.3s ease;
}

.code-input:focus {
  border-bottom-color: #4a00e0;
}

#forgotGeneralError {
  margin-bottom: -15px;
}

@media (max-width: 480px) {
  .code-input {
    width: 32px;
    font-size: 22px;
  }

  .code-inputs {
    gap: 12px;
  }
}
