/* =========================================================
   LOGIN PAGE
   Target: original First Credit Merchant login screen
   ========================================================= */

/* ---------------------------------------------------------
   RIGHT LOGIN PANEL
   --------------------------------------------------------- */

body {
  min-height: 100vh;
  overflow-x: hidden;
}

/* Right half */
body > .w-full {
  min-height: 100vh;
}

/*
 * The right-side container generated by login/form.ejs
 */
.lg\:w-1\/2.flex.flex-col.justify-center.items-center {
  padding: 40px 55px;
}

/* ---------------------------------------------------------
   LOGIN CONTENT WIDTH
   --------------------------------------------------------- */

#login-form {
  width: 100%;
}

/*
 * Parent containing card + terms
 */
#login-form,
#login-form input,
#login-form button {
  font-family: "Lato", sans-serif;
}

/* ---------------------------------------------------------
   LOGIN CARD
   --------------------------------------------------------- */

/*
 * Give the card the compact proportions visible
 * in the target screenshot.
 */
#login-form {
  max-width: 100%;
}

#login-form input {
  height: 54px;
}

/*
 * Card containing the form
 *
 * :has() targets the white rounded card that contains
 * #login-form without changing the EJS structure.
 */
.bg-white.rounded-2xl:has(#login-form) {
  width: 100%;
  max-width: 455px;

  border-radius: 16px;

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

  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.08),
    0 3px 10px rgba(15, 23, 42, 0.04);
}

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.bg-white.rounded-2xl:has(#login-form) h2 {
  font-size: 25px;
  line-height: 1.25;

  font-weight: 700;

  color: #374151;

  text-align: left;
}

.bg-white.rounded-2xl:has(#login-form) h2 + p {
  max-width: 390px;

  margin-top: 12px;

  font-size: 15px;
  line-height: 1.5;

  color: #64748b;

  text-align: left;
}

/* ---------------------------------------------------------
   FORM LABELS
   --------------------------------------------------------- */

#login-form label {
  font-size: 14px;
  color: #64748b;
}

/*
 * Username label in the reference sits toward the right side.
 */
#login-form label[for="email"] {
  display: block;
  text-align: right;

  padding-right: 2px;
}

/* Password row */
#login-form label[for="password"] {
  text-align: left;
}

/* ---------------------------------------------------------
   INPUTS
   --------------------------------------------------------- */

#login-form input[type="text"],
#login-form input[type="email"],
#login-form input[type="password"] {
  width: 100%;

  min-height: 54px;

  border: 1px solid #cbd5e1;
  border-radius: 8px;

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

  color: #475569;

  font-size: 15px;

  outline: none;

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

#login-form input[type="text"]:focus,
#login-form input[type="email"]:focus,
#login-form input[type="password"]:focus {
  border-color: #94a3b8;

  box-shadow: 0 0 0 3px rgba(3, 45, 63, 0.08);
}

/* Placeholder */
#login-form input::placeholder {
  color: #8da0ba;
}

/* ---------------------------------------------------------
   INPUT ICONS
   --------------------------------------------------------- */

#login-form .input-icon {
  left: 16px;

  color: #8da0ba;
}

#login-form .input-icon svg {
  width: 20px;
  height: 20px;

  stroke-width: 2;
}

/* ---------------------------------------------------------
   FORGOT PASSWORD
   --------------------------------------------------------- */

#login-form a[href="/forgot-password"] {
  color: #52647c;

  font-size: 14px;

  text-decoration: none;
}

#login-form a[href="/forgot-password"]:hover {
  color: #032d3f;
}

/* ---------------------------------------------------------
   PASSWORD TOGGLE
   --------------------------------------------------------- */

#password-toggle {
  border: 0;

  background: transparent;

  color: #8da0ba;

  cursor: pointer;

  outline: none;
}

#password-toggle svg {
  width: 20px;
  height: 20px;
}

/* ---------------------------------------------------------
   REMEMBER ME
   --------------------------------------------------------- */

