/* =========================
   EASYPRINT PASSWORD RECOVERY
   Used by:
   - forgot-password.html
   - reset-password.html
   - verify-code.html
========================= */

:root {
  --ep-navy: #184e83;
  --ep-navy-2: #24538b;
  --ep-blue: #2f9dde;
  --ep-cyan: #16b9d4;
  --ep-text: #2d4766;
  --ep-muted: #5f7896;
  --ep-soft: rgba(255, 255, 255, 0.66);
  --ep-soft-strong: rgba(255, 255, 255, 0.84);
  --ep-border: rgba(255, 255, 255, 0.78);
  --ep-shadow: 0 28px 80px rgba(24, 78, 131, 0.15);
  --ep-shadow-soft: 0 16px 38px rgba(24, 78, 131, 0.10);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "ABeeZee", sans-serif;
  color: var(--ep-navy);
  overflow-x: hidden;

  background:
    radial-gradient(circle at 14% 16%, rgba(47, 157, 222, 0.18), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(22, 185, 212, 0.12), transparent 30%),
    radial-gradient(circle at 92% 86%, rgba(22, 185, 212, 0.22), transparent 34%),
    linear-gradient(135deg, #f9fdff 0%, #eaf8ff 42%, #ffffff 100%);
}

/* animated background orbs */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(22px);
}

body::before {
  width: 640px;
  height: 640px;
  left: -190px;
  top: -200px;
  background: radial-gradient(circle, rgba(47, 157, 222, 0.24), transparent 68%);
  animation: circleOrbitOne 38s ease-in-out infinite alternate;
}

body::after {
  width: 760px;
  height: 760px;
  right: -260px;
  bottom: -280px;
  background: radial-gradient(circle, rgba(22, 185, 212, 0.20), transparent 70%);
  animation: circleOrbitTwo 46s ease-in-out infinite alternate;
}

/* =========================
   PAGE
========================= */

.auth-page {
  min-height: 100vh;
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 44px 18px;
}

/* remove old blocky corner shapes */
.auth-page::before,
.auth-page::after {
  display: none;
}

/* =========================
   LOGO
========================= */

.auth-logo {
  position: relative;
  z-index: 3;

  margin: 0 0 22px;

  font-family: "Hammersmith One", sans-serif;
  font-size: 34px;
  font-weight: 400;
  color: var(--ep-cyan);
  letter-spacing: 0.2px;

  text-shadow: 0 10px 20px rgba(24, 78, 131, 0.10);
  animation: authFadeDown 0.65s ease both;
}

/* =========================
   CARD
========================= */

.auth-card {
  position: relative;
  z-index: 3;

  width: min(100%, 520px);
  padding: 46px 46px 38px;
  border-radius: 38px;

  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.74);

  border: 1px solid var(--ep-border);
  box-shadow: var(--ep-shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  text-align: center;
  animation: authCardIn 0.7s ease both;
}

.auth-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.auth-icon-circle {
  width: 64px;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 22px;
  border: 1px solid rgba(47, 157, 222, 0.18);
  background: linear-gradient(135deg, rgba(22, 185, 212, 0.16), rgba(47, 157, 222, 0.22));
  color: var(--ep-navy);

  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.auth-icon-circle svg {
  width: 31px;
  height: 31px;
  display: block;
}

.auth-title {
  margin: 0;

  font-family: "Hammersmith One", sans-serif;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 400;
  color: var(--ep-navy);
  letter-spacing: 0.2px;
}

.auth-subtitle {
  margin: 18px auto 32px;
  max-width: 380px;

  font-size: 15px;
  line-height: 1.6;
  color: var(--ep-muted);
}

/* =========================
   FORM
========================= */

form {
  width: 100%;
}

.auth-email-label,
.auth-input-label {
  display: block;
  text-align: left;

  margin-bottom: 8px;

  font-family: "Hammersmith One", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--ep-navy-2);
}

