
/* =========================================
   GPP LENDING | PREMIUM GLASS LOGIN
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

#account.page.active {
  display: block !important;
  min-height: 100vh;
  padding: 30px 3% !important;
  box-sizing: border-box;
  font-family: 'Inter', Arial, sans-serif !important;

  background:
    linear-gradient(
      135deg,
      rgba(160, 202, 255, 0.12),
      rgba(222, 239, 255, 0.10)
    ),
    url("gpp-background.png") center center / cover no-repeat fixed !important;
}

/* THREE-COLUMN LAYOUT */
#account > .card {
  display: grid !important;
  grid-template-columns:
    minmax(250px, 0.9fr)
    minmax(440px, 1.55fr)
    minmax(250px, 0.9fr);
  align-items: center;
  gap: 24px;

  width: 100% !important;
  max-width: 1450px !important;
  min-height: 690px;
  margin: 0 auto !important;
  padding: 20px !important;
  box-sizing: border-box;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Hide old title above the login form */
#account > .card > h1,
#account > .card > p {
  display: none !important;
}

/* Disable old text-only side panels */
#account > .card::before,
#account > .card::after {
  content: none !important;
  display: none !important;
}

/* LEFT AND RIGHT GLASS PANELS */
#account .login-side-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;

  min-width: 0;
  padding: 25px 20px;
  box-sizing: border-box;

  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 26px;
  background: rgba(224, 240, 255, 0.32);
  box-shadow: 0 18px 45px rgba(20, 61, 120, 0.13);

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

#account .login-side-panel h2 {
  margin: 0 0 7px;
  color: #11366d;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

#account .login-side-panel p {
  margin: 0;
  color: #45658f;
  font-size: 13px;
  line-height: 1.6;
}

#account .login-side-brand {
  margin-bottom: 7px;
  padding: 8px 0 18px;
  border-bottom: 1px solid rgba(255,255,255,0.8);
}

#account .login-side-brand .eyebrow {
  margin-bottom: 10px;
  color: #3976d7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
}

#account .login-side-brand h2 {
  margin: 0 0 12px;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.8px;
}

#account .login-side-brand p {
  font-size: 13px;
}

/* INDIVIDUAL GLASS FEATURE CARDS */
#account .login-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 12px;

  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 20px;
  background: rgba(255,255,255,0.28);

  transition: background 0.2s, transform 0.2s;
}

#account .login-feature:hover {
  background: rgba(255,255,255,0.48);
  transform: translateY(-2px);
}

#account .login-feature-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;

  border: 1px solid rgba(255,255,255,0.95);
  border-radius: 15px;
  background: rgba(255,255,255,0.72);
  color: #1769df;
  font-size: 21px;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(37,99,235,0.10);
}

#account .login-feature h3 {
  margin: 2px 0 5px;
  color: #12366e;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 750;
}

#account .login-feature p {
  font-size: 12px;
  line-height: 1.55;
}

/* CENTER LOGIN PANEL */
#account #customerAuth,
#account #adminLoginPanel {
  grid-column: 2;
  grid-row: 1;
  align-self: center;

  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: clamp(24px, 3vw, 38px);

  border: 1px solid rgba(255,255,255,0.88);
  border-radius: 30px;
  background: rgba(239, 247, 255, 0.40) !important;
  box-shadow: 0 22px 55px rgba(19, 57, 113, 0.16);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* LOGO AND BRAND */
#account .login-brand {
  margin: 0 auto 24px !important;
  text-align: center;
}

#account .login-brand-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 13px;
  border-radius: 21px;
  background: linear-gradient(140deg, #3188ff, #1046a5);
  color: white;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(37,99,235,0.25);
}

#account .login-brand-name {
  margin: 0;
  color: #10366f !important;
  font-size: 29px !important;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.8px;
}

#account .login-brand-tagline {
  margin: 8px 0 0;
  color: #52709a !important;
  font-size: 13px;
}