#login-form input[type="checkbox"] {
  width: 15px;
  height: 15px;

  accent-color: #4f8fd8;

  cursor: pointer;
}

#login-form input[type="checkbox"] + span {
  color: #64748b;

  font-size: 14px;
}

/* ---------------------------------------------------------
   SIGN IN BUTTON
   --------------------------------------------------------- */

#login-form button[type="submit"] {
  width: 100%;

  min-height: 51px;

  border: 0;
  border-radius: 7px;

  background: #566b82;

  color: #ffffff;

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

  box-shadow: none;

  cursor: pointer;

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

#login-form button[type="submit"]:hover {
  background: #475d74;
}

#login-form button[type="submit"]:active {
  transform: translateY(1px);
}

/* ---------------------------------------------------------
   CREATE ACCOUNT BUTTON
   --------------------------------------------------------- */

#login-form a[href="/register"] {
  width: 100%;

  min-height: 51px;

  display: flex;

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

  margin-top: 14px;

  border-radius: 7px;

  background: #f8fafc;

  color: #8191a8;

  font-size: 15px;
  font-weight: 400;

  text-decoration: none;

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

#login-form a[href="/register"]:hover {
  background: #f1f5f9;

  color: #52647c;
}

#login-form a[href="/register"] svg {
  color: #8191a8;
}

/* ---------------------------------------------------------
   TERMS BELOW CARD
   --------------------------------------------------------- */

#login-form ~ * {
  font-size: 13px;
}

a[href="/terms"],
a[href="/privacy"] {
  text-decoration: none;
}

/* ---------------------------------------------------------
   LEFT BRANDING PANEL
   --------------------------------------------------------- */

/*
 * Keep a true half-screen split like the target.
 */
@media (min-width: 1024px) {
  .lg\:w-1\/2 {
    width: 50%;
  }

  /*
     * Target has the form higher than perfect vertical center.
     */
  .lg\:w-1\/2.flex.flex-col.justify-center.items-center {
    justify-content: flex-start;

    padding-top: 70px;
    padding-bottom: 40px;
  }

  /*
     * Login content column
     */
  .lg\:w-1\/2.flex.flex-col.justify-center.items-center > .w-full.max-w-md {
    max-width: 455px;
  }
}

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 1023px) {
  body {
    background: #f8fafc;
  }

  .bg-white.rounded-2xl:has(#login-form) {
    max-width: 480px;

    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .bg-white.rounded-2xl:has(#login-form) h2 {
    font-size: 22px;
  }

  #login-form input[type="text"],
  #login-form input[type="email"],
  #login-form input[type="password"] {
    min-height: 50px;
  }

  #login-form button[type="submit"],
  #login-form a[href="/register"] {
    min-height: 48px;
  }
}
/* ---------------------------------------------------------
   CREATE ACCOUNT
   Matches original stacked layout
   --------------------------------------------------------- */

.enrole {
  display: inline;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  color: #64748b;
  /* width: 100%; */
  background: transparent;
  color: #032d3f;
}
#login-form .create-account-link {
  /* display: block; */

  width: 100%;

  margin-top: 18px;

  padding: 0;

  background: transparent;
  border: 0;
  border-radius: 0;

  color: #64748b;

  font-size: 15px;
  font-weight: 400;

  line-height: 1.5;

  text-align: left;

  text-decoration: none;
}

#login-form .create-account-icon {
  width: 23px;
  height: 23px;

  margin-bottom: 12px;

  color: #64748b;

  stroke-width: 1.7;
}

/* #login-form .create-account-link span {
  display: block;
} */

#login-form .create-account-link:hover {
  background: transparent;
  color: #032d3f;
}

#login-form .create-account-link:hover .create-account-icon {
  color: #032d3f;
}
/* =========================================================
   LOGIN PAGE
   MOBILE ONLY
   Do not affect desktop layout
========================================================= */