.auth-input {
  width: 100%;
  height: 50px;

  padding: 0 15px;
  border: 1.5px solid rgba(47, 157, 222, 0.30);
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.58);
  color: var(--ep-navy);

  font-family: "ABeeZee", sans-serif;
  font-size: 14px;

  outline: none;

  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.auth-input:focus {
  border-color: var(--ep-blue);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(47, 157, 222, 0.13);
}

.auth-input::placeholder {
  color: #8ea1b5;
  font-style: italic;
}

.auth-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.auth-btn {
  width: min(100%, 220px);
  height: 52px;

  border: none;
  border-radius: 18px;

  background: linear-gradient(135deg, var(--ep-cyan), var(--ep-blue));
  color: #ffffff;

  font-family: "Hammersmith One", sans-serif;
  font-size: 16px;
  font-weight: 400;

  cursor: pointer;
  box-shadow: 0 18px 38px rgba(47, 157, 222, 0.28);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.auth-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(47, 157, 222, 0.36);
  filter: brightness(1.03);
}

.auth-btn:active {
  transform: scale(0.98);
}

.auth-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;
  margin-top: 24px;
  padding: 0 18px;

  border-radius: 999px;
  background: rgba(222, 244, 253, 0.58);
  border: 1px solid rgba(47, 157, 222, 0.18);

  color: var(--ep-navy);
  font-size: 12.5px;
  text-decoration: none;

  transition: transform 0.22s ease, background 0.22s ease;
}

.auth-back-link .accent {
  margin-left: 4px;
  color: var(--ep-navy);
  font-family: "Hammersmith One", sans-serif;
}

.auth-back-link:hover {
  transform: translateY(-2px);
  background: rgba(222, 244, 253, 0.86);
}

/* FLASH MESSAGE */
.auth-card > div[style*="background-color"] {
  border-radius: 16px !important;
  margin-bottom: 20px !important;
  padding: 12px 14px !important;

  font-family: "ABeeZee", sans-serif;
  font-size: 13px;
  line-height: 1.45;

  box-shadow: 0 12px 28px rgba(24, 78, 131, 0.10);
}

/* =========================
   VERIFY CODE
========================= */

.verify-subtitle {
  max-width: 390px;
  margin-bottom: 28px;
}

.otp-row {
  display: flex;
  justify-content: center;
  gap: 12px;

  margin: 28px 0 18px;
}

.otp-input {
  width: 52px;
  height: 62px;

  border: 1.5px solid rgba(47, 157, 222, 0.22);
  border-radius: 18px;

  background: rgba(222, 244, 253, 0.78);
  color: var(--ep-navy);

  text-align: center;
  font-family: "Hammersmith One", sans-serif;
  font-size: 27px;

  outline: none;

  transition:
    box-shadow 0.22s ease,
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.otp-input:focus {
  transform: translateY(-2px);
  border-color: var(--ep-blue);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(47, 157, 222, 0.13);
}

.verify-note {
  margin: 20px 0 24px;

  font-size: 13px;
  color: var(--ep-muted);
}

.verify-note a {
  color: var(--ep-navy);
  font-family: "Hammersmith One", sans-serif;
  text-decoration: none;
}

.verify-note a:hover {
  text-decoration: underline;
}

.resend-code-form {
  margin: 0;
  padding: 0;
  text-align: center;
}

.resend-code-btn {
  display: inline;
  padding: 20;
  border: none;
  background: transparent;
  color: #1d70b8;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.resend-code-btn:hover {
  color: #0e568f;
  text-decoration: underline;
}

.resend-code-btn:focus-visible {
  outline: 2px solid #1d70b8;
  outline-offset: 3px;
  border-radius: 3px;
}

/* =========================
   RESET PASSWORD
========================= */

.reset-email {
  margin: 16px auto 30px;
  max-width: 380px;

  padding: 11px 16px;
  border-radius: 999px;

  background: rgba(222, 244, 253, 0.58);
  border: 1px solid rgba(47, 157, 222, 0.16);

  font-size: 13px;
  color: var(--ep-muted);
  text-align: center;
  word-break: break-word;
}

.password-field {
  margin-bottom: 18px;
}

.password-shell {
  position: relative;
  display: flex;
  align-items: center;
}

.password-shell .auth-input {
  padding-right: 50px;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);

  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 50%;
  background: transparent;
  color: #6e8094;

  font-size: 15px;
  cursor: pointer;

  transition: background 0.2s ease, color 0.2s ease;
}