/* CUSTOMER / ADMIN TABS */
#account .login-role-switch {
  display: flex;
  gap: 10px;
  margin: 0 0 24px;
}

#account .login-role-switch button {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  border-radius: 13px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
}

#account #customerAuth h2,
#account #adminLoginPanel h2 {
  margin: 0 0 20px;
  color: #153d78;
  font-size: 22px;
  letter-spacing: -0.4px;
}

/* FORM LABELS AND INPUTS */
#account #customerAuth label,
#account #adminLoginPanel label {
  display: block;
  margin: 0 0 16px;
  color: #173a6c;
  font-size: 13px;
  font-weight: 700;
}

#account #customerAuth input,
#account #adminLoginPanel input {
  display: block;
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  padding: 12px 14px;
  box-sizing: border-box;

  border: 1px solid rgba(179, 204, 238, 0.95);
  border-radius: 13px;
  background: rgba(255,255,255,0.86) !important;
  color: #18365f;
  font-family: inherit;
  font-size: 14px;
}

#account #customerAuth input:focus,
#account #adminLoginPanel input:focus {
  outline: none;
  border-color: #3984f6;
  box-shadow: 0 0 0 3px rgba(57,132,246,0.13);
}

/* FORM BUTTONS */
#account #customerAuth > button,
#account #adminLoginPanel > button {
  min-height: 46px;
  margin: 4px 4px 0 0;
  padding: 11px 15px;
  border-radius: 13px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
}

#account #customerAuth button.primary,
#account #adminLoginPanel button.primary {
  border: 1px solid #1763da;
  background: linear-gradient(135deg, #2e80f5, #1456cc);
  color: white;
  box-shadow: 0 8px 18px rgba(37,99,235,0.19);
}

/* RESPONSIVE TABLET */
@media (max-width: 1100px) {
  #account.page.active {
    padding: 18px !important;
    background-attachment: scroll !important;
  }

  #account > .card {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 620px !important;
    min-height: auto;
    gap: 16px;
  }

  #account .login-side-panel {
    display: none;
  }

  #account #customerAuth,
  #account #adminLoginPanel {
    grid-column: 1;
    grid-row: 1;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  #account.page.active {
    padding: 10px !important;
  }

  #account > .card {
    padding: 4px !important;
  }

  #account #customerAuth,
  #account #adminLoginPanel {
    padding: 23px 17px;
    border-radius: 23px;
  }

  #account .login-brand-name {
    font-size: 25px !important;
  }

  #account .login-role-switch {
    gap: 8px;
  }

  #account .login-role-switch button {
    padding: 9px 5px;
    font-size: 12px;
  }

  #account #customerAuth > button,
  #account #adminLoginPanel > button {
    width: 100%;
    margin: 5px 0;
  }
}


/* REMOVE EXTRA OUTER WHITE RECTANGLE */
#account > .card {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Keep only the three intended glass panels */
#account #customerAuth,
#account #adminLoginPanel {
  background: rgba(239, 247, 255, 0.40) !important;
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 22px 55px rgba(19, 57, 113, 0.16) !important;
}

/* Remove any old decorative white overlay */
#account > .card::before,
#account > .card::after {
  content: none !important;
  display: none !important;
}


/* REMOVE THE LARGE WHITE OUTER RECTANGLE */
#account > .card {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* REMOVE WHITE BACKGROUND FROM ACCOUNT WRAPPERS */
#account,
#account.page,
#account.page.active,
#account .container,
#account .account-container,
#account .auth-container {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* KEEP THE CENTER LOGIN AS FROSTED GLASS */
#account #customerAuth,
#account #adminLoginPanel {
  background: rgba(235, 245, 255, 0.38) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 20px 50px rgba(20, 55, 100, 0.12) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* KEEP THE SIDE PANELS TRANSPARENT */
#account .login-side-panel {
  background: rgba(220, 238, 255, 0.22) !important;
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  box-shadow: 0 16px 38px rgba(20, 55, 100, 0.10) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}