@media (max-width: 639px) {
  /* =======================================================
     PAGE
  ======================================================= */

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

    overflow-x: hidden;

    background: #f8fafc;
  }

  /*
   * Login form side.
   *
   * On mobile this becomes the complete visible page
   * because the branding panel uses hidden lg:flex.
   */

  body > .w-full.lg\:w-1\/2 {
    width: 100%;
    min-height: 100vh;

    display: block;

    padding: 28px 18px max(32px, env(safe-area-inset-bottom));

    box-sizing: border-box;
  }

  /* =======================================================
     MAIN CONTENT WIDTH
  ======================================================= */

  body > .w-full.lg\:w-1\/2 > .w-full.max-w-md {
    width: 100%;
    max-width: 430px;

    margin: 0 auto;
  }

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

  body > .w-full.lg\:w-1\/2 .lg\:hidden.text-center {
    width: 100%;

    margin: 0 auto 26px;

    text-align: center;
  }

  body > .w-full.lg\:w-1\/2 .lg\:hidden.text-center a {
    display: inline-flex;

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

  body > .w-full.lg\:w-1\/2 .lg\:hidden.text-center img {
    display: block;

    width: min(260px, 72vw);
    height: auto;

    max-width: 100%;

    margin: 0 auto;

    object-fit: contain;
  }

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

  body > .w-full.lg\:w-1\/2 .bg-white.rounded-2xl {
    width: 100%;
    max-width: 100%;

    margin: 0;

    border-radius: 22px;

    background: #ffffff;

    box-shadow:
      0 18px 42px rgba(15, 23, 42, 0.1),
      0 4px 12px rgba(15, 23, 42, 0.04);

    overflow: hidden;

    box-sizing: border-box;
  }

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

  body > .w-full.lg\:w-1\/2 .bg-white.rounded-2xl > .px-8.pt-8.pb-6 {
    padding: 30px 24px 18px;
  }

  body > .w-full.lg\:w-1\/2 .bg-white.rounded-2xl h2 {
    margin: 0;

    font-size: clamp(28px, 8vw, 36px);

    line-height: 1.18;

    font-weight: 700;

    letter-spacing: -0.025em;

    color: #111827;

    text-align: left;
  }

  body > .w-full.lg\:w-1\/2 .bg-white.rounded-2xl h2 + p {
    margin-top: 14px;

    font-size: 16px;
    line-height: 1.55;

    color: #64748b;

    text-align: left;
  }

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

  body > .w-full.lg\:w-1\/2 .bg-white.rounded-2xl > .px-8.pb-8 {
    padding: 10px 24px 28px;
  }

  #customer-login-form {
    width: 100%;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
  }

  /* =======================================================
     FIELD SPACING
  ======================================================= */

  #customer-login-form .mb-6 {
    margin-bottom: 20px;
  }

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

  #customer-login-form label {
    font-size: 15px;

    line-height: 1.35;

    color: #374151;
  }

  #customer-login-form label[for="email"],
  #customer-login-form label[for="password"] {
    display: block;

    padding: 0;

    text-align: left;
  }

  /* =======================================================
     PASSWORD LABEL ROW
  ======================================================= */

  #customer-login-form .flex.items-center.justify-between.mb-2 {
    gap: 12px;

    margin-bottom: 10px;
  }

  #customer-login-form a[href="/forgot-password"] {
    flex-shrink: 0;

    color: #032d3f;

    font-size: 14px;

    white-space: nowrap;

    text-decoration: none;
  }

  /* =======================================================
     INPUT WRAPPER
  ======================================================= */

  #customer-login-form .input-wrapper {
    width: 100%;
  }

  #customer-login-form .input-wrapper > .relative {
    position: relative;

    width: 100%;
  }

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

  #customer-login-form input[type="text"],
  #customer-login-form input[type="email"],
  #customer-login-form input[type="password"] {
    width: 100%;
    height: 58px;
    min-height: 58px;

    margin: 0;

    padding-top: 0;
    padding-bottom: 0;

    border: 1px solid #d1d5db;

    border-radius: 12px;

    background: #ffffff;

    color: #1f2937;

    font-size: 16px;

    line-height: 58px;

    box-sizing: border-box;

    outline: none;

    -webkit-appearance: none;
    appearance: none;
  }

  #customer-login-form input[type="text"],
  #customer-login-form input[type="email"] {
    padding-left: 52px;
    padding-right: 16px;
  }

  #customer-login-form input[type="password"] {
    padding-left: 52px;
    padding-right: 52px;
  }

  #customer-login-form input::placeholder {
    color: #a0a9b8;

    opacity: 1;
  }

  #customer-login-form input[type="text"]:focus,
  #customer-login-form input[type="email"]:focus,
  #customer-login-form input[type="password"]:focus {
    border-color: #52736f;

    box-shadow: 0 0 0 3px rgba(3, 45, 63, 0.08);
  }

  /* =======================================================
     INPUT ICONS
  ======================================================= */

  #customer-login-form .input-icon {
    position: absolute;

    top: 50%;
    left: 17px;

    z-index: 2;

    display: flex;

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

    width: 22px;
    height: 22px;

    color: #9aa6b7;

    transform: translateY(-50%);

    pointer-events: none;
  }

  #customer-login-form .input-icon svg {
    width: 22px;
    height: 22px;

    stroke-width: 1.8;
  }

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

  #customer-login-form #password-toggle {
    position: absolute;

    top: 0;
    right: 0;

    width: 52px;
    height: 58px;

    display: flex;

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

    padding: 0;

    border: 0;

    background: transparent;

    color: #9aa6b7;

    cursor: pointer;
  }

  #customer-login-form #password-toggle svg {
    width: 22px;
    height: 22px;
  }

  /* =======================================================
     REMEMBER ME
  ======================================================= */

  #customer-login-form input[type="checkbox"] {
    width: 20px;
    height: 20px;

    margin: 0;

    flex: 0 0 20px;

    accent-color: #032d3f;
  }

  #customer-login-form input[type="checkbox"] + span {
    margin-left: 10px;

    color: #4b5563;

    font-size: 15px;
  }

  /* =======================================================
     SIGN-IN BUTTON
  ======================================================= */

  #customer-login-form button[type="submit"] {
    width: 100%;
    height: 58px;
    min-height: 58px;

    display: flex;

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

    gap: 9px;

    padding: 0 20px;

    border: 0;
    border-radius: 12px;

    background: #082f3f;

    color: #ffffff;

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

    line-height: 1;

    box-shadow: 0 8px 18px rgba(8, 47, 63, 0.13);
  }

  #customer-login-form button[type="submit"] svg {
    width: 22px;
    height: 22px;
  }

  /* =======================================================
     CREATE ACCOUNT
  ======================================================= */

  #customer-login-form a[href="/register"] {
    width: 100%;
    min-height: auto;

    display: flex;

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

    gap: 8px;

    margin: 2px 0 0;

    padding: 6px 0;

    border: 0;

    background: transparent;

    color: #6b7280;

    font-size: 15px;

    line-height: 1.4;

    text-align: center;

    text-decoration: none;

    box-shadow: none;
  }

  #customer-login-form a[href="/register"]:hover {
    background: transparent;

    color: #032d3f;
  }

  #customer-login-form a[href="/register"] svg {
    width: 21px;
    height: 21px;

    flex-shrink: 0;

    color: #64748b;
  }

  #customer-login-form a[href="/register"] .text-primary-600 {
    color: #032d3f;
  }

  /* =======================================================
     TERMS BELOW CARD
  ======================================================= */

  body > .w-full.lg\:w-1\/2 .w-full.max-w-md > .mt-8.text-center {
    width: 100%;
    max-width: 370px;

    margin: 24px auto 0;

    padding: 0 8px max(20px, env(safe-area-inset-bottom));

    box-sizing: border-box;
  }

  body > .w-full.lg\:w-1\/2 .w-full.max-w-md > .mt-8.text-center p {
    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.65;
  }

  body > .w-full.lg\:w-1\/2 .w-full.max-w-md > .mt-8.text-center a {
    color: #032d3f;

    font-weight: 600;

    text-decoration: none;
  }
}

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

