/* =========================================================
   DIGITALDZEN AUTH
========================================================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family:
    "Inter",
    system-ui,
    sans-serif;
}

button,
input {
  font: inherit;
}

.auth-page {
  min-height: 100vh;

  background: #f5f4ef;

  color: #173640;
}

.auth-shell {
  min-height: 100vh;

  display: grid;
  grid-template-columns:
    minmax(440px, 1.05fr)
    minmax(430px, .95fr);
}


/* =========================================================
   LEFT
========================================================= */

.auth-story {
  position: relative;

  min-height: 100vh;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  padding: 36px 48px 54px;

  background:
    url("/static/img/montainman.jpg")
    center 42% / cover
    no-repeat;
}

.auth-story-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(4, 27, 35, .35),
      rgba(3, 26, 34, .58) 48%,
      rgba(3, 23, 30, .90) 100%
    );
}

.auth-brand,
.auth-story-copy {
  position: relative;
  z-index: 2;
}

.auth-brand {
  width: fit-content;

  display: inline-flex;
  align-items: center;

  gap: 11px;

  color: #ffffff;

  text-decoration: none;

  font-family:
    "Manrope",
    sans-serif;

  font-size: 18px;
  font-weight: 800;
}

.auth-brand img,
.auth-brand-light img {
  width: 42px;
  height: 42px;

  border-radius: 50%;

  object-fit: cover;

  border:
    1px solid
    rgba(255,255,255,.30);
}

.auth-story-copy {
  width: min(610px, 90%);

  margin-top: auto;
}

.auth-eyebrow {
  margin-bottom: 17px;

  color: #7ce5d1;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: .18em;

  text-transform: uppercase;
}

.auth-story-copy h1 {
  margin: 0;

  color: #ffffff;

  font-family:
    "Manrope",
    sans-serif;

  font-size:
    clamp(40px, 4.7vw, 67px);

  line-height: 1.02;

  letter-spacing: -.045em;
}

.auth-story-copy > p {
  width: min(540px, 100%);

  margin: 23px 0 0;

  color:
    rgba(238, 250, 248, .78);

  font-size: 17px;
  line-height: 1.65;
}

.auth-route {
  width: fit-content;

  display: flex;
  align-items: center;

  gap: 22px;

  margin-top: 34px;

  padding: 15px 18px;

  border:
    1px solid
    rgba(255,255,255,.16);

  border-radius: 14px;

  background:
    rgba(3, 25, 32, .56);

  backdrop-filter: blur(8px);
}

.auth-route div {
  display: grid;

  gap: 2px;
}

.auth-route small {
  color:
    rgba(220, 242, 238, .55);

  font-size: 8px;
  font-weight: 800;

  letter-spacing: .12em;
}

.auth-route strong {
  color: #ffffff;

  font-size: 13px;
}

.auth-route > span {
  color: #77d9c5;

  font-size: 20px;
}


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

.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 0;

  padding: 50px 42px;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(45, 151, 137, .10),
      transparent 35%
    ),
    #f5f4ef;
}

.auth-form-wrap {
  width: min(470px, 100%);
}

.auth-mobile-brand {
  display: none;
}

.auth-heading {
  margin-bottom: 30px;
}

.auth-eyebrow-dark {
  color: #25897d;
}

.auth-heading h2 {
  margin: 0;

  color: #163944;

  font-family:
    "Manrope",
    sans-serif;

  font-size:
    clamp(34px, 3vw, 44px);

  line-height: 1.08;

  letter-spacing: -.035em;
}

.auth-heading p {
  margin: 13px 0 0;

  color: #718489;

  font-size: 15px;
  line-height: 1.55;
}


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

.auth-form {
  display: grid;

  gap: 18px;
}

.auth-field {
  display: grid;

  gap: 8px;
}

.auth-field > span {
  color: #35565d;

  font-size: 12px;
  font-weight: 700;
}

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

  padding: 0 15px;

  border:
    1px solid
    #ced9d8;

  border-radius: 12px;

  outline: none;

  background:
    rgba(255,255,255,.77);

  color: #173640;

  font-size: 16px;

  transition:
    border-color .16s ease,
    box-shadow .16s ease;
}

.auth-field input::placeholder {
  color: #9ca9aa;
}