.password-toggle:hover {
  background: rgba(222, 244, 253, 0.72);
  color: var(--ep-navy);
}

.password-toggle:focus {
  outline: none;
}

.password-toggle svg,
.password-toggle i {
  width: 18px;
  height: 18px;
  display: block;
}

.password-shell input::-ms-reveal,
.password-shell input::-ms-clear {
  display: none;
}

.password-shell input::-webkit-credentials-auto-fill-button,
.password-shell input::-webkit-textfield-decoration-container {
  display: none !important;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes authFadeDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes authCardIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.96);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes circleOrbitOne {
  from {
    transform: translate3d(-10px, -12px, 0) scale(1);
    opacity: 0.85;
  }

  to {
    transform: translate3d(32px, 24px, 0) scale(1.08);
    opacity: 1;
  }
}

@keyframes circleOrbitTwo {
  from {
    transform: translate3d(18px, 18px, 0) scale(1);
    opacity: 0.85;
  }

  to {
    transform: translate3d(-28px, -22px, 0) scale(1.06);
    opacity: 1;
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .auth-page {
    justify-content: flex-start;
    padding: 54px 18px 32px;
  }

  .auth-logo {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .auth-card {
    max-width: 460px;
    padding: 40px 30px 34px;
    border-radius: 32px;
  }

  .auth-title {
    font-size: 32px;
  }

  .auth-subtitle {
    font-size: 14px;
  }

  .otp-input {
    width: 46px;
    height: 56px;
    border-radius: 16px;
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .auth-page {
    padding: 34px 14px 28px;
  }

  .auth-logo {
    font-size: 27px;
    margin-bottom: 18px;
  }

  .auth-card {
    width: 100%;
    padding: 34px 22px 28px;
    border-radius: 28px;
  }

  .auth-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 19px;
  }

  .auth-icon-circle svg {
    width: 27px;
    height: 27px;
  }

  .auth-title {
    font-size: 29px;
  }

  .auth-subtitle {
    max-width: 290px;
    margin-bottom: 28px;
    font-size: 13.5px;
  }

  .auth-input {
    height: 48px;
    font-size: 13px;
  }

  .auth-btn {
    width: min(100%, 190px);
    height: 48px;
    font-size: 15px;
  }

  .auth-back-link,
  .verify-note {
    font-size: 12px;
  }

  .otp-row {
    gap: 8px;
  }

  .otp-input {
    width: 39px;
    height: 52px;
    border-radius: 14px;
    font-size: 22px;
  }

  .reset-email {
    font-size: 12px;
    border-radius: 18px;
  }
}

@media (max-width: 360px) {
  .auth-card {
    padding: 32px 18px 26px;
  }

  .otp-row {
    gap: 6px;
  }

  .otp-input {
    width: 34px;
    height: 48px;
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* EASYPRINT USER FORGOT PASSWORD V2
   =========================================================
   Scoped only to the public user forgot-password page.
========================================================= */


/* PAGE */

.user-forgot-password-page {
  min-height:
    100vh !important;

  margin:
    0 !important;

  padding:
    24px 16px 32px !important;

  box-sizing:
    border-box !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  background:
    radial-gradient(
      circle at 18% 10%,
      rgba(31, 193, 207, 0.14),
      transparent 30%
    ),
    radial-gradient(
      circle at 86% 84%,
      rgba(47, 157, 222, 0.13),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #e8fbfc 0%,
      #e2f5fb 44%,
      #dceffa 74%,
      #e8f6fd 100%
    ) !important;
}


/* WRAPPER */

.user-forgot-password-page .auth-page {
  width:
    100% !important;

  max-width:
    430px !important;

  min-height:
    0 !important;

  margin:
    48px auto 0 !important;

  padding:
    0 !important;
}


/* OLD LOGO */

.user-forgot-password-page .auth-logo {
  display:
    none !important;
}


/* CARD */

.user-forgot-password-page .auth-card {
  width:
    100% !important;

  margin:
    0 !important;

  padding:
    30px 28px 26px !important;

  box-sizing:
    border-box !important;

  border:
    1px solid
    rgba(24, 78, 131, 0.07) !important;

  border-radius:
    18px !important;

  background:
    rgba(255, 255, 255, 0.96) !important;

  box-shadow:
    0 12px 30px
    rgba(24, 78, 131, 0.07) !important;
}


/* QUESTION ICON */

.user-forgot-password-page .auth-icon-wrap {
  margin:
    0 0 15px !important;
}

.user-forgot-password-page .auth-icon-circle {
  width:
    48px !important;

  height:
    48px !important;

  margin:
    0 auto !important;

  border:
    1px solid
    rgba(47, 157, 222, 0.12) !important;

  border-radius:
    14px !important;

  background:
    #e8f6fc !important;

  color:
    #2678a5 !important;

  box-shadow:
    none !important;
}

.user-forgot-password-page .auth-icon-circle svg {
  width:
    21px !important;

  height:
    21px !important;
}


/* TITLE */

.user-forgot-password-page .auth-title {
  margin:
    0 !important;

  color:
    #164f83 !important;

  font-size:
    29px !important;

  font-weight:
    800 !important;

  line-height:
    1.12 !important;

  letter-spacing:
    -0.45px !important;

  text-align:
    center !important;
}


/* SUBTITLE */

.user-forgot-password-page .auth-subtitle {
  max-width:
    320px !important;

  margin:
    9px auto 24px !important;

  color:
    #758996 !important;

  font-size:
    11.5px !important;

  line-height:
    1.5 !important;

  text-align:
    center !important;
}


/* LABEL */

.user-forgot-password-page .auth-email-label {
  display:
    block !important;

  margin:
    0 0 6px !important;

  color:
    #2c5875 !important;

  font-size:
    10.5px !important;

  font-weight:
    700 !important;
}


/* INPUT */

.user-forgot-password-page .auth-input {
  width:
    100% !important;

  height:
    46px !important;

  padding:
    0 13px !important;

  box-sizing:
    border-box !important;

  border:
    1px solid
    rgba(24, 78, 131, 0.13) !important;

  border-radius:
    9px !important;

  background:
    #ffffff !important;

  color:
    #324f62 !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    12.5px !important;

  outline:
    none !important;

  box-shadow:
    none !important;
}

.user-forgot-password-page .auth-input::placeholder {
  color:
    #a0adb6 !important;

  opacity:
    1 !important;
}

.user-forgot-password-page .auth-input:focus {
  border-color:
    rgba(47, 157, 222, 0.58) !important;

  box-shadow:
    0 0 0 3px
    rgba(47, 157, 222, 0.07) !important;
}


/* BUTTON */

.user-forgot-password-page .auth-btn-wrap {
  margin:
    18px 0 0 !important;
}

.user-forgot-password-page .auth-btn {
  width:
    100% !important;

  min-height:
    46px !important;

  padding:
    0 16px !important;

  border:
    0 !important;

  border-radius:
    9px !important;

  background:
    linear-gradient(
      135deg,
      #20b8c8 0%,
      #2f9dde 100%
    ) !important;

  color:
    #ffffff !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    12.5px !important;

  font-weight:
    800 !important;

  box-shadow:
    0 6px 14px
    rgba(47, 157, 222, 0.12) !important;
}


/* BACK TO SIGN IN */

.user-forgot-password-page .auth-back-link {
  width:
    fit-content !important;

  min-height:
    auto !important;

  margin:
    19px auto 0 !important;

  padding:
    3px 0 !important;

  display:
    inline-flex !important;

  align-items:
    center !important;

  justify-content:
    center !important;

  gap:
    4px !important;

  border:
    0 !important;

  border-radius:
    0 !important;

  background:
    transparent !important;

  color:
    #4e7187 !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    10.5px !important;

  font-weight:
    700 !important;

  text-decoration:
    none !important;

  box-shadow:
    none !important;
}

.user-forgot-password-page .auth-back-link:hover,
.user-forgot-password-page .auth-back-link:focus-visible {
  color:
    #267ba8 !important;

  text-decoration:
    underline !important;
}


/* MOBILE */

@media (max-width: 600px) {

  .user-forgot-password-page {
    padding:
      18px 14px 26px !important;
  }

  .user-forgot-password-page .auth-page {
    max-width:
      100% !important;

    margin-top:
      44px !important;
  }

  .user-forgot-password-page .auth-card {
    padding:
      27px 20px 23px !important;

    border-radius:
      16px !important;
  }

  .user-forgot-password-page .auth-title {
    font-size:
      26px !important;
  }

  .user-forgot-password-page .auth-subtitle {
    margin-bottom:
      21px !important;

    font-size:
      11px !important;
  }

}

/* EASYPRINT USER FORGOT PASSWORD CLEAN V3 */


/* =========================================================
   TRUE CENTERED PAGE
========================================================= */

.user-forgot-password-page {
  min-height:
    100vh !important;

  padding:
    20px 16px !important;

  display:
    flex !important;

  align-items:
    center !important;

  justify-content:
    center !important;

  box-sizing:
    border-box !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;
}


/* =========================================================
   CENTER WRAPPER
========================================================= */

.user-forgot-password-page .auth-page {
  width:
    100% !important;

  max-width:
    430px !important;

  min-height:
    0 !important;

  margin:
    0 auto !important;

  padding:
    0 !important;

  display:
    block !important;
}


/* =========================================================
   CARD
========================================================= */

.user-forgot-password-page .auth-card {
  width:
    100% !important;

  margin:
    0 auto !important;

  padding:
    32px 28px 27px !important;

  box-sizing:
    border-box !important;

  border-radius:
    18px !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;
}


/* =========================================================
   REMOVE ICON SPACE
========================================================= */

.user-forgot-password-page .auth-icon-wrap,
.user-forgot-password-page .auth-icon-circle {
  display:
    none !important;
}


/* =========================================================
   FORCE MODERN AUTH TYPOGRAPHY
========================================================= */

.user-forgot-password-page .auth-title {
  margin:
    0 !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  color:
    #164f83 !important;

  font-size:
    29px !important;

  font-weight:
    800 !important;

  line-height:
    1.15 !important;

  letter-spacing:
    -0.45px !important;

  text-align:
    center !important;
}


.user-forgot-password-page .auth-subtitle {
  max-width:
    320px !important;

  margin:
    10px auto 25px !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  color:
    #758996 !important;

  font-size:
    11.5px !important;

  font-weight:
    400 !important;

  line-height:
    1.5 !important;

  text-align:
    center !important;
}


.user-forgot-password-page .auth-email-label {
  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    10.5px !important;

  font-weight:
    700 !important;
}


.user-forgot-password-page .auth-input {
  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    12.5px !important;

  font-style:
    normal !important;
}

.user-forgot-password-page .auth-input::placeholder {
  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    12.5px !important;

  font-style:
    normal !important;
}


/* =========================================================
   BUTTON
========================================================= */

.user-forgot-password-page .auth-btn {
  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    12.5px !important;

  font-weight:
    800 !important;
}


/* =========================================================
   BACK TO SIGN IN
========================================================= */

.user-forgot-password-page .auth-back-link {
  margin:
    18px auto 0 !important;

  display:
    flex !important;

  width:
    fit-content !important;

  align-items:
    center !important;

  justify-content:
    center !important;

  gap:
    4px !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    10.5px !important;

  font-weight:
    700 !important;

  color:
    #4e7187 !important;

  text-decoration:
    none !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .user-forgot-password-page {
    padding:
      18px 14px !important;
  }

  .user-forgot-password-page .auth-page {
    margin:
      0 auto !important;
  }

  .user-forgot-password-page .auth-card {
    padding:
      29px 20px 24px !important;

    border-radius:
      16px !important;
  }

  .user-forgot-password-page .auth-title {
    font-size:
      27px !important;
  }

  .user-forgot-password-page .auth-subtitle {
    margin-bottom:
      22px !important;

    font-size:
      11px !important;
  }

}