@media (max-width: 374px) {
  body > .w-full.lg\:w-1\/2 {
    padding-left: 14px;
    padding-right: 14px;
  }

  body > .w-full.lg\:w-1\/2 .bg-white.rounded-2xl > .px-8.pt-8.pb-6 {
    padding: 25px 20px 16px;
  }

  body > .w-full.lg\:w-1\/2 .bg-white.rounded-2xl > .px-8.pb-8 {
    padding: 8px 20px 24px;
  }

  body > .w-full.lg\:w-1\/2 .bg-white.rounded-2xl h2 {
    font-size: 27px;
  }

  body > .w-full.lg\:w-1\/2 .lg\:hidden.text-center img {
    width: min(215px, 68vw);
  }

  #customer-login-form a[href="/forgot-password"] {
    font-size: 13px;
  }

  #customer-login-form a[href="/register"] {
    font-size: 14px;
  }
}
/* =========================================================
   LOGIN PAGE (FIXED FOR MOBILE VIEWS)
   Target: original First Credit Merchant login screen
   ========================================================= */

/* ---------------------------------------------------------
   BASE & BODY
   --------------------------------------------------------- */

body {
  min-height: 100vh;
  overflow-x: hidden;
  margin: 0;
  background: #f8fafc;
  font-family: "Lato", sans-serif;
}