/* =========================================
   EXTRA-TRANSPARENT GLASS OVERRIDE
   GPP LENDING
========================================= */

/* Remove the milky white outer rectangle */
#account > .card {
  background: rgba(220, 238, 255, 0.025) !important;
  background-color: rgba(220, 238, 255, 0.025) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 15px 45px rgba(20, 55, 100, 0.05) !important;
  backdrop-filter: blur(1px) !important;
  -webkit-backdrop-filter: blur(1px) !important;
}

/* Make left and right cards visibly glassy */
#account .login-side-panel {
  background: rgba(220, 238, 255, 0.13) !important;
  border: 1px solid rgba(255, 255, 255, 0.52) !important;
  box-shadow:
    0 12px 32px rgba(20, 55, 100, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
  backdrop-filter: blur(5px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(5px) saturate(135%) !important;
}

/* Make the individual feature cards more transparent */
#account .login-feature {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.36) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
}

/* Make the center login card glass, not solid white */
#account #customerAuth,
#account #adminLoginPanel {
  background: rgba(226, 240, 255, 0.20) !important;
  border: 1px solid rgba(255, 255, 255, 0.58) !important;
  box-shadow:
    0 18px 48px rgba(20, 55, 100, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
  backdrop-filter: blur(7px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(7px) saturate(140%) !important;
}

/* Keep the input fields readable */
#account #customerAuth input,
#account #adminLoginPanel input {
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(255, 255, 255, 0.78) !important;
}

/* Subtle glass on the icon tiles */
#account .login-feature-icon {
  background: rgba(255, 255, 255, 0.48) !important;
  border-color: rgba(255, 255, 255, 0.68) !important;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.08) !important;
}


/* FINAL FIX: REMOVE WHITE BACKPLATE */
html body main #account.page.active > div.card {
  background: rgba(220, 238, 255, 0.015) !important;
  background-color: rgba(220, 238, 255, 0.015) !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  box-shadow: none !important;
  outline: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Keep only the three glass panels visible */
html body main #account.page.active > div.card > #customerAuth,
html body main #account.page.active > div.card > #adminLoginPanel,
html body main #account.page.active > div.card > .login-side-panel {
  background: rgba(220, 238, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.62) !important;
  box-shadow: 0 14px 38px rgba(20, 55, 100, 0.10) !important;
  backdrop-filter: blur(8px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(140%) !important;
}


/* GLASS EFFECT — CREATE CUSTOMER ACCOUNT */
html body main #account.page.active > .card > #customerRegister {
  background: rgba(220, 238, 255, 0.13) !important;
  background-color: rgba(220, 238, 255, 0.13) !important;

  border: 1px solid rgba(255, 255, 255, 0.62) !important;
  border-radius: 26px !important;

  box-shadow:
    0 18px 45px rgba(20, 55, 100, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;

  backdrop-filter: blur(8px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(145%) !important;

  padding: 32px !important;
  box-sizing: border-box;
}

/* Transparent inputs inside Create Customer Account */
html body main #account.page.active > .card > #customerRegister input,
html body main #account.page.active > .card > #customerRegister select,
html body main #account.page.active > .card > #customerRegister textarea {
  background: rgba(255, 255, 255, 0.24) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Mobile spacing */
@media (max-width: 600px) {
  html body main #account.page.active > .card > #customerRegister {
    padding: 22px 16px !important;
    border-radius: 20px !important;
  }
}


/* CREATE ACCOUNT VIEW: HIDE SIDE PANELS */
#account:has(#customerRegister:not(.hidden)) > .card > .login-side-panel {
  display: none !important;
}

/* Center the registration form */
#account:has(#customerRegister:not(.hidden)) > .card {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  min-height: 100vh !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Registration form glass card */
#account #customerRegister {
  width: 100% !important;
  max-width: 600px !important;
  margin: 20px auto !important;
  padding: 32px !important;
  box-sizing: border-box !important;

  background: rgba(220, 238, 255, 0.22) !important;
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  border-radius: 26px !important;
  box-shadow: 0 18px 45px rgba(20, 55, 100, 0.12) !important;

  backdrop-filter: blur(12px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
}


