/* =========================================================
   AQUASPHERE AUTH
   SIGN IN STATE
========================================================= */

:root {
  --auth-navy:
    #1c3144;

  --auth-text:
    #71818e;

  --auth-muted:
    #98a4ad;

  --auth-border:
    rgba(
      40,
      65,
      84,
      0.12
    );
}


/* =========================================================
   BACKDROP
========================================================= */

.auth-modal {
  position:
    fixed;

  inset:
    0;

  z-index:
    3000;

  display:
    none;

  align-items:
    center;

  justify-content:
    center;

  padding:
    24px;

  background:
    rgba(
      24,
      42,
      57,
      0.35
    );

  backdrop-filter:
    blur(10px);

  -webkit-backdrop-filter:
    blur(10px);
}


.auth-modal.active {
  display:
    flex;

  animation:
    aquaAuthBackdropIn
    0.25s
    ease
    both;
}


/* =========================================================
   MAIN PANEL
========================================================= */

.auth-shell {
  --auth-full-width:
    min(
      1040px,
      calc(
        100vw - 48px
      )
    );

  --auth-half-width:
    calc(
      var(--auth-full-width) / 2
    );

  position:
    relative;

  isolation:
    isolate;

  width:
    var(--auth-full-width);

  height:
    570px;

  overflow:
    hidden;

  border:
    1px
    solid
    rgba(
      255,
      255,
      255,
      0.88
    );

  border-radius:
    30px;

  background:
    #ffffff;

  box-shadow:
    0
    28px
    85px
    rgba(
      19,
      42,
      58,
      0.22
    );

  transform:
    translate3d(
      0,
      0,
      0
    );

  transition:
    width
      0.9s
      cubic-bezier(
        0.22,
        1,
        0.36,
        1
      ),
    transform
      0.9s
      cubic-bezier(
        0.22,
        1,
        0.36,
        1
      );

  will-change:
    width,
    transform;
}
/* =========================================================
   BASE PANELS
========================================================= */

.auth-base-panel {
  position:
    absolute;

  top:
    0;

  bottom:
    0;

 width:
  var(--auth-half-width);
}


.auth-base-left {
  left:
    0;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  background:
    #f7f9fa;
}


.auth-base-right {
  left:
    var(--auth-half-width);

  right:
    auto;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  background:
    #ffffff;

  transform:
    translate3d(
      0,
      0,
      0
    );

  opacity:
    1;

  transition:
    transform
      0.9s
      cubic-bezier(
        0.22,
        1,
        0.36,
        1
      ),
    opacity
      0.3s
      ease;

  will-change:
    transform;
}

/* =========================================================
   SIGN UP CONTENT
========================================================= */

.auth-signup-content {
  width:
    100%;

  padding:
    30px
    42px
    28px;
}


/* =========================================================
   SIGN UP HEADING
========================================================= */

.auth-signup-heading {
margin-bottom:
  20px;
}


.auth-signup-heading > span {
  display:
    block;

  margin-bottom:
    6px;

  color:
    #84929d;

  font-size:
    6px;

  font-weight:
    500;

  letter-spacing:
    0.23em;

  text-transform:
    uppercase;
}


.auth-signup-heading h2 {
  margin:
    0;

  color:
    var(--auth-navy);

  font-family:
    "Montserrat",
    "Poppins",
    sans-serif;

  font-size:
    25px;

  font-weight:
    500;

  letter-spacing:
    -0.04em;

  line-height:
    1.08;
}


.auth-signup-heading p {
margin:
  8px
  0
  0;

  color:
    var(--auth-text);

  font-size:
    9px;

  line-height:
    1.5;
}


/* =========================================================
   SIGN UP FORM
========================================================= */

.signup-form {
  display:
    flex;

  flex-direction:
    column;

  gap:
    11px;
}


/* MAKE SIGNUP INPUTS SLIGHTLY SMALLER */

.auth-base-left
.auth-input-field
input {
  height:
    43px;

  font-size:
    11px;
}

/* ICON POSITION */

.auth-base-left
.auth-input-icon {
width:
  16px;

height:
  16px;
}


/* =========================================================
   TERMS
========================================================= */

.auth-terms-row {
  display:
    flex;

  align-items:
    center;

  gap:
    8px;

  margin:
    4px
    0
    6px;

  font-size:
    10px;

  line-height:
    1.5;

  color:
    #6f8092;
}


.auth-terms-row input {
  flex:
    0
    0
    auto;

  width:
    15px;

  height:
    15px;

  margin:
    0;

  accent-color:
    #1d3347;
}


.auth-terms-row label {
  margin:
    0;

  color:
    #6f8090;

  font-size:
    10px;

  line-height:
    1.5;
}


.auth-terms-row a {
  color:
    #274d6a;

  font-weight:
    600;

  text-decoration:
    underline;

  text-underline-offset:
    2px;
}


/* =========================================================
   CREATE ACCOUNT BUTTON
========================================================= */

.auth-create-button {
  width:
  86%;

max-width:
  360px;

align-self:
  center;

  height:
    40px;

margin-top:
  4px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    12px;

  border:
    0;

  border-radius:
    999px;

  background:
    #1d3347;

  color:
    #ffffff;

  font-family:
    "Montserrat",
    "Poppins",
    sans-serif;

  font-size:
    10px;

  font-weight:
    500;

  cursor:
    pointer;

  box-shadow:
    0
    10px
    24px
    rgba(
      29,
      51,
      71,
      0.15
    );

  transition:
    transform
      0.2s
      ease,
    background
      0.2s
      ease;
}


.auth-create-button svg {
  width:
    14px;

  height:
    14px;

  stroke-width:
    1.5;
}


.auth-create-button:hover {
  background:
    #253e53;

  transform:
    translateY(-1px);
}


/* =========================================================
   SIGN UP ERROR
========================================================= */

.auth-signup-error {
  display:
    none;

  padding:
    7px
    10px;

  border-radius:
    10px;

  background:
    rgba(
      176,
      65,
      65,
      0.07
    );

  color:
    #9d4b4b;

  font-size:
    8px;
}


.auth-signup-error:not(:empty) {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  margin: 0 0 8px;
  padding: 8px 11px;
  color: #8f333b;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
  background: linear-gradient(110deg, #fff1f1, #fff8f7);
  border: 1px solid #f0c9cb;
  border-left: 3px solid #e15f67;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(173, 61, 69, .06);
  animation: authLoginErrorIn .2s ease-out both;
}

.auth-signup-error > i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: #c64b54;
  background: #ffe1e2;
  border: 1px solid #f6c9cb;
  border-radius: 50%;
}