body > .w-full {
  min-height: 100vh;
}

/* ---------------------------------------------------------
   CONTAINER & MOBILE PADDING FIX
   --------------------------------------------------------- */

/* Fix: The desktop padding was previously applying globally to mobile screens, 
   causing severe horizontal squishing. Now scoped properly for mobile first. */
.lg\:w-1\/2.flex.flex-col.justify-center.items-center {
  width: 100%;
  padding: 24px 16px;
}

#login-form {
  width: 100%;
  max-width: 100%;
  font-family: "Lato", sans-serif;
}

#login-form input,
#login-form button {
  font-family: "Lato", sans-serif;
}

/* ---------------------------------------------------------
   LOGIN CARD
   --------------------------------------------------------- */

.bg-white.rounded-2xl:has(#login-form) {
  width: 100%;
  max-width: 455px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.08),
    0 3px 10px rgba(15, 23, 42, 0.04);
}

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.bg-white.rounded-2xl:has(#login-form) h2 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: #374151;
  text-align: left;
}

.bg-white.rounded-2xl:has(#login-form) h2 + p {
  max-width: 100%;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
  text-align: left;
}

/* ---------------------------------------------------------
   FORM LABELS
   --------------------------------------------------------- */

#login-form label {
  font-size: 14px;
  color: #64748b;
}

#login-form label[for="email"] {
  display: block;
  text-align: left;
}

@media (min-width: 640px) {
  #login-form label[for="email"] {
    text-align: right;
    padding-right: 2px;
  }
}

#login-form label[for="password"] {
  text-align: left;
}

/* ---------------------------------------------------------
   INPUTS
   --------------------------------------------------------- */

#login-form input[type="text"],
#login-form input[type="email"],
#login-form input[type="password"] {
  width: 100%;
  min-height: 50px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
  color: #475569;
  font-size: 15px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

@media (min-width: 640px) {
  #login-form input[type="text"],
  #login-form input[type="email"],
  #login-form input[type="password"] {
    min-height: 54px;
  }
}

#login-form input[type="text"]:focus,
#login-form input[type="email"]:focus,
#login-form input[type="password"]:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(3, 45, 63, 0.08);
}

#login-form input::placeholder {
  color: #8da0ba;
}