/* =========================================
   VERIFY EMAIL — CENTERED GLASS CARD
========================================= */

/* Hide the side panels while verifying email */
#account:has(#customerVerify:not(.hidden)) > .card > .login-side-panel {
  display: none !important;
}

/* Make the outer wrapper transparent and centered */
#account:has(#customerVerify:not(.hidden)) > .card {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 100vh !important;
  padding: 24px !important;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Glass effect for Verify Your Email */
#account #customerVerify {
  width: 100% !important;
  max-width: 540px !important;
  margin: 20px auto !important;
  padding: 34px !important;
  box-sizing: border-box !important;

  background: rgba(220, 238, 255, 0.20) !important;
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  border-radius: 26px !important;

  box-shadow:
    0 18px 45px rgba(20, 55, 100, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.30) !important;

  backdrop-filter: blur(12px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
}

/* Verification form fields */
#account #customerVerify input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.60) !important;
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  border-radius: 12px;
}

/* Mobile layout */
@media (max-width: 600px) {
  #account:has(#customerVerify:not(.hidden)) > .card {
    padding: 12px !important;
  }

  #account #customerVerify {
    padding: 24px 18px !important;
  }
}


/* =========================================
   GPP LENDING - RESET PASSWORD GLASS CARD
========================================= */

#account #customerResetPassword {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: 100%;
  max-width: 620px;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  box-sizing: border-box;

  color: #123b75;
  background: rgba(235, 245, 255, 0.48) !important;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(18, 55, 110, 0.18);

  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

#account #customerResetPassword h2 {
  color: #123b75;
  font-size: clamp(25px, 4vw, 34px);
  font-weight: 800;
  margin-top: 0;
}

#account #customerResetPassword p {
  color: #294e7b;
  line-height: 1.6;
}

#account #customerResetPassword label {
  display: block;
  margin: 18px 0 8px;
  color: #173b6b;
  font-weight: 700;
}

#account #customerResetPassword input {
  display: block;
  width: 100%;
  min-height: 52px;
  margin-top: 9px;
  padding: 13px 16px;
  box-sizing: border-box;

  color: #173b6b;
  background: rgba(255, 255, 255, 0.68) !important;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  outline-color: #3985ed;
}

#account #customerResetPassword button {
  width: 100%;
  min-height: 54px;
  margin-top: 22px;
  border-radius: 14px;
}

/* Mobile layout */
@media (max-width: 1050px) {
  #account #customerResetPassword {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    max-width: 650px;
  }
}

@media (max-width: 600px) {
  #account #customerResetPassword {
    padding: 22px 18px;
    border-radius: 22px;
  }
}


/* FORCE GLASS EFFECT ON PASSWORD RESET FORM */

#account #customerResetPassword:not(.hidden) {
  display: block !important;
  position: relative;
  z-index: 5;

  width: min(100%, 620px) !important;
  margin: 20px auto !important;
  padding: 28px !important;
  box-sizing: border-box !important;

  background: rgba(220, 238, 255, 0.30) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  border-radius: 28px !important;
  box-shadow: 0 20px 55px rgba(15, 55, 110, 0.20) !important;

  -webkit-backdrop-filter: blur(22px) saturate(160%) !important;
  backdrop-filter: blur(22px) saturate(160%) !important;
}

#account #customerResetPassword h2,
#account #customerResetPassword label,
#account #customerResetPassword p {
  color: #123b75 !important;
}

#account #customerResetPassword input {
  background: rgba(255, 255, 255, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 15px !important;
}

#account #customerResetPassword button {
  width: 100% !important;
  border-radius: 14px !important;
}



/* GPP BRAND LOGO — TIGHT SPACING */
.login-brand-image {
  display: block;
  width: 136px;
  height: 90px;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
  margin: 0 auto 4px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  flex: 0 0 auto;
}