.auth-signup-error > i svg { width: 14px; height: 14px; }
.auth-signup-error > span { flex: 1; }
.auth-signup-error.is-success {
  color: #176344;
  background: linear-gradient(110deg, #edfbf4, #f7fdf9);
  border-color: #c5ead5;
  border-left-color: #25a46a;
  box-shadow: 0 4px 12px rgba(37, 164, 106, .06);
}
.auth-signup-error.is-success > i {
  color: #168553;
  background: #dcf7e9;
  border-color: #c5ead5;
}

/* =========================================================
   COMPACT SIGNUP EXTRAS
========================================================= */

.auth-base-left
.auth-google-button {
  height:
    38px;

  font-size:
    9px;
}


.auth-base-left
.auth-divider {
height:
  20px;
}


.auth-base-left
.auth-switch-text {
  margin-top:
    5px;

  font-size:
    10px;
}


/* =========================================================
   SIGN IN CONTENT
========================================================= */

.auth-login-content {
  width:
    100%;

padding:
  40px
  46px
  32px;
}


/* =========================================================
   HEADING
========================================================= */

.auth-login-heading {
 margin-bottom:
  24px;
}


.auth-login-heading > span {
  display:
    block;

  margin-bottom:
    9px;

  color:
    #84929d;

  font-size:
    7px;

  font-weight:
    500;

  letter-spacing:
    0.24em;

  text-transform:
    uppercase;
}


.auth-login-heading h2 {
  margin:
    0;

  color:
    var(--auth-navy);

  font-family:
    "Montserrat",
    "Poppins",
    sans-serif;

  font-size:
  28px;

  font-weight:
    500;

  letter-spacing:
    -0.04em;

  line-height:
    1.08;
}


.auth-login-heading p {
  margin:
    8px
    0
    0;

  color:
    var(--auth-text);

  font-size:
    10px;

  line-height:
    1.6;
}


/* =========================================================
   FORM
========================================================= */

.login-form {
  display:
    flex;

  flex-direction:
    column;

gap:
  10px;
}


/* =========================================================
   INPUT
========================================================= */

.auth-input-field {
  position:
    relative;

  width:
    100%;
}


.auth-input-field input {
  width:
    100%;

height:
  46px;

  padding:
    0
    48px
    0
    45px;

  border:
    1px
    solid
    var(--auth-border);

  border-radius:
    999px;

  outline:
    none;

  background:
    rgba(
      248,
      250,
      251,
      0.92
    );

  color:
    var(--auth-navy);

  font-family:
    "Montserrat",
    "Poppins",
    sans-serif;

  font-size:
    12px;

  transition:
    border-color
      0.2s
      ease,
    background
      0.2s
      ease,
    box-shadow
      0.2s
      ease;
  text-decoration: none;
}

.auth-input-field input::placeholder {
  color:
    #8796a2;

  opacity:
    1;
}


.auth-input-field input:focus {
  border-color:
    rgba(
      35,
      61,
      82,
      0.30
    );

  background:
    #ffffff;

  box-shadow:
    0
    0
    0
    4px
    rgba(
      31,
      54,
      73,
      0.045
    );
}


/* =========================================================
   INPUT ICON
========================================================= */

.auth-input-icon {
  position:
    absolute;

  top:
    50%;

  left:
    17px;

  z-index:
    2;

  width:
    17px;

  height:
    17px;

  color:
    #718493;

  stroke-width:
    1.5;

  transform:
    translateY(-50%);

  pointer-events:
    none;
}


/* =========================================================
   PASSWORD EYE
========================================================= */

.auth-password-toggle {
  position:
    absolute;

  top:
    50%;

  right:
    15px;

  z-index:
    3;

  width:
    28px;

  height:
    28px;

  display:
    grid;

  place-items:
    center;

  padding:
    0;

  border:
    0;

  border-radius:
    50%;

  background:
    transparent;

  color:
    #718493;

  cursor:
    pointer;

  transform:
    translateY(-50%);
}


.auth-password-toggle svg {
  width:
    16px;

  height:
    16px;

  stroke-width:
    1.5;
}


/* =========================================================
   FORGOT PASSWORD
========================================================= */

.auth-forgot-row {
  display:
    flex;

  justify-content:
    flex-end;

  margin-top:
    -2px;
}


.auth-forgot-row a {
  color:
    #334e63;

  font-size:
    9px;

  font-weight:
    500;

  text-decoration:
    underline;

  text-underline-offset:
    3px;
}

.auth-forgot-row a:hover {
  color:
    #1d3347;
}


/* =========================================================
   SIGN IN BUTTON
========================================================= */

.auth-signin-button {
  width:
  86%;

max-width:
  360px;

align-self:
  center;

  height:
  44px;

  margin-top:
    4px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    14px;

  border:
    0;

  border-radius:
    999px;

  background:
    #1d3347;

  color:
    #ffffff;

  font-family:
    "Montserrat",
    "Poppins",
    sans-serif;

  font-size:
    11px;

  font-weight:
    500;

  cursor:
    pointer;

  box-shadow:
    0
    12px
    28px
    rgba(
      29,
      51,
      71,
      0.16
    );

  transition:
    transform
      0.2s
      ease,
    background
      0.2s
      ease,
    box-shadow
      0.2s
      ease;
}


.auth-signin-button svg {
  width:
    16px;

  height:
    16px;

  stroke-width:
    1.5;
}


.auth-signin-button:hover {
  background:
    #253e53;

  transform:
    translateY(-1px);

  box-shadow:
    0
    15px
    30px
    rgba(
      29,
      51,
      71,
      0.20
    );
}


/* =========================================================
   OR
========================================================= */

.auth-divider {
  position:
    relative;

  height:
    20px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  color:
    #98a4ad;

  font-size:
    8px;

    width:
  86%;

max-width:
  360px;

align-self:
  center;
}


.auth-divider::before,
.auth-divider::after {
  content:
    "";

  flex:
    1;

  height:
    1px;

  background:
    rgba(
      42,
      68,
      87,
      0.10
    );
}


.auth-divider span {
  padding:
    0
    13px;
}


/* =========================================================
   GOOGLE BUTTON
========================================================= */

.auth-google-button {
  width:
  86%;

max-width:
  360px;

align-self:
  center;

 height:
  42px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    10px;

  border:
    1px
    solid
    var(--auth-border);

  border-radius:
    999px;

  background:
    rgba(
      255,
      255,
      255,
      0.88
    );

  color:
    var(--auth-navy);

  font-family:
    "Montserrat",
    "Poppins",
    sans-serif;

  font-size:
    10px;

  font-weight:
    500;

  cursor:
    pointer;

  transition:
    background
      0.2s
      ease,
    transform
      0.2s
      ease;
}


.auth-google-button:hover {
  background:
    #f8fafb;

  transform:
    translateY(-1px);
}


.auth-google-logo {
  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  color:
    #4285f4;

  font-size:
    16px;

  font-weight:
    700;
}


/* =========================================================
   BOTTOM SWITCH
========================================================= */

.auth-switch-text {
  margin:
    4px
    0
    0;

  color:
    #718292;

  font-size:
    10px;

  line-height:
    1.5;

  text-align:
    center;
}


.auth-switch-text a {
  margin-left:
    3px;

  color:
    #1d3347;

  font-weight:
    600;

  text-decoration:
    underline;

  text-underline-offset:
    3px;
}


/* =========================================================
   ERROR
========================================================= */

.auth-login-error {
  display:
    none;

  margin:
    0;

  padding:
    9px
    12px;

  border-radius:
    12px;

  background:
    rgba(
      176,
      65,
      65,
      0.07
    );

  color:
    #9d4b4b;

  font-size:
    9px;
}


.auth-login-error:not(:empty) {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0 0 11px;
  padding: 9px 13px;
  color: #8f333b;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.45;
  background: linear-gradient(110deg, #fff1f1, #fff8f7);
  border: 1px solid #f0c9cb;
  border-left: 3px solid #e15f67;
  border-radius: 11px;
  box-shadow: 0 5px 14px rgba(173, 61, 69, .07);
  animation: authLoginErrorIn .2s ease-out both;
}

.auth-login-error > i {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  color: #c64b54;
  background: #ffe1e2;
  border: 1px solid #f6c9cb;
  border-radius: 50%;
}

.auth-login-error > i svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.1;
}

.auth-login-error > span {
  flex: 1;
}

.auth-login-error.is-success {
  color: #176344;
  background: linear-gradient(110deg, #edfbf4, #f7fdf9);
  border-color: #c5ead5;
  border-left-color: #25a46a;
  box-shadow: 0 5px 14px rgba(37, 164, 106, .07);
}

.auth-login-error.is-success > i {
  color: #168553;
  background: #dcf7e9;
  border-color: #c5ead5;
}

/* Larger, more readable sign-in panel on desktop. */
@media (min-width: 901px) {
  .auth-shell {
    --auth-full-width: min(1180px, calc(100vw - 56px));
    height: min(680px, calc(100vh - 56px));
  }

  .auth-login-content {
    padding: 52px 58px 42px;
  }

  .auth-login-heading { margin-bottom: 30px; }
  .auth-login-heading > span { font-size: 9px; }
  .auth-login-heading h2 { font-size: 34px; }
  .auth-login-heading p { font-size: 13px; }
  .login-form { gap: 14px; }
  .auth-input-field input { height: 54px; font-size: 14px; }
  .auth-login-error:not(:empty) {
    min-height: 54px;
    padding: 11px 15px;
    font-size: 12px;
  }
  .auth-login-error > i { width: 29px; height: 29px; flex-basis: 29px; }
  .auth-login-error > i svg { width: 17px; height: 17px; }
  .auth-forgot-row a { font-size: 11px; }
  .auth-signin-button { height: 52px; font-size: 14px; }
  .auth-divider span,
  .auth-switch-text { font-size: 12px; }
  .auth-google-button { min-height: 50px; font-size: 14px; }

  .auth-shell.is-signup .auth-signup-content {
    padding: 42px 52px 34px;
  }
  .auth-shell.is-signup .auth-signup-heading { margin-bottom: 24px; }
  .auth-shell.is-signup .auth-signup-heading > span { font-size: 9px; }
  .auth-shell.is-signup .auth-signup-heading h2 { font-size: 34px; }
  .auth-shell.is-signup .auth-signup-heading p { font-size: 13px; }
  .auth-shell.is-signup .signup-form { gap: 13px; }
  .auth-shell.is-signup .auth-base-left .auth-input-field input {
    height: 52px;
    font-size: 14px;
  }
  .auth-shell.is-signup .auth-terms-row label { font-size: 11px; }
  .auth-shell.is-signup .auth-create-button { min-height: 50px; font-size: 14px; }
  .auth-shell.is-signup .auth-base-left .auth-google-button {
    height: 48px;
    font-size: 13px;
  }
  .auth-shell.is-signup .auth-base-left .auth-divider { height: 28px; }
  .auth-shell.is-signup .auth-base-left .auth-switch-text {
    margin-top: 8px;
    font-size: 12px;
  }
  .auth-shell.is-signup .auth-signup-error:not(:empty) {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 13px;
    color: #8f333b;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.45;
    background: linear-gradient(110deg, #fff1f1, #fff8f7);
    border: 1px solid #f0c9cb;
    border-left: 3px solid #e15f67;
    border-radius: 11px;
    box-shadow: 0 5px 14px rgba(173, 61, 69, .07);
    animation: authLoginErrorIn .2s ease-out both;
  }
  .auth-shell.is-signup .auth-signup-error > i {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    color: #c64b54;
    background: #ffe1e2;
    border: 1px solid #f6c9cb;
    border-radius: 50%;
  }
  .auth-shell.is-signup .auth-signup-error > i svg { width: 16px; height: 16px; }
  .auth-shell.is-signup .auth-signup-error > span { flex: 1; }
  .auth-shell.is-signup .auth-signup-error.is-success {
    color: #176344;
    background: linear-gradient(110deg, #edfbf4, #f7fdf9);
    border-color: #c5ead5;
    border-left-color: #25a46a;
    box-shadow: 0 5px 14px rgba(37, 164, 106, .07);
  }
  .auth-shell.is-signup .auth-signup-error.is-success > i {
    color: #168553;
    background: #dcf7e9;
    border-color: #c5ead5;
  }
}

@keyframes authLoginErrorIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-signin-button:disabled {
  opacity: .72;
  cursor: wait;
  transform: none;
}


/* =========================================================
   SCREEN READER LABEL
========================================================= */

.auth-visually-hidden {
  position:
    absolute;

  width:
    1px;

  height:
    1px;

  padding:
    0;

  margin:
    -1px;

  overflow:
    hidden;

  clip:
    rect(
      0,
      0,
      0,
      0
    );

  white-space:
    nowrap;

  border:
    0;
}


/* =========================================================
   MOVING VISUAL PANEL
========================================================= */

.auth-slide-panel {
  position:
    absolute;

  top:
    0;

  left:
    0;

  z-index:
    10;

width:
  var(--auth-half-width);

  height:
    100%;

  overflow:
    hidden;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  border-radius:
    28px;

background:
  linear-gradient(
    145deg,
    #193246
    0%,
    #41687d
    56%,
    #9bb9c6
    100%
  );

  box-shadow:
    12px
    0
    34px
    rgba(
      25,
      50,
      68,
      0.12
    );

  transform:
    translate3d(
      0,
      0,
      0
    );

  transition:
    transform
    0.9s
    cubic-bezier(
      0.77,
      0,
      0.175,
      1
    );

  will-change:
    transform;

  backface-visibility:
    hidden;

  -webkit-backface-visibility:
    hidden;
}


/* WATER IMAGE */

.auth-slide-panel::before {
  content:
    "";

  position:
    absolute;

  inset:
    0;

background-image:
  url(
    "../assets/images/auth-water-bg.png"
  );

  background-position:
    center;

  background-size:
    cover;

  background-repeat:
    no-repeat;

opacity:
  0.32;

filter:
  grayscale(1)
  brightness(0.96)
  contrast(1.12);

  transform:
    scale(1.06);

  pointer-events:
    none;
}


/* LIGHT */

.auth-slide-panel::after {
  content:
    "";

  position:
    absolute;

  inset:
    0;

  background:
    radial-gradient(
      circle
      at
      50%
      25%,
      rgba(
        255,
        255,
        255,
        0.14
      ),
      transparent
      42%
    );

  pointer-events:
    none;
}

/* =========================================================
   AQUASPHERE BRAND — MOVING PANEL HEADER
========================================================= */

/* =========================================================
   INTRO AQUASPHERE BRAND
   INITIAL CENTER STATE ONLY
========================================================= */

.auth-intro-brand {
  position:
    absolute;

  top:
    50%;

  left:
    50%;

  z-index:
    20;

  color:
    rgba(
      255,
      255,
      255,
      0.96
    );

  font-family:
    "Dune Rise",
    "Michroma",
    sans-serif;

  font-size:
    34px;

  font-weight:
    400;

  letter-spacing:
    0.16em;

  line-height:
    1;

  white-space:
    nowrap;

  opacity:
    0;

  transform:
    translate3d(
      -50%,
      calc(-50% + 10px),
      0
    );

  transition:
    opacity
      0.45s
      ease,
    transform
      0.65s
      cubic-bezier(
        0.22,
        1,
        0.36,
        1
      );

  pointer-events:
    none;
}

.auth-slide-brand {
  position:
    absolute;

  top:
    28px;

  left:
    30px;

  z-index:
    5;

  color:
    rgba(
      255,
      255,
      255,
      0.92
    );

  font-family:
    "Dune Rise",
    "Michroma",
    sans-serif;

  font-size:
    15px;

  font-weight:
    400;

  letter-spacing:
    0.14em;

  line-height:
    1;

  white-space:
    nowrap;

  pointer-events:
    none;
}


/* =========================================================
   SLIDE CONTENT
========================================================= */

/* =========================================================
   SLIDE PANEL CONTENT
========================================================= */

.auth-slide-content {
  position:
    relative;

  z-index:
    2;

  width:
    100%;

  height:
    100%;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  text-align:
    center;

  pointer-events:
    none;
}


/* =========================================================
   BOTH MESSAGES
========================================================= */

.auth-slide-message {
  position:
    absolute;

  top:
    50%;

  left:
    50%;

  width:
    82%;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  transform:
    translate3d(
      -50%,
      -50%,
      0
    );

  transition:
    opacity
      0.42s
      ease,
    transform
      0.65s
      cubic-bezier(
        0.22,
        1,
        0.36,
        1
      ),
    filter
      0.42s
      ease;

  will-change:
    opacity,
    transform;

  backface-visibility:
    hidden;
}


/* =========================================================
   SMALL TOP LABEL
========================================================= */

.auth-slide-kicker {
  margin-bottom:
    18px;

  color:
    rgba(
      255,
      255,
      255,
      0.68
    );

  font-size:
    7px;

  font-weight:
    500;

  letter-spacing:
    0.26em;

  text-transform:
    uppercase;
}


/* =========================================================
   MAIN MESSAGE
========================================================= */

.auth-slide-message h2 {
  margin:
    0;

  color:
    #ffffff;

  font-family:
    "Montserrat",
    "Poppins",
    sans-serif;

  font-size:
    30px;

  font-weight:
    400;

  letter-spacing:
    -0.04em;

  line-height:
    1.15;
}


/* =========================================================
   LITTLE LINE
========================================================= */

.auth-slide-line {
  width:
    38px;

  height:
    1px;

  margin:
    23px
    0
    16px;

  background:
    rgba(
      255,
      255,
      255,
      0.58
    );
}


/* =========================================================
   BOTTOM COPY
========================================================= */

.auth-slide-message p {
  margin:
    0;

  color:
    rgba(
      255,
      255,
      255,
      0.72
    );

  font-size:
    8px;

  letter-spacing:
    0.16em;

  line-height:
    1.6;

  text-transform:
    uppercase;
}


/* =========================================================
   SIGN IN MESSAGE — DEFAULT VISIBLE
========================================================= */

.auth-slide-login-message {
  opacity:
    1;

  filter:
    blur(0);

  transform:
    translate3d(
      -50%,
      -50%,
      0
    );
}


/* =========================================================
   SIGN UP MESSAGE — DEFAULT HIDDEN
========================================================= */

.auth-slide-signup-message {
  opacity:
    0;

  filter:
    blur(3px);

  transform:
    translate3d(
      -50%,
      calc(-50% + 18px),
      0
    );
}


/* =========================================================
   WHEN SIGN UP IS ACTIVE
========================================================= */

.auth-shell.is-signup
.auth-slide-login-message {
  opacity:
    0;

  filter:
    blur(3px);

  transform:
    translate3d(
      -50%,
      calc(-50% - 18px),
      0
    );
}


.auth-shell.is-signup
.auth-slide-signup-message {
  opacity:
    1;

  filter:
    blur(0);

  transform:
    translate3d(
      -50%,
      -50%,
      0
    );
}
/* =========================================================
   LOGIN / SIGNUP POSITION

   LOGIN:
   visual = LEFT

   SIGNUP:
   visual = RIGHT
========================================================= */

.auth-shell:not(.is-signup)
.auth-slide-panel {
  transform:
    translate3d(
      0,
      0,
      0
    );
}


.auth-shell.is-signup
.auth-slide-panel {
  transform:
    translate3d(
      100%,
      0,
      0
    );
}


/* =========================================================
   CLOSE
========================================================= */

.auth-close-button {
  position:
    absolute;

  top:
    17px;

  right:
    17px;

  z-index:
    30;

  width:
    36px;

  height:
    36px;

  display:
    grid;

  place-items:
    center;

  padding:
    0;

  border:
    1px
    solid
    rgba(
      37,
      62,
      81,
      0.06
    );

  border-radius:
    50%;

  background:
    rgba(
      245,
      248,
      250,
      0.90
    );

  color:
    #647786;

  cursor:
    pointer;

  transition:
    background
      0.2s
      ease,
    transform
      0.2s
      ease;
}


.auth-close-button svg {
  width:
    16px;

  height:
    16px;

  stroke-width:
    1.5;
}


.auth-close-button:hover {
  background:
    #edf2f4;

  transform:
    rotate(4deg);
}

/* =========================================================
   LOGIN OPENING SEQUENCE

   1. Visual panel appears in the CENTER
   2. Brief hold
   3. Shell expands
   4. Visual naturally shifts LEFT
   5. Sign In panel slides out RIGHT
========================================================= */


/* =========================================================
   INITIAL STATE — CENTER PANEL ONLY
========================================================= */

.auth-shell.auth-login-opening {
  width:
    var(--auth-half-width);

  transform:
    translate3d(
      0,
      0,
      0
    );

  animation:
    aquaAuthCenteredPanelIn
    0.42s
    cubic-bezier(
      0.22,
      1,
      0.36,
      1
    )
    both;

  transition:
    width
      1.05s
      cubic-bezier(
        0.16,
        1,
        0.3,
        1
      ),
    transform
      1.05s
      cubic-bezier(
        0.16,
        1,
        0.3,
        1
      );
}

/* =========================================================
   INTRO CONTENT SWITCH
========================================================= */


/* INITIAL:
   CENTER AQUASPHERE LANG ANG MAKIKITA */

.auth-shell.auth-login-opening
.auth-intro-brand {
  opacity:
    1;

  transform:
    translate3d(
      -50%,
      -50%,
      0
    );
}


/* ITAGO MUNA YUNG TOP-LEFT AQUASPHERE */

.auth-shell.auth-login-opening
.auth-slide-brand {
  opacity:
    0;

  transform:
    translate3d(
      0,
      -10px,
      0
    );
}


/* ITAGO MUNA YUNG WELCOME BACK CONTENT */

.auth-shell.auth-login-opening
.auth-slide-content {
  opacity:
    0;

  transform:
    translate3d(
      0,
      12px,
      0
    );
}


/* =========================================================
   KAPAG BUMUKA NA YUNG SIGN IN PANEL
========================================================= */


/* CENTER AQUASPHERE MAWAWALA */

.auth-shell.auth-login-opening.is-form-visible
.auth-intro-brand {
  opacity:
    0;

  transform:
    translate3d(
      -50%,
      calc(-50% - 12px),
      0
    );
}


/* TOP-LEFT AQUASPHERE BABALIK */

.auth-shell.auth-login-opening.is-form-visible
.auth-slide-brand {
  opacity:
    1;

  transform:
    translate3d(
      0,
      0,
      0
    );

  transition:
    opacity
      0.42s
      ease
      0.14s,
    transform
      0.60s
      cubic-bezier(
        0.22,
        1,
        0.36,
        1
      )
      0.14s;
}


/* WELCOME BACK CONTENT BABALIK */

.auth-shell.auth-login-opening.is-form-visible
.auth-slide-content {
  opacity:
    1;

  transform:
    translate3d(
      0,
      0,
      0
    );

  transition:
    opacity
      0.42s
      ease
      0.20s,
    transform
      0.65s
      cubic-bezier(
        0.22,
        1,
        0.36,
        1
      )
      0.20s;
}
/* =========================================================
   SIGN IN SIDE STARTS BEHIND VISUAL
========================================================= */

.auth-shell.auth-login-opening
.auth-base-right {
  transform:
    translate3d(
      -100%,
      0,
      0
    );

  opacity:
    0;

  transition:
    transform
      1.05s
      cubic-bezier(
        0.16,
        1,
        0.3,
        1
      ),
    opacity
      0.38s
      ease
      0.12s;

  will-change:
    transform,
    opacity;
}


/* =========================================================
   BLUE PANEL
========================================================= */

.auth-shell.auth-login-opening
.auth-slide-panel {
  transform:
    translate3d(
      0,
      0,
      0
    );

  transition:
    transform
      1.05s
      cubic-bezier(
        0.16,
        1,
        0.3,
        1
      ),
    box-shadow
      0.8s
      ease;
}


/* =========================================================
   HIDE CLOSE BUTTON FIRST
========================================================= */

.auth-shell.auth-login-opening
.auth-close-button {
  opacity:
    0;

  pointer-events:
    none;

  transform:
    translate3d(
      -10px,
      0,
      0
    );

  transition:
    opacity
      0.38s
      ease,
    transform
      0.65s
      cubic-bezier(
        0.22,
        1,
        0.36,
        1
      );
}


/* =========================================================
   REVEAL PHASE
========================================================= */

.auth-shell.auth-login-opening.is-form-visible {
  width:
    var(--auth-full-width);
}


/*
   IMPORTANT:

   Because the entire shell stays CENTERED,
   expanding from half-width to full-width
   automatically moves the blue panel toward LEFT.

   Kaya smooth at natural yung movement.
*/


.auth-shell.auth-login-opening.is-form-visible
.auth-base-right {
  transform:
    translate3d(
      0,
      0,
      0
    );

  opacity:
    1;
}


/* ADD A LITTLE DEPTH AS PANEL OPENS */

.auth-shell.auth-login-opening.is-form-visible
.auth-slide-panel {
  box-shadow:
    16px
    0
    38px
    rgba(
      24,
      50,
      68,
      0.10
    );
}


/* CLOSE BUTTON FADES IN LAST */

.auth-shell.auth-login-opening.is-form-visible
.auth-close-button {
  opacity:
    1;

  pointer-events:
    auto;

  transform:
    translate3d(
      0,
      0,
      0
    );

  transition-delay:
    0.42s;
}


/* =========================================================
   CENTER PANEL ENTRANCE
========================================================= */

@keyframes aquaAuthCenteredPanelIn {

  0% {
    opacity:
      0;

    transform:
      translate3d(
        0,
        12px,
        0
      )
      scale(
        0.97
      );
  }


  100% {
    opacity:
      1;

    transform:
      translate3d(
        0,
        0,
        0
      )
      scale(
        1
      );
  }

}


/* =========================================================
   OPEN ANIMATION
========================================================= */

@keyframes aquaAuthBackdropIn {

  from {
    opacity:
      0;
  }

  to {
    opacity:
      1;
  }

}


@keyframes aquaAuthShellIn {

  from {
    opacity:
      0;

    transform:
      translateY(
        10px
      )
      scale(
        0.988
      );
  }

  to {
    opacity:
      1;

    transform:
      translateY(
        0
      )
      scale(
        1
      );
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .auth-shell {
    width:
      min(
        720px,
        calc(
          100vw - 40px
        )
      );

    height:
      440px;
  }


  .auth-login-content {
    padding:
      38px
      35px
      30px;
  }


  .auth-login-heading h2 {
    font-size:
      27px;
  }


  .auth-slide-content h2 {
    font-size:
      23px;
  }

  .auth-slide-brand {
  top:
    24px;

  left:
    26px;

  font-size:
    13px;
}

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

  .auth-modal {
    padding:
      14px;
  }


  .auth-shell {
    width:
      calc(
        100vw - 28px
      );

    height:
      auto;

    min-height:
      570px;

    border-radius:
      24px;
  }


  .auth-base-left {
    display:
      none;
  }


  .auth-base-right {
    position:
      relative;

    width:
      100%;

    min-height:
      570px;
  }


  .auth-slide-panel {
    display:
      none;
  }


  .auth-login-content {
    padding:
      62px
      26px
      32px;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .auth-modal.active,
  .auth-shell {
    animation:
      none;
  }


  .auth-slide-panel {
    transition:
      none;
  }

}

/* Sign-in typography: increase the small interface copy for readability. */
.auth-shell:not(.is-signup) .auth-login-heading > span {
  font-size: 10px;
  letter-spacing: .2em;
}

.auth-shell:not(.is-signup) .auth-login-heading h2 {
  font-size: clamp(34px, 3vw, 40px);
}

.auth-shell:not(.is-signup) .auth-login-heading p {
  font-size: 15px;
}

.auth-shell:not(.is-signup) .auth-input-field input {
  height: 58px;
  font-size: 16px;
}

.auth-shell:not(.is-signup) .auth-forgot-row a {
  font-size: 13px;
}

.auth-shell:not(.is-signup) .auth-signin-button {
  min-height: 56px;
  font-size: 16px;
}

.auth-shell:not(.is-signup) .auth-divider {
  min-height: 26px;
  font-size: 13px;
}

.auth-shell:not(.is-signup) .auth-google-button {
  min-height: 54px;
  font-size: 15px;
}

.auth-shell:not(.is-signup) .auth-switch-text {
  font-size: 14px;
}

.auth-shell:not(.is-signup) .auth-slide-login-message .auth-slide-kicker {
  font-size: 9px;
}

.auth-shell:not(.is-signup) .auth-slide-login-message h2 {
  font-size: clamp(32px, 3vw, 38px);
}

.auth-shell:not(.is-signup) .auth-slide-login-message p {
  font-size: 10px;
}

.auth-shell:not(.is-signup) .auth-login-error:not(:empty) {
  font-size: 14px;
}

.auth-shell.is-signup .auth-signup-heading > span {
  font-size: 10px;
}

.auth-shell.is-signup .auth-signup-heading h2 {
  font-size: clamp(34px, 3vw, 40px);
}

.auth-shell.is-signup .auth-signup-heading p {
  font-size: 15px;
}

.auth-shell.is-signup .auth-base-left .auth-input-field input {
  height: 58px;
  font-size: 16px;
}

.auth-shell.is-signup .auth-terms-row,
.auth-shell.is-signup .auth-terms-row label {
  font-size: 13px;
}

.auth-shell.is-signup .auth-create-button {
  min-height: 56px;
  font-size: 16px;
}

.auth-shell.is-signup .auth-base-left .auth-google-button {
  min-height: 54px;
  font-size: 15px;
}

.auth-shell.is-signup .auth-base-left .auth-divider {
  min-height: 26px;
}

.auth-shell.is-signup .auth-divider span,
.auth-shell.is-signup .auth-switch-text {
  font-size: 13px;
}

.auth-shell.is-signup .auth-slide-signup-message .auth-slide-kicker {
  font-size: 9px;
}

.auth-shell.is-signup .auth-slide-signup-message h2 {
  font-size: clamp(32px, 3vw, 38px);
}

.auth-shell.is-signup .auth-slide-signup-message p {
  font-size: 10px;
}

@media (max-width: 900px) {
  .auth-shell:not(.is-signup) .auth-login-heading h2 {
    font-size: 34px;
  }

  .auth-shell:not(.is-signup) .auth-login-heading p {
    font-size: 14px;
  }

  .auth-shell.is-signup .auth-signup-heading h2 {
    font-size: 34px;
  }

  .auth-shell.is-signup .auth-signup-heading p {
    font-size: 14px;
  }
}

@media (max-width: 620px) {
  .auth-shell:not(.is-signup) .auth-login-content {
    padding: 68px 26px 36px;
  }

  .auth-shell:not(.is-signup) .auth-login-heading h2 {
    font-size: 32px;
  }

  .auth-shell:not(.is-signup) .auth-login-heading p {
    font-size: 14px;
  }

  .auth-shell:not(.is-signup) .auth-input-field input {
    height: 56px;
    font-size: 16px;
  }

  .auth-shell:not(.is-signup) .auth-forgot-row a,
  .auth-shell:not(.is-signup) .auth-switch-text {
    font-size: 13px;
  }

  .auth-shell.is-signup .auth-signup-heading h2 {
    font-size: 31px;
  }

  .auth-shell.is-signup .auth-signup-heading p {
    font-size: 14px;
  }

  .auth-shell.is-signup .auth-base-left .auth-input-field input {
    height: 54px;
    font-size: 15px;
  }

  .auth-shell.is-signup .auth-terms-row,
  .auth-shell.is-signup .auth-terms-row label {
    font-size: 12px;
  }

  .auth-shell.is-signup .auth-create-button {
    min-height: 52px;
    font-size: 15px;
  }
}


/* =========================================================
   FORGOT PASSWORD PAGE
========================================================= */

.forgot-password-page {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(
      rgba(219, 229, 234, 0.72),
      rgba(188, 203, 211, 0.78)
    );
  font-family: inherit;
  color: #20384d;
}

.forgot-password-shell {
  width: 100%;
  min-height: 100vh;
  padding: 40px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;
}

.forgot-password-card {
  position: relative;

  width: min(1040px, 100%);
  min-height: 570px;

  display: grid;
  grid-template-columns: 1fr 1fr;

  overflow: hidden;

  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;

  box-shadow:
    0 25px 65px
    rgba(31, 52, 67, 0.18);
}


/* LEFT VISUAL */

.forgot-password-visual {
  position: relative;

  min-height: 570px;
  padding: 30px;

  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;

  background:
    linear-gradient(
      rgba(42, 75, 94, 0.50),
      rgba(111, 145, 161, 0.62)
    ),
    url("../assets/images/aquarium-bg.jpg")
    center / cover no-repeat;
}

.forgot-password-brand {
  position: absolute;
  top: 28px;
  left: 32px;

  font-size: 20px;
  font-weight: 500;
  letter-spacing: 4px;

  color: #ffffff;
}

.forgot-password-visual-content {
  width: 100%;
  text-align: center;
}

.forgot-password-eyebrow {
  display: block;
  margin-bottom: 18px;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;

  color: rgba(255, 255, 255, 0.72);
}

.forgot-password-visual-content h2 {
  margin: 0;

  font-size: 31px;
  line-height: 1.08;
  font-weight: 400;

  color: #ffffff;
}

.forgot-password-line {
  width: 38px;
  height: 1px;

  margin: 28px auto 18px;

  background: rgba(255, 255, 255, 0.8);
}

.forgot-password-visual-content p {
  margin: 0;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;

  color: rgba(255, 255, 255, 0.62);
}


/* RIGHT SIDE */

.forgot-password-content {
  position: relative;

  min-height: 570px;
  padding: 70px 64px;

  box-sizing: border-box;

  display: flex;
  align-items: center;

  background: #ffffff;
}

.forgot-password-close {
  position: absolute;
  top: 20px;
  right: 20px;

  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  font-size: 23px;
  font-weight: 300;

  color: #60778a;

  background: #f5f8f9;
  border: 1px solid #dfe8ec;
  border-radius: 50%;
}

.forgot-password-form-wrap {
  width: 100%;
}

.forgot-password-form-eyebrow {
  display: block;
  margin-bottom: 10px;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;

  color: #8ba0b0;
}

.forgot-password-form-wrap h1 {
  margin: 0 0 8px;

  font-size: 30px;
  line-height: 1.15;
  font-weight: 400;

  color: #20384d;
}

.forgot-password-description {
  max-width: 390px;

  margin: 0 0 28px;

  font-size: 12px;
  line-height: 1.6;

  color: #8495a3;
}


/* STATUS MESSAGE */

.forgot-password-status {
  margin-bottom: 16px;
  padding: 12px 14px;

  font-size: 11px;
  line-height: 1.5;

  color: #24754c;

  background: #eef9f3;
  border: 1px solid #ccebd9;
  border-radius: 12px;
}

.forgot-password-status.is-error {
  color: #8f333b;
  background: linear-gradient(110deg, #fff1f1, #fff8f7);
  border: 1px solid #f0c9cb;
  border-left: 3px solid #e15f67;
}


/* FORM */

.forgot-password-form {
  width: 100%;
}

.forgot-password-input {
  width: 100%;
  height: 48px;

  padding: 0 17px;

  box-sizing: border-box;

  display: flex;
  align-items: center;
  gap: 12px;

  background: #fbfcfd;
  border: 1px solid #d8e1e6;
  border-radius: 24px;
}

.forgot-password-input:focus-within {
  border-color: #9fb9ca;

  box-shadow:
    0 0 0 3px
    rgba(111, 158, 187, 0.08);
}

.forgot-password-input-icon {
  flex: 0 0 auto;

  font-size: 17px;

  color: #71899b;
}

.forgot-password-input input {
  width: 100%;

  padding: 0;

  font: inherit;
  font-size: 12px;

  color: #20384d;

  background: transparent;
  border: none;
  outline: none;
}

.forgot-password-input input::placeholder {
  color: #94a4b1;
}


/* SUBMIT */

.forgot-password-submit {
  width: 100%;
  height: 46px;

  margin-top: 18px;
  padding: 0 26px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;

  cursor: pointer;

  font: inherit;
  font-size: 14px;

  color: #ffffff;

  background: #203b51;
  border: none;
  border-radius: 24px;

  box-shadow:
    0 12px 25px
    rgba(32, 59, 81, 0.12);

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.forgot-password-submit:hover {
  background: #172f42;
  transform: translateY(-1px);
}


/* BACK TO SIGN IN */

.forgot-password-back {
  margin-top: 25px;

  display: flex;
  justify-content: center;
  gap: 6px;

  font-size: 11px;

  color: #8b9aa7;
}

.forgot-password-back a {
  font-weight: 600;

  color: #29475d;
  text-decoration: underline;
}


/* RESPONSIVE */

@media (max-width: 820px) {

  .forgot-password-shell {
    padding: 20px;
  }

  .forgot-password-card {
    grid-template-columns: 1fr;
  }

  .forgot-password-visual {
    display: none;
  }

  .forgot-password-content {
    min-height: 520px;
    padding: 70px 35px 45px;
  }
}

/* Keep the standalone recovery page visually aligned with the sign-in modal. */
.forgot-password-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  font-family: var(--font-primary, "Poppins", sans-serif);
  color: var(--auth-navy, #1c3144);
  background: #aab9c2;
}

.forgot-password-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  padding: 28px;
}

.forgot-password-shell::before,
.forgot-password-shell::after {
  content: "";
  position: absolute;
  inset: -16px;
  pointer-events: none;
}

.forgot-password-shell::before {
  z-index: -2;
  background: url("../assets/images/home-bg-elegant-bw.png") center top / cover no-repeat;
  filter: blur(10px) grayscale(1);
  transform: scale(1.03);
}

.forgot-password-shell::after {
  z-index: -1;
  background: rgba(24, 42, 57, .38);
}

.forgot-password-card {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 56px));
  height: min(680px, calc(100vh - 56px));
  min-height: min(540px, calc(100vh - 56px));
  padding: 0;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 30px;
  box-shadow: 0 28px 85px rgba(19, 42, 58, .22);
}

.forgot-password-visual {
  height: 100%;
  align-self: stretch;
  min-height: 0;
  padding: 30px;
  border-radius: 28px 0 0 28px;
  background:
    linear-gradient(145deg, rgba(25, 50, 70, .72), rgba(91, 126, 145, .62)),
    url("../assets/images/auth-water-bg.png") center / cover no-repeat;
}

.forgot-password-brand {
  top: 28px;
  left: 30px;
  font-family: "Dune Rise", "Michroma", sans-serif;
  font-size: 15px;
  letter-spacing: .14em;
}

.forgot-password-visual-content { max-width: 430px; }
.forgot-password-eyebrow,
.forgot-password-visual-content p {
  font-family: var(--font-primary, "Poppins", sans-serif);
  font-size: 9px;
  letter-spacing: .18em;
}

.forgot-password-visual-content h2 {
  font-family: "Montserrat", var(--font-primary, "Poppins", sans-serif);
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -.04em;
}

.forgot-password-content {
  height: 100%;
  align-self: stretch;
  min-height: 0;
  padding: 72px clamp(42px, 5vw, 64px);
  border-radius: 0 28px 28px 0;
}

.forgot-password-close {
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  font-family: var(--font-primary, "Poppins", sans-serif);
  font-size: 21px;
  background: #f5f8f9;
  transition: background .2s ease, transform .2s ease;
}

.forgot-password-close:hover {
  background: #eaf2f5;
  transform: rotate(90deg);
}

.forgot-password-form-wrap { max-width: 470px; margin: 0 auto; }

.forgot-password-form-eyebrow {
  margin-bottom: 10px;
  font-family: var(--font-primary, "Poppins", sans-serif);
  font-size: 9px;
  letter-spacing: .22em;
}

.forgot-password-form-wrap h1 {
  margin-bottom: 8px;
  font-family: "Montserrat", var(--font-primary, "Poppins", sans-serif);
  font-size: clamp(30px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.forgot-password-description {
  max-width: 430px;
  margin-bottom: 28px;
  font-family: var(--font-primary, "Poppins", sans-serif);
  font-size: 13px;
  line-height: 1.65;
}

.forgot-password-status {
  margin-bottom: 16px;
  padding: 12px 14px;
  font-family: var(--font-primary, "Poppins", sans-serif);
  font-size: 12px;
  border-radius: 12px;
}

.forgot-password-input {
  height: 54px;
  padding: 0 17px;
  gap: 12px;
  background: #f8fafb;
  border: 1px solid rgba(40, 65, 84, .16);
  border-radius: 999px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.forgot-password-input:focus-within {
  background: #fff;
  border-color: rgba(35, 61, 82, .3);
  box-shadow: 0 0 0 4px rgba(31, 54, 73, .045);
}

.forgot-password-input-icon {
  color: #718493;
  font-family: var(--font-primary, "Poppins", sans-serif);
  font-size: 17px;
}

.forgot-password-input input {
  font-family: var(--font-primary, "Poppins", sans-serif);
  font-size: 14px;
}

.forgot-password-submit {
  height: 52px;
  margin-top: 18px;
  font-family: var(--font-primary, "Poppins", sans-serif);
  font-size: 14px;
  font-weight: 500;
  background: #1d3347;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(29, 51, 71, .16);
}

.forgot-password-submit:hover { background: #253e53; }

.forgot-password-back {
  margin-top: 24px;
  font-family: var(--font-primary, "Poppins", sans-serif);
  font-size: 12px;
}

.forgot-password-back a { color: #1d3347; }

@media (max-width: 820px) {
  .forgot-password-shell { padding: 18px; }
  .forgot-password-card {
    width: min(560px, calc(100vw - 36px));
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 26px;
  }
  .forgot-password-visual { display: none; }
  .forgot-password-content {
    height: auto;
    min-height: 480px;
    padding: 76px clamp(26px, 8vw, 48px) 48px;
    border-radius: 26px;
  }
}

@media (max-width: 480px) {
  .forgot-password-shell { padding: 12px; }
  .forgot-password-card { width: calc(100vw - 24px); }
  .forgot-password-content { min-height: 440px; padding-inline: 24px; }
  .forgot-password-description { font-size: 12px; }
}

/* Password reset page: keep recovery steps in the same AquaSphere auth system. */
.reset-password-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  color: var(--auth-navy, #1c3144);
  font-family: var(--font-primary, "Poppins", sans-serif);
  background: #aab9c2;
}

.reset-password-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  display: grid;
  min-height: 100vh;
  padding: 28px;
  place-items: center;
}

.reset-password-shell::before,
.reset-password-shell::after {
  position: absolute;
  z-index: -1;
  inset: -16px;
  content: "";
  pointer-events: none;
}

.reset-password-shell::before {
  z-index: -2;
  background: url("../assets/images/home-bg-elegant-bw.png") center / cover no-repeat;
  filter: blur(10px) grayscale(1);
  transform: scale(1.03);
}

.reset-password-shell::after { background: rgba(24, 42, 57, .38); }

.reset-password-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(1180px, calc(100vw - 56px));
  height: min(680px, calc(100vh - 56px));
  min-height: min(540px, calc(100vh - 56px));
  padding: 0;
  box-sizing: border-box;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 30px;
  box-shadow: 0 28px 85px rgba(19, 42, 58, .22);
}

.reset-password-visual {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 38px;
  color: #fff;
  background: linear-gradient(145deg, rgba(25, 50, 70, .72), rgba(91, 126, 145, .62)), url("../assets/images/auth-water-bg.png") center / cover no-repeat;
  border-radius: 28px 0 0 28px;
}

.reset-password-brand {
  position: absolute;
  top: 30px;
  left: 34px;
  font-family: "Dune Rise", "Michroma", sans-serif;
  font-size: 15px;
  letter-spacing: .14em;
}

.reset-password-visual-content { width: 100%; max-width: 440px; text-align: center; }
.reset-password-eyebrow,
.reset-password-visual-content > p {
  display: block;
  color: rgba(255, 255, 255, .76);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
}

.reset-password-eyebrow { margin-bottom: 18px; }
.reset-password-visual-content h2 {
  margin: 0;
  color: #fff;
  font-family: "Montserrat", var(--font-primary, "Poppins", sans-serif);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.12;
}

.reset-password-line { width: 40px; height: 1px; margin: 28px auto 18px; background: rgba(255, 255, 255, .8); }
.reset-password-visual-content > p { margin: 0; }
.reset-password-visual-footer {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  color: rgba(255, 255, 255, .56);
  font-size: 8px;
  letter-spacing: .16em;
  text-align: center;
}

.reset-password-content {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  align-items: center;
  padding: 76px clamp(38px, 5vw, 72px);
  background: #fff;
  border-radius: 0 28px 28px 0;
}

.reset-password-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #60778a;
  font-size: 22px;
  text-decoration: none;
  background: #f5f8f9;
  border: 1px solid #dfe8ec;
  border-radius: 50%;
  transition: background .2s ease, transform .2s ease;
}

.reset-password-close:hover { background: #eaf2f5; transform: rotate(90deg); }
.reset-password-form-wrap { width: 100%; max-width: 500px; margin: 0 auto; }
.reset-password-form-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #8ba0b0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
}

.reset-password-form-wrap h1 {
  margin: 0 0 10px;
  color: #20384d;
  font-family: "Montserrat", var(--font-primary, "Poppins", sans-serif);
  font-size: clamp(29px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.12;
}

.reset-password-description { max-width: 440px; margin: 0 0 26px; color: #8495a3; font-size: 13px; line-height: 1.7; }
.reset-password-notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 0 18px;
  padding: 13px 15px;
  color: #8f333b;
  font-size: 12px;
  line-height: 1.55;
  background: linear-gradient(110deg, #fff1f1, #fff8f7);
  border: 1px solid #f0c9cb;
  border-left: 3px solid #e15f67;
  border-radius: 12px;
}

.reset-password-notice-icon {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #a83f48;
  font-size: 12px;
  font-weight: 700;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.reset-password-form { width: 100%; }
.reset-password-field-label { display: block; margin: 0 0 8px 3px; color: #405a70; font-size: 12px; font-weight: 600; }
.reset-password-input {
  display: flex;
  width: 100%;
  height: 56px;
  box-sizing: border-box;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 0 16px;
  background: #f8fafb;
  border: 1px solid rgba(40, 65, 84, .16);
  border-radius: 999px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.reset-password-input:focus-within { background: #fff; border-color: rgba(35, 61, 82, .34); box-shadow: 0 0 0 4px rgba(31, 54, 73, .06); }
.reset-password-input-icon { display: grid; flex: 0 0 18px; width: 18px; place-items: center; color: #71899b; }
.reset-password-input-icon svg,
.reset-password-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.reset-password-input input { width: 100%; min-width: 0; padding: 0; color: #20384d; font: inherit; font-size: 14px; background: transparent; border: 0; outline: 0; }
.reset-password-input input::placeholder { color: #94a4b1; }
.reset-password-toggle { display: grid; flex: 0 0 30px; width: 30px; height: 34px; padding: 0; place-items: center; color: #71899b; cursor: pointer; background: transparent; border: 0; border-radius: 50%; }
.reset-password-toggle:hover { color: #20384d; background: #edf3f6; }
.reset-password-toggle:focus-visible,
.reset-password-close:focus-visible,
.reset-password-submit:focus-visible,
.reset-password-back a:focus-visible { outline: 3px solid rgba(40, 154, 207, .35); outline-offset: 3px; }
.reset-password-hint { display: flex; align-items: flex-start; gap: 9px; margin: 2px 0 0; color: #8193a1; font-size: 11px; line-height: 1.55; }
.reset-password-hint-mark { display: grid; flex: 0 0 16px; width: 16px; height: 16px; place-items: center; color: #73899a; font-size: 10px; font-weight: 700; border: 1px solid #cbd8df; border-radius: 50%; }
.reset-password-match { min-height: 16px; margin: 5px 0 0 25px; color: #a83f48; font-size: 11px; }
.reset-password-match.is-match { color: #24754c; }

.reset-password-submit {
  display: flex;
  width: 100%;
  min-height: 54px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 12px;
  padding: 0 24px;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: #1d3347;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(29, 51, 71, .16);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.reset-password-submit:hover { color: #fff; background: #253e53; box-shadow: 0 15px 30px rgba(29, 51, 71, .2); transform: translateY(-1px); }
.reset-password-link-button { margin-top: 18px; }
.reset-password-back { margin: 24px 0 0; color: #8798a5; font-size: 12px; text-align: center; }
.reset-password-back a { margin-left: 4px; color: #1d3347; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 820px) {
  .reset-password-shell { padding: 18px; }
  .reset-password-card { width: min(560px, calc(100vw - 36px)); height: auto; min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto; border-radius: 26px; }
  .reset-password-visual { display: none; }
  .reset-password-content { height: auto; min-height: 560px; padding: 78px clamp(26px, 8vw, 48px) 48px; border-radius: 26px; }
}

@media (max-width: 480px) {
  .reset-password-shell { padding: 12px; }
  .reset-password-card { width: calc(100vw - 24px); border-radius: 22px; }
  .reset-password-content { min-height: 520px; padding: 72px 22px 34px; border-radius: 22px; }
  .reset-password-description { font-size: 12px; }
  .reset-password-input { height: 52px; }
}
