/* =========================================================
   EASYPRINT WEB — AUTH UI MODERNIZATION
   Shared Sign In / Sign Up presentation layer
   Mobile-first
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;

  margin: 0;
  padding: 78px 16px 28px;

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

  overflow-x: hidden;

  font-family: Arial, Helvetica, sans-serif;
  color: #173f68;

  background:
    radial-gradient(
      circle at 8% 10%,
      rgba(66, 190, 231, 0.16) 0,
      rgba(66, 190, 231, 0) 34%
    ),
    radial-gradient(
      circle at 94% 92%,
      rgba(47, 157, 222, 0.14) 0,
      rgba(47, 157, 222, 0) 36%
    ),
    linear-gradient(
      145deg,
      #f7fcff 0%,
      #eef8fd 48%,
      #f9fcff 100%
    );
}


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

.back-btn {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 50;

  min-height: 42px;
  padding: 0 15px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  border: 1px solid #dce9f3;
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 20px rgba(24, 78, 131, 0.08);

  color: #24547f;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;

  text-decoration: none;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

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

.back-btn:hover {
  transform: translateX(-2px);

  border-color: #c8deee;
  background: #ffffff;

  box-shadow: 0 8px 24px rgba(24, 78, 131, 0.11);
}

.back-btn:focus-visible {
  outline: 3px solid rgba(47, 157, 222, 0.20);
  outline-offset: 2px;
}


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

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

  margin: 0 0 16px;

  text-align: center;
}

.signin-logo img,
.auth-logo img {
  display: block;

  width: 132px;
  max-width: 100%;
  height: auto;

  filter: none;
}


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

.signin-container,
.auth-page {
  position: relative;
  z-index: 3;

  width: 100%;

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


/* =========================================================
   AUTH CARDS
========================================================= */

.signin-card,
.signup-card {
  width: 100%;

  margin: 0 auto;

  background: rgba(255, 255, 255, 0.97);

  border: 1px solid #e1edf5;
  border-radius: 22px;

  box-shadow:
    0 22px 60px rgba(37, 84, 125, 0.10),
    0 4px 14px rgba(37, 84, 125, 0.04);

  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  text-align: center;
}

.signin-card {
  max-width: 450px;
  padding: 30px 22px 24px;
}