.auth-field input:focus {
  border-color: #208f82;

  box-shadow:
    0 0 0 3px
    rgba(32, 143, 130, .10);
}

.auth-password-wrap {
  position: relative;
}

.auth-password-wrap input {
  padding-right: 68px;
}

.auth-password-toggle {
  position: absolute;

  right: 8px;
  top: 50%;

  transform: translateY(-50%);

  min-width: 52px;
  height: 36px;

  border: 0;

  border-radius: 8px;

  background: transparent;

  color: #33756d;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;
}

.auth-password-toggle:hover {
  background:
    rgba(28, 128, 116, .07);
}

.auth-submit {
  width: 100%;
  height: 58px;

  margin-top: 5px;

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

  gap: 18px;

  border: 0;

  border-radius: 13px;

  background:
    linear-gradient(
      135deg,
      #188d7e,
      #08706b
    );

  color: #ffffff;

  font-size: 13px;
  font-weight: 800;

  letter-spacing: .06em;

  cursor: pointer;

  box-shadow:
    0 15px 30px
    rgba(12, 112, 103, .18);

  transition:
    transform .16s ease,
    box-shadow .16s ease;
}

.auth-submit:hover {
  transform: translateY(-1px);

  box-shadow:
    0 18px 35px
    rgba(12, 112, 103, .24);
}

.auth-submit span {
  font-size: 19px;
}


/* =========================================================
   ERROR / FOOTER
========================================================= */

.auth-error {
  margin-bottom: 20px;

  padding: 12px 14px;

  border:
    1px solid
    rgba(181, 63, 63, .25);

  border-radius: 10px;

  background:
    rgba(181, 63, 63, .07);

  color: #9c3939;

  font-size: 13px;
  line-height: 1.45;
}

.auth-signin {
  display: flex;
  justify-content: center;

  gap: 6px;

  margin-top: 24px;

  color: #7a8b8e;

  font-size: 13px;
}

.auth-signin a {
  color: #197f74;

  font-weight: 700;

  text-decoration: none;
}

.auth-signin a:hover {
  text-decoration: underline;
}

.auth-trust {
  margin-top: 27px;

  padding-top: 21px;

  border-top:
    1px solid
    rgba(38, 78, 82, .10);

  color: #96a2a3;

  text-align: center;

  font-size: 11px;
}

.auth-brand-light {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  color: #173944;

  text-decoration: none;

  font-family:
    "Manrope",
    sans-serif;

  font-weight: 800;
}


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

@media (max-width: 900px) {

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-story {
    min-height: 310px;

    padding:
      25px
      28px
      34px;
  }

  .auth-story-copy {
    width: min(650px, 100%);

    margin-top: 80px;
  }

  .auth-story-copy h1 {
    font-size: 43px;
  }

  .auth-story-copy > p {
    display: none;
  }

  .auth-route {
    margin-top: 20px;
  }

  .auth-form-side {
    padding:
      50px
      24px
      65px;
  }

}


@media (max-width: 600px) {

  .auth-story {
    display: none;
  }

  .auth-form-side {
    min-height: 100vh;

    align-items: flex-start;

    padding:
      28px
      20px
      45px;
  }

  .auth-mobile-brand {
    display: block;

    margin-bottom: 55px;
  }

  .auth-heading h2 {
    font-size: 36px;
  }

  .auth-heading {
    margin-bottom: 27px;
  }

  .auth-field input {
    height: 56px;
  }

  .auth-submit {
    height: 58px;
  }

}

/* =========================================================
   LOGIN EXTRAS
========================================================= */

.auth-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.auth-field-head > span {
  color: #35565d;

  font-size: 12px;
  font-weight: 700;
}

.auth-forgot-link {
  color: #197f74;

  font-size: 12px;
  font-weight: 700;

  text-decoration: none;
}

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

.auth-home-link {
  margin-top: 18px;

  text-align: center;
}

.auth-home-link a {
  color: #718489;

  font-size: 12px;
  font-weight: 600;

  text-decoration: none;
}

.auth-home-link a:hover {
  color: #197f74;
}
.auth-google-icon {

    width: 20px;
    height: 20px;

    display: block;

    flex: 0 0 20px;

}