/* ---------------------------------------------------------
   INPUT ICONS
   --------------------------------------------------------- */

#login-form .input-icon {
  left: 16px;
  color: #8da0ba;
}

#login-form .input-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* ---------------------------------------------------------
   FORGOT PASSWORD
   --------------------------------------------------------- */

#login-form a[href="/forgot-password"] {
  color: #52647c;
  font-size: 14px;
  text-decoration: none;
}

#login-form a[href="/forgot-password"]:hover {
  color: #032d3f;
}

/* ---------------------------------------------------------
   PASSWORD TOGGLE
   --------------------------------------------------------- */

#password-toggle {
  border: 0;
  background: transparent;
  color: #8da0ba;
  cursor: pointer;
  outline: none;
}

#password-toggle svg {
  width: 20px;
  height: 20px;
}

/* ---------------------------------------------------------
   REMEMBER ME
   --------------------------------------------------------- */

#login-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #4f8fd8;
  cursor: pointer;
}

#login-form input[type="checkbox"] + span {
  color: #64748b;
  font-size: 14px;
}

/* ---------------------------------------------------------
   SIGN IN BUTTON
   --------------------------------------------------------- */

#login-form button[type="submit"] {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 7px;
  background: #566b82;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

@media (min-width: 640px) {
  #login-form button[type="submit"] {
    min-height: 51px;
  }
}

#login-form button[type="submit"]:hover {
  background: #475d74;
}

#login-form button[type="submit"]:active {
  transform: translateY(1px);
}

/* ---------------------------------------------------------
   CREATE ACCOUNT LINK / BUTTON
   --------------------------------------------------------- */

#login-form a[href="/register"] {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  border-radius: 7px;
  background: #f8fafc;
  color: #8191a8;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

@media (min-width: 640px) {
  #login-form a[href="/register"] {
    min-height: 51px;
  }
}

#login-form a[href="/register"]:hover {
  background: #f1f5f9;
  color: #52647c;
}

#login-form a[href="/register"] svg {
  color: #8191a8;
}

/* ---------------------------------------------------------
   TERMS BELOW CARD
   --------------------------------------------------------- */

#login-form ~ * {
  font-size: 13px;
}

a[href="/terms"],
a[href="/privacy"] {
  text-decoration: none;
}

/* ---------------------------------------------------------
   DESKTOP SPLIT VIEW & MEDIA QUERY OVERRIDES
   --------------------------------------------------------- */

@media (min-width: 1024px) {
  .lg\:w-1\/2 {
    width: 50%;
  }

  .lg\:w-1\/2.flex.flex-col.justify-center.items-center {
    justify-content: flex-start;
    padding-top: 70px;
    padding-bottom: 40px;
    padding-left: 55px;
    padding-right: 55px;
  }

  .lg\:w-1\/2.flex.flex-col.justify-center.items-center > .w-full.max-w-md {
    max-width: 455px;
  }

  .bg-white.rounded-2xl:has(#login-form) h2 {
    font-size: 25px;
  }
}

/* ---------------------------------------------------------
   ADDITIONAL UTILITIES & STACKED LAYOUTS
   --------------------------------------------------------- */

.enrole {
  display: inline;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  background: transparent;
  color: #032d3f;
}

#login-form .create-account-link {
  width: 100%;
  margin-top: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #64748b;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
}

#login-form .create-account-icon {
  width: 23px;
  height: 23px;
  margin-bottom: 12px;
  color: #64748b;
  stroke-width: 1.7;
}

#login-form .create-account-link:hover {
  background: transparent;
  color: #032d3f;
}

#login-form .create-account-link:hover .create-account-icon {
  color: #032d3f;
}
/* Force login submit button to be fully visible and styled correctly */
#customer-login-form button[type="submit"] {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  min-height: 48px !important;
  background-color: #032d3f !important; /* fallback primary color */
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
}

#customer-login-form button[type="submit"]:hover {
  background-color: #011d2c !important;
}