.signup-card {
  max-width: 620px;
  padding: 30px 22px 24px;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

.signin-card h1,
.signup-card h1 {
  margin: 0 0 8px;

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

  color: #173f68;

  font-size: clamp(28px, 8vw, 34px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.45px;
}

.subtitle,
.auth-subtitle {
  margin: 0 auto 26px;

  color: #61778e;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.subtitle {
  max-width: 340px;
}

.auth-subtitle {
  max-width: 430px;
}


/* =========================================================
   FORMS
========================================================= */

.signin-card form,
.auth-form {
  width: 100%;
  text-align: left;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.form-group {
  margin-bottom: 17px;
}

.spaced-top {
  margin-top: 0;
}

.signin-card label,
.form-group label {
  display: block;

  margin: 0 0 7px;

  color: #244e75;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}


/* =========================================================
   INPUTS
========================================================= */

.signin-card input[type="email"],
.signin-card input[type="password"],
.signin-card input[type="text"],
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  height: 52px;

  margin: 0;
  padding: 0 15px;

  border: 1px solid #d5e3ee;
  border-radius: 12px;

  background: #ffffff;
  color: #173f68;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;

  outline: none;

  box-shadow: inset 0 1px 2px rgba(28, 69, 105, 0.025);

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

.signin-card input[type="email"] {
  margin-bottom: 17px;
}

.signin-card input::placeholder,
.form-group input::placeholder {
  color: #91a2b2;

  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
}

.signin-card input:hover,
.form-group input:hover {
  border-color: #bfd5e5;
}

.signin-card input:focus,
.form-group input:focus {
  border-color: #2f9dde;

  background: #ffffff;

  box-shadow:
    0 0 0 3px rgba(47, 157, 222, 0.12),
    inset 0 1px 2px rgba(28, 69, 105, 0.02);
}


/* =========================================================
   PASSWORD FIELD
========================================================= */

.password-field {
  position: relative;

  display: flex;
  align-items: center;
}

.signin-card .password-field {
  margin-bottom: 11px;
}

.password-field input {
  padding-right: 50px !important;
}

.password-toggle {
  position: absolute;

  top: 50%;
  right: 9px;

  width: 36px;
  height: 36px;

  transform: translateY(-50%);

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

  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 9px;

  background: transparent;

  color: #71879a;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;

  cursor: pointer;

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

.password-toggle:hover {
  background: #eef7fc;
  color: #24547f;
}

.password-toggle:focus-visible {
  outline: 3px solid rgba(47, 157, 222, 0.18);
  outline-offset: 1px;
}


/* =========================================================
   SIGN IN LINKS
========================================================= */

.signin-links {
  margin: 3px 0 22px;

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

.forgot-link {
  color: #287fbd;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;

  text-decoration: none;
}

.forgot-link:hover {
  color: #175f92;
  text-decoration: underline;
}


/* =========================================================
   PRIMARY BUTTONS
========================================================= */

.signin-btn,
.auth-submit-btn {
  width: 100%;
  min-height: 52px;

  border: 0;
  border-radius: 12px;

  background: linear-gradient(
    135deg,
    #22b8d6 0%,
    #2f9dde 100%
  );

  color: #ffffff;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;

  box-shadow: 0 10px 24px rgba(47, 157, 222, 0.22);

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

.auth-submit-btn {
  display: block;
  margin: 7px 0 0;
}

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

  box-shadow: 0 13px 28px rgba(47, 157, 222, 0.28);

  filter: brightness(1.02);
}

.signin-btn:active,
.auth-submit-btn:active {
  transform: translateY(0);
}

.signin-btn:focus-visible,
.auth-submit-btn:focus-visible {
  outline: 3px solid rgba(47, 157, 222, 0.20);
  outline-offset: 3px;
}

.signin-btn:disabled {
  transform: none;

  cursor: not-allowed;

  opacity: 0.58;

  box-shadow: none;
}


/* =========================================================
   LOCKOUT MESSAGE
========================================================= */

.signin-lockout {
  margin: 0 0 14px !important;

  border-radius: 10px !important;

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


/* =========================================================
   GOOGLE AUTH
========================================================= */

.google-auth-divider {
  margin: 22px 0 18px;

  display: flex;
  align-items: center;
  gap: 12px;

  color: #8a9bab;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 600;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.google-auth-divider::before,
.google-auth-divider::after {
  content: "";

  flex: 1;

  height: 1px;

  background: #e2ebf2;
}

.google-auth-divider span {
  padding: 0 4px;
}

.google-auth-block {
  min-height: 44px;

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

  overflow: hidden;
}

.google-auth-block .g_id_signin {
  max-width: 100%;
}


/* =========================================================
   SECONDARY ACTIONS
========================================================= */

.bottom-text,
.auth-bottom-text {
  margin: 20px 0 10px;

  color: #61778e;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.bottom-text a,
.auth-bottom-text a {
  color: #247db8;

  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;

  text-decoration: none;
}

.bottom-text a:hover,
.auth-bottom-text a:hover {
  color: #175f92;
  text-decoration: underline;
}

.guest-link {
  width: 100%;
  min-height: 44px;

  padding: 0 16px;

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

  border: 1px solid #d8e8f3;
  border-radius: 12px;

  background: #f2f9fd;

  color: #315f84;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;

  text-decoration: none;

  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.guest-link:hover {
  transform: translateY(-1px);

  border-color: #c7dfef;

  background: #eaf6fc;
  color: #214f75;
}


/* =========================================================
   MOTION ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* =========================================================
   TABLET / DESKTOP
========================================================= */

@media (min-width: 768px) {
  body {
    padding: 38px 28px;

    justify-content: center;
  }

  .back-btn {
    top: 24px;
    left: 28px;

    min-height: 44px;

    padding: 0 17px;
  }

  .signin-logo,
  .auth-logo {
    margin-bottom: 18px;
  }

  .signin-logo img,
  .auth-logo img {
    width: 146px;
  }

  .signin-card {
    padding: 38px 40px 32px;

    border-radius: 24px;
  }

  .signup-card {
    padding: 38px 42px 32px;

    border-radius: 24px;
  }

  .signin-card h1,
  .signup-card h1 {
    font-size: 34px;
  }

  .subtitle,
  .auth-subtitle {
    margin-bottom: 28px;

    font-size: 14.5px;
  }

  .name-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 380px) {
  body {
    padding-left: 12px;
    padding-right: 12px;
  }

  .signin-card,
  .signup-card {
    padding-left: 18px;
    padding-right: 18px;

    border-radius: 20px;
  }

  .signin-card h1,
  .signup-card h1 {
    font-size: 27px;
  }

  .signin-logo img,
  .auth-logo img {
    width: 122px;
  }
}

/* EASYPRINT AUTH REFINED V2
   =========================================================
   Cleaner, more compact public auth UI.
========================================================= */


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

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

body {
  margin:
    0 !important;

  min-height:
    100vh !important;

  padding:
    28px 20px 40px !important;

  box-sizing:
    border-box !important;

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

  color:
    #234f70 !important;

  background:
    radial-gradient(
      circle at 16% 10%,
      rgba(50, 202, 210, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 88% 82%,
      rgba(47, 157, 222, 0.14),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #e4fafc 0%,
      #dff4fb 44%,
      #d7eef9 72%,
      #e2f5fd 100%
    ) !important;
}


/* old decorative blobs unnecessary */

.side-decor {
  display:
    none !important;
}


/* =========================================================
   BACK
========================================================= */

.back-btn {
  position:
    fixed !important;

  top:
    18px !important;

  left:
    18px !important;

  z-index:
    50 !important;

  width:
    auto !important;

  height:
    38px !important;

  min-height:
    38px !important;

  margin:
    0 !important;

  padding:
    0 10px 0 7px !important;

  display:
    inline-flex !important;

  align-items:
    center !important;

  justify-content:
    center !important;

  gap:
    4px !important;

  border:
    0 !important;

  border-radius:
    8px !important;

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

  color:
    #315f7d !important;

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

  font-size:
    11px !important;

  font-weight:
    700 !important;

  line-height:
    1 !important;

  text-decoration:
    none !important;

  box-shadow:
    none !important;

  backdrop-filter:
    blur(8px) !important;
}

.back-btn:hover,
.back-btn:focus-visible {
  background:
    rgba(255, 255, 255, 0.90) !important;
}

.back-btn-icon {
  position:
    relative;

  top:
    -1px;

  font-size:
    24px;

  font-weight:
    300;

  line-height:
    1;
}


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

.signin-logo,
.auth-logo {
  position:
    relative !important;

  inset:
    auto !important;

  width:
    100% !important;

  margin:
    42px auto 18px !important;

  padding:
    0 !important;

  display:
    flex !important;

  justify-content:
    center !important;

  transform:
    none !important;
}

.signin-logo img,
.auth-logo img {
  width:
    150px !important;

  max-width:
    44vw !important;

  height:
    auto !important;

  display:
    block !important;
}


/* =========================================================
   MAIN WRAPPERS
========================================================= */

.signin-container,
.auth-page {
  position:
    relative !important;

  inset:
    auto !important;

  width:
    100% !important;

  max-width:
    440px !important;

  min-height:
    0 !important;

  margin:
    0 auto !important;

  padding:
    0 !important;

  display:
    block !important;

  transform:
    none !important;
}


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

.signin-card,
.auth-card,
.signup-card {
  width:
    100% !important;

  max-width:
    none !important;

  margin:
    0 !important;

  padding:
    32px 30px 28px !important;

  box-sizing:
    border-box !important;

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

  border-radius:
    20px !important;

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

  box-shadow:
    0 14px 34px
    rgba(24, 78, 131, 0.07) !important;

  backdrop-filter:
    blur(8px) !important;
}


/* =========================================================
   TITLES
========================================================= */

.signin-card h1,
.signup-card h1,
.auth-card h1 {
  margin:
    0 !important;

  color:
    #184e83 !important;

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

  font-size:
    30px !important;

  font-weight:
    800 !important;

  line-height:
    1.15 !important;

  letter-spacing:
    -0.5px !important;

  text-align:
    center !important;
}

.subtitle,
.auth-subtitle {
  max-width:
    330px !important;

  margin:
    9px auto 26px !important;

  color:
    #718696 !important;

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

  font-size:
    12px !important;

  line-height:
    1.55 !important;

  text-align:
    center !important;
}


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

.signin-form,
.auth-form {
  width:
    100% !important;
}

.form-group {
  margin:
    0 0 16px !important;
}

.name-row {
  display:
    grid !important;

  grid-template-columns:
    1fr 1fr !important;

  gap:
    12px !important;
}


/* =========================================================
   LABELS
========================================================= */

.form-group label {
  display:
    block !important;

  margin:
    0 0 7px !important;

  color:
    #315b78 !important;

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

  font-size:
    11px !important;

  font-weight:
    700 !important;
}


/* =========================================================
   INPUTS
========================================================= */

.form-group input,
.input-wrapper input {
  width:
    100% !important;

  height:
    48px !important;

  padding:
    0 14px !important;

  box-sizing:
    border-box !important;

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

  border-radius:
    10px !important;

  background:
    #ffffff !important;

  color:
    #31536a !important;

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

  font-size:
    13px !important;

  outline:
    none !important;

  box-shadow:
    none !important;
}

.form-group input::placeholder,
.input-wrapper input::placeholder {
  color:
    #a0adb6 !important;

  opacity:
    1 !important;
}

.form-group input:focus,
.input-wrapper input:focus {
  border-color:
    #2f9dde !important;

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


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

.input-wrapper,
.password-wrapper {
  position:
    relative !important;
}

.password-toggle {
  position:
    absolute !important;

  top:
    50% !important;

  right:
    10px !important;

  width:
    32px !important;

  height:
    32px !important;

  padding:
    0 !important;

  display:
    inline-flex !important;

  align-items:
    center !important;

  justify-content:
    center !important;

  border:
    0 !important;

  background:
    transparent !important;

  color:
    #758c9b !important;

  transform:
    translateY(-50%) !important;
}


/* =========================================================
   FORGOT PASSWORD
========================================================= */

.forgot-password,
.forgot-password-row {
  margin:
    -3px 0 20px !important;

  text-align:
    right !important;
}

.forgot-password a,
.forgot-password-row a {
  color:
    #2e7ba7 !important;

  font-size:
    10.5px !important;

  font-weight:
    700 !important;

  text-decoration:
    none !important;
}


/* =========================================================
   PRIMARY BUTTONS
========================================================= */

.signin-btn,
.signup-btn,
.auth-button,
.auth-btn {
  width:
    100% !important;

  min-height:
    48px !important;

  margin:
    0 !important;

  padding:
    0 16px !important;

  border:
    0 !important;

  border-radius:
    10px !important;

  background:
    linear-gradient(
      135deg,
      #20b7c7,
      #2f9dde
    ) !important;

  color:
    #ffffff !important;

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

  font-size:
    13px !important;

  font-weight:
    800 !important;

  box-shadow:
    0 7px 16px
    rgba(47, 157, 222, 0.13) !important;
}


/* =========================================================
   OR DIVIDER
========================================================= */

.or-divider,
.auth-divider,
.google-auth-divider {
  margin:
    20px 0 !important;

  color:
    #93a2ac !important;

  font-size:
    9px !important;
}


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

.google-btn,
.google-auth-button,
.google-signin-btn,
.google-signup-btn {
  min-height:
    46px !important;

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

  border-radius:
    10px !important;

  background:
    #ffffff !important;

  color:
    #344f61 !important;

  box-shadow:
    none !important;

  font-size:
    12px !important;

  font-weight:
    700 !important;
}


/* =========================================================
   ACCOUNT SWITCH TEXT
========================================================= */

.signup-text,
.signin-text,
.auth-switch {
  margin:
    20px 0 0 !important;

  color:
    #758995 !important;

  font-size:
    11px !important;

  line-height:
    1.5 !important;

  text-align:
    center !important;
}

.signup-text a,
.signin-text a,
.auth-switch a {
  color:
    #267ba8 !important;

  font-weight:
    700 !important;

  text-decoration:
    none !important;
}


/* =========================================================
   CONTINUE WITHOUT ACCOUNT
========================================================= */

.guest-link {
  min-height:
    45px !important;

  margin:
    18px 0 0 !important;

  padding:
    0 14px !important;

  display:
    flex !important;

  align-items:
    center !important;

  justify-content:
    center !important;

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

  border-radius:
    10px !important;

  background:
    #edf8fc !important;

  color:
    #315f7d !important;

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

  font-size:
    11px !important;

  font-weight:
    700 !important;

  text-decoration:
    none !important;
}


/* =========================================================
   SIGNUP-SPECIFIC COMPACTION
========================================================= */

.signup-card {
  padding-bottom:
    25px !important;
}

.signup-card .form-group {
  margin-bottom:
    14px !important;
}


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

@media (max-width: 600px) {

  body {
    padding:
      20px 16px 28px !important;
  }

  .back-btn {
    top:
      14px !important;

    left:
      14px !important;

    height:
      36px !important;

    min-height:
      36px !important;
  }

  .signin-logo,
  .auth-logo {
    margin:
      44px auto 15px !important;
  }

  .signin-logo img,
  .auth-logo img {
    width:
      135px !important;
  }

  .signin-card,
  .auth-card,
  .signup-card {
    padding:
      27px 20px 23px !important;

    border-radius:
      17px !important;
  }

  .signin-card h1,
  .signup-card h1,
  .auth-card h1 {
    font-size:
      27px !important;
  }

  .subtitle,
  .auth-subtitle {
    margin-bottom:
      23px !important;

    font-size:
      11px !important;
  }

  .name-row {
    grid-template-columns:
      1fr !important;

    gap:
      0 !important;
  }

  .form-group {
    margin-bottom:
      14px !important;
  }

  .form-group input,
  .input-wrapper input {
    height:
      46px !important;

    font-size:
      12px !important;
  }

  .signin-btn,
  .signup-btn,
  .auth-button,
  .auth-btn {
    min-height:
      46px !important;
  }

}


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

@media (max-width: 380px) {

  body {
    padding-left:
      12px !important;

    padding-right:
      12px !important;
  }

  .signin-card,
  .auth-card,
  .signup-card {
    padding-left:
      17px !important;

    padding-right:
      17px !important;
  }

}

/* EASYPRINT AUTH LANDING V3
   =========================================================
   Public auth aligned with landing/pricing visual language.
========================================================= */


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

body {
  min-height:
    100vh !important;

  margin:
    0 !important;

  padding:
    26px 18px 34px !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;
}


/* =========================================================
   HOME LINK
========================================================= */

.back-btn {
  position:
    fixed !important;

  top:
    16px !important;

  left:
    18px !important;

  z-index:
    50 !important;

  width:
    auto !important;

  height:
    34px !important;

  min-height:
    34px !important;

  padding:
    0 4px !important;

  display:
    inline-flex !important;

  align-items:
    center !important;

  gap:
    4px !important;

  border:
    0 !important;

  border-radius:
    0 !important;

  background:
    transparent !important;

  color:
    #2e6485 !important;

  font-size:
    11px !important;

  font-weight:
    700 !important;

  text-decoration:
    none !important;

  box-shadow:
    none !important;

  backdrop-filter:
    none !important;
}

.back-btn:hover,
.back-btn:focus-visible {
  color:
    #174f75 !important;

  background:
    transparent !important;
}

.back-btn-icon {
  top:
    -1px !important;

  font-size:
    22px !important;

  font-weight:
    300 !important;
}


/* =========================================================
   REMOVE OLD LOGO SPACE
========================================================= */

.signin-logo,
.auth-logo {
  display:
    none !important;
}


/* =========================================================
   AUTH WRAPPERS
========================================================= */

.signin-container,
.auth-page {
  width:
    100% !important;

  max-width:
    430px !important;

  margin:
    52px auto 0 !important;

  padding:
    0 !important;
}


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

.signin-card,
.auth-card,
.signup-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;

  backdrop-filter:
    blur(9px) !important;
}


/* =========================================================
   EYEBROW
========================================================= */

.auth-eyebrow {
  margin:
    0 0 8px !important;

  color:
    #3d8faf !important;

  font-size:
    9px !important;

  font-weight:
    800 !important;

  letter-spacing:
    0.18em !important;

  line-height:
    1.2 !important;

  text-align:
    center !important;
}


/* =========================================================
   TITLES
========================================================= */

.signin-card h1,
.signup-card h1,
.auth-card h1 {
  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,
.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;
}


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

.form-group {
  margin:
    0 0 14px !important;
}

.form-group label {
  margin:
    0 0 6px !important;

  color:
    #2c5875 !important;

  font-size:
    10.5px !important;

  font-weight:
    700 !important;
}


/* =========================================================
   INPUTS
========================================================= */

.form-group input,
.input-wrapper input {
  height:
    46px !important;

  padding:
    0 13px !important;

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

  border-radius:
    9px !important;

  background:
    #ffffff !important;

  color:
    #324f62 !important;

  font-size:
    12.5px !important;

  box-shadow:
    none !important;
}

.form-group input:focus,
.input-wrapper input:focus {
  border-color:
    rgba(47, 157, 222, 0.58) !important;

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


/* =========================================================
   NAME ROW
========================================================= */

.name-row {
  display:
    grid !important;

  grid-template-columns:
    1fr 1fr !important;

  gap:
    12px !important;
}


/* =========================================================
   FORGOT PASSWORD
========================================================= */

.forgot-password,
.forgot-password-row {
  margin:
    -2px 0 18px !important;
}

.forgot-password a,
.forgot-password-row a {
  color:
    #2a7da9 !important;

  font-size:
    10px !important;

  font-weight:
    700 !important;
}


/* =========================================================
   PRIMARY CTA
========================================================= */

.signin-btn,
.signup-btn,
.auth-button,
.auth-btn {
  min-height:
    46px !important;

  border-radius:
    9px !important;

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

  font-size:
    12.5px !important;

  font-weight:
    800 !important;

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


/* =========================================================
   DIVIDER
========================================================= */

.google-auth-divider,
.or-divider,
.auth-divider {
  margin:
    18px 0 16px !important;

  gap:
    10px !important;

  color:
    #94a2ac !important;

  font-size:
    8.5px !important;

  letter-spacing:
    0.08em !important;
}


/* =========================================================
   GOOGLE
========================================================= */

.google-auth-block {
  min-height:
    42px !important;
}

.google-btn,
.google-auth-button,
.google-signin-btn,
.google-signup-btn {
  min-height:
    44px !important;

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

  border-radius:
    9px !important;

  background:
    #ffffff !important;

  color:
    #344f61 !important;

  font-size:
    11.5px !important;

  font-weight:
    700 !important;

  box-shadow:
    none !important;
}


/* =========================================================
   SWITCH TEXT
========================================================= */

.signup-text,
.signin-text,
.auth-switch,
.bottom-text {
  margin:
    18px 0 0 !important;

  color:
    #778b98 !important;

  font-size:
    10.5px !important;

  line-height:
    1.45 !important;

  text-align:
    center !important;
}

.signup-text a,
.signin-text a,
.auth-switch a,
.bottom-text a {
  color:
    #267ba8 !important;

  font-weight:
    700 !important;
}


/* =========================================================
   CONTINUE WITHOUT ACCOUNT
========================================================= */

.guest-link {
  min-height:
    auto !important;

  margin:
    16px auto 0 !important;

  padding:
    4px 0 !important;

  display:
    inline-flex !important;

  align-items:
    center !important;

  justify-content:
    center !important;

  border:
    0 !important;

  border-radius:
    0 !important;

  background:
    transparent !important;

  color:
    #4e7187 !important;

  font-size:
    10.5px !important;

  font-weight:
    700 !important;

  text-decoration:
    none !important;

  box-shadow:
    none !important;
}

.guest-link:hover,
.guest-link:focus-visible {
  color:
    #246f9a !important;

  text-decoration:
    underline !important;
}


/* =========================================================
   SIGNUP COMPACTION
========================================================= */

.signup-card {
  padding-bottom:
    24px !important;
}

.signup-card .form-group {
  margin-bottom:
    13px !important;
}


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

@media (max-width: 600px) {

  body {
    padding:
      18px 14px 26px !important;
  }

  .back-btn {
    top:
      13px !important;

    left:
      14px !important;
  }

  .signin-container,
  .auth-page {
    margin-top:
      48px !important;

    max-width:
      100% !important;
  }

  .signin-card,
  .auth-card,
  .signup-card {
    padding:
      27px 20px 22px !important;

    border-radius:
      16px !important;
  }

  .auth-eyebrow {
    font-size:
      8.5px !important;
  }

  .signin-card h1,
  .signup-card h1,
  .auth-card h1 {
    font-size:
      26px !important;
  }

  .subtitle,
  .auth-subtitle {
    margin-bottom:
      21px !important;

    font-size:
      11px !important;
  }

  .name-row {
    grid-template-columns:
      1fr !important;

    gap:
      0 !important;
  }

  .form-group input,
  .input-wrapper input {
    height:
      45px !important;
  }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 380px) {

  body {
    padding-left:
      11px !important;

    padding-right:
      11px !important;
  }

  .signin-card,
  .auth-card,
  .signup-card {
    padding-left:
      17px !important;

    padding-right:
      17px !important;
  }

}



/* EASYPRINT AUTH PLAYFUL V4
   =========================================================
   Shared playful auth presentation layer.
   Frontend-only.
========================================================= */

/* PAGE + AMBIENT MOTION */
body {
  background:
    linear-gradient(
      145deg,
      rgba(235, 251, 253, 0.94),
      rgba(222, 244, 251, 0.92) 48%,
      rgba(218, 238, 249, 0.94)
    ) !important;
}

.side-decor {
  position: fixed !important;
  inset: 0 !important;
  display: block !important;
  overflow: hidden !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.decor-left,
.decor-right {
  position: absolute !important;
  border-radius: 50% !important;
  filter: blur(54px) !important;
  will-change: transform;
}

.decor-left {
  width: 330px !important;
  height: 330px !important;
  left: -190px !important;
  top: 18% !important;
  background:
    radial-gradient(
      circle,
      rgba(29, 190, 208, 0.25),
      rgba(60, 169, 224, 0.08) 50%,
      transparent 72%
    ) !important;
  animation: epAuthBlobLeft 19s ease-in-out infinite alternate !important;
}

.decor-right {
  width: 390px !important;
  height: 390px !important;
  right: -225px !important;
  bottom: 3% !important;
  background:
    radial-gradient(
      circle,
      rgba(56, 151, 224, 0.22),
      rgba(58, 197, 210, 0.07) 52%,
      transparent 72%
    ) !important;
  animation: epAuthBlobRight 23s ease-in-out infinite alternate !important;
}

@keyframes epAuthBlobLeft {
  from { transform: translate3d(0,-25px,0) scale(.94); }
  to   { transform: translate3d(100px,115px,0) scale(1.13); }
}

@keyframes epAuthBlobRight {
  from { transform: translate3d(0,35px,0) scale(1); }
  to   { transform: translate3d(-95px,-120px,0) scale(1.12); }
}

/* HOME */
.back-btn {
  min-height: 38px !important;
  padding: 0 10px 0 8px !important;
  border: 1px solid rgba(83,155,194,.10) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.67) !important;
  box-shadow: 0 7px 20px rgba(24,78,131,.045) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* WRAPPERS */
.signin-container,
.auth-page {
  position: relative !important;
  z-index: 3 !important;
}

/* GLASS SURFACE */
.signin-card,
.signup-card,
.auth-card {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.80) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.86),
      rgba(249,253,255,.72)
    ) !important;
  box-shadow:
    0 22px 55px rgba(24,78,131,.10),
    inset 0 1px 0 rgba(255,255,255,.80) !important;
  backdrop-filter: blur(22px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.08) !important;
}

.signin-card::before,
.signup-card::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  top: -120px;
  right: -96px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(40,186,218,.16),
      transparent 69%
    );
  pointer-events: none;
}

/* PAPER MICRO-ILLUSTRATION */
.auth-play-visual {
  position: relative;
  width: 88px;
  height: 74px;
  margin: 0 auto 7px;
  display: grid;
  place-items: center;
  animation: epAuthFloat 4.8s ease-in-out infinite;
}

.auth-mini-paper {
  position: relative;
  width: 47px;
  height: 57px;
  padding: 15px 9px 8px;
  border: 1px solid rgba(54,157,208,.19);
  border-radius: 13px;
  background: linear-gradient(150deg,#fff,#ebfaff);
  box-shadow: 0 12px 25px rgba(28,103,151,.13);
  transform: rotate(-5deg);
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}

.auth-mini-paper::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 14px;
  height: 14px;
  border-radius: 0 12px 0 7px;
  background: linear-gradient(135deg,#caf0fa,#8dd8ee);
}

.auth-mini-paper span {
  display: block;
  height: 4px;
  margin-bottom: 5px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(42,181,205,.68),
      rgba(50,142,213,.46)
    );
}

.auth-mini-paper span:nth-child(2) { width: 76%; }
.auth-mini-paper span:nth-child(3) { width: 55%; }

.auth-play-visual::before {
  content: "\2713";
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: linear-gradient(135deg,#28bcd0,#318fd6);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 7px 17px rgba(39,145,198,.20);
  opacity: 0;
  transform: scale(.4) rotate(-18deg);
  transition:
    opacity .3s ease,
    transform .45s cubic-bezier(.22,1.6,.36,1);
  z-index: 3;
}

.signin-card.auth-ready .auth-play-visual::before,
.signup-card.auth-ready .auth-play-visual::before {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.signin-card.auth-ready .auth-mini-paper,
.signup-card.auth-ready .auth-mini-paper {
  transform: rotate(0) translateY(-3px);
}

.auth-spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(39,164,215,.45);
  animation: epAuthSpark 3.4s ease-in-out infinite;
}

.auth-spark-one { top: 10px; left: 10px; }
.auth-spark-two {
  right: 8px;
  top: 19px;
  width: 5px;
  height: 5px;
  animation-delay: -1.7s;
}

.auth-account-plus {
  position: absolute;
  left: 8px;
  bottom: 7px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(224,246,253,.94);
  color: #2982b4;
  font-style: normal;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 6px 15px rgba(40,130,181,.09);
}

@keyframes epAuthFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes epAuthSpark {
  0%,100% { opacity: .25; transform: scale(.75); }
  50% { opacity: .85; transform: scale(1.18); }
}

/* TITLE */
.auth-kicker {
  margin: 0 0 7px;
  color: #4389af;
  font-size: 8.5px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1.7px;
}

.signin-card h1,
.signup-card h1,
.auth-card h1 {
  margin-bottom: 9px !important;
  color: #164f80 !important;
  font-size: clamp(28px,7.6vw,34px) !important;
  font-weight: 800 !important;
  line-height: 1.06 !important;
  letter-spacing: -.65px !important;
}

.auth-title-gradient {
  color: #2589bd;
  background:
    linear-gradient(
      100deg,
      #19adc2,
      #258cc8 52%,
      #175f9a
    );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle,
.auth-subtitle {
  margin-bottom: 22px !important;
  color: #617a8d !important;
  font-size: 11.5px !important;
  line-height: 1.6 !important;
}

/* FORM */
.signin-card label,
.form-group label {
  color: #295a79 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  transition: color .22s ease;
}

.form-group:focus-within label {
  color: #1688ba !important;
}

.signin-card input[type="email"],
.signin-card input[type="text"],
.signin-card input[type="password"],
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  height: 49px !important;
  border: 1px solid rgba(116,164,191,.25) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.72) !important;
  color: #214f70 !important;
  box-shadow: inset 0 1px 2px rgba(27,76,109,.025) !important;
  transition:
    transform .22s ease,
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease !important;
}

.signin-card input:focus,
.form-group input:focus {
  transform: translateY(-2px);
  border-color: rgba(40,158,215,.64) !important;
  background: rgba(255,255,255,.98) !important;
  box-shadow:
    0 8px 22px rgba(40,137,188,.08),
    0 0 0 4px rgba(46,162,218,.09) !important;
}

.auth-field-filled {
  border-color: rgba(45,166,210,.34) !important;
  background: rgba(249,254,255,.95) !important;
}

/* SIGNUP CHECKS */
.form-group {
  position: relative;
}

.auth-field-check {
  position: absolute;
  right: 12px;
  bottom: 14px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg,#28bdd0,#3192d6);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  opacity: 0;
  transform: scale(.4);
  transition:
    opacity .24s ease,
    transform .38s cubic-bezier(.22,1.6,.36,1);
  pointer-events: none;
  z-index: 4;
}

.form-group.auth-complete .auth-field-check {
  opacity: 1;
  transform: scale(1);
}

.form-group.auth-complete > input {
  padding-right: 42px !important;
}

.form-group.auth-has-password .auth-field-check {
  right: 48px;
}

.form-group.auth-has-password .password-field input {
  padding-right: 78px !important;
}

/* SIGNUP PROGRESS */
.auth-progress {
  width: 100%;
  margin: -3px 0 22px;
  padding: 11px 13px;
  border: 1px solid rgba(73,157,201,.12);
  border-radius: 14px;
  background: rgba(239,250,254,.58);
  text-align: left;
}

.auth-progress-copy {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #688196;
  font-size: 9px;
  line-height: 1.2;
}

.auth-progress-copy span:first-child {
  color: #366d8d;
  font-weight: 750;
}

.auth-progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(113,164,192,.13);
}

.auth-progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,#25bdd0,#3295db);
  box-shadow: 0 0 12px rgba(42,158,214,.18);
  transition: width .4s cubic-bezier(.22,1,.36,1);
}

/* PASSWORD */
.password-toggle {
  color: #7390a0 !important;
  transition:
    transform .2s ease,
    color .2s ease,
    background .2s ease !important;
}

.password-toggle:active {
  transform: translateY(-50%) scale(.88) !important;
}

/* CTA */
.signin-btn,
.auth-submit-btn {
  position: relative;
  overflow: hidden;
  min-height: 49px !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg,#21b9ce,#3099db) !important;
  box-shadow: 0 11px 26px rgba(41,151,207,.17) !important;
}

.signin-btn::after,
.auth-submit-btn::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -45%;
  width: 30%;
  height: 220%;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.34),
      transparent
    );
  transform: rotate(17deg);
  animation: epAuthButtonSweep 5s ease-in-out infinite;
  pointer-events: none;
}

.signin-card.auth-ready .signin-btn,
.signup-card.auth-ready .auth-submit-btn {
  box-shadow: 0 14px 32px rgba(37,148,207,.24) !important;
  filter: saturate(1.08);
}

@keyframes epAuthButtonSweep {
  0%,68% { left: -45%; }
  100% { left: 125%; }
}

/* SECONDARY */
.google-auth-divider {
  margin: 18px 0 14px !important;
  color: #8da0ad !important;
  font-size: 9px !important;
}

.google-auth-divider::before,
.google-auth-divider::after {
  background: rgba(89,144,174,.12) !important;
}

.google-auth-block {
  padding: 4px;
  border-radius: 16px;
  transition: transform .22s ease, background .22s ease;
}

.google-auth-block:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.28);
}

.bottom-text,
.auth-bottom-text {
  color: #708493 !important;
  font-size: 10.5px !important;
}

.bottom-text a,
.auth-bottom-text a {
  color: #2475a2 !important;
  font-weight: 750 !important;
}

.guest-link {
  min-height: 34px !important;
  padding: 0 11px !important;
  border: 0 !important;
  background: transparent !important;
  color: #456f88 !important;
  font-size: 10px !important;
  box-shadow: none !important;
}

.guest-link:hover,
.guest-link:focus-visible {
  background: rgba(224,245,252,.54) !important;
}

.signup-card .form-group {
  margin-bottom: 13px !important;
}

.signup-card .auth-submit-btn {
  margin-top: 4px !important;
}

/* MOBILE */
@media (max-width: 520px) {
  body {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .signin-container,
  .auth-page {
    margin-top: 50px !important;
  }

  .signin-card,
  .signup-card,
  .auth-card {
    padding: 24px 20px 22px !important;
    border-radius: 25px !important;
  }

  .auth-play-visual {
    width: 80px;
    height: 68px;
  }

  .auth-mini-paper {
    width: 43px;
    height: 53px;
  }

  .signin-card h1,
  .signup-card h1,
  .auth-card h1 {
    font-size: 29px !important;
  }

  .subtitle,
  .auth-subtitle {
    max-width: 310px !important;
  }

  .name-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}

@media (max-width: 360px) {
  .signin-card,
  .signup-card,
  .auth-card {
    padding-left: 17px !important;
    padding-right: 17px !important;
  }

  .signin-card h1,
  .signup-card h1,
  .auth-card h1 {
    font-size: 27px !important;
  }

  .auth-progress-copy {
    font-size: 8.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .decor-left,
  .decor-right,
  .auth-play-visual,
  .auth-spark,
  .signin-btn::after,
  .auth-submit-btn::after {
    animation: none !important;
  }
}

