/* Dark sign-in panel and office photograph, matching the supplied reference. */
#signin.auth { display: block; min-height: 0; }
.customer-auth-main { padding: 44px 5% 62px; background: radial-gradient(ellipse at 80% 0, #e1ecff, transparent 65%), #f5f8ff; }
.customer-auth-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); max-width: 1140px; margin: 0 auto; min-height: 660px; border: 1px solid #d5e1f2; border-radius: 18px; overflow: hidden; background: #051326; box-shadow: 0 24px 70px #1739671a; }
.customer-auth-content { display: flex; flex-direction: column; min-width: 0; padding: 32px 43px 27px; color: #d6e3f4; background: radial-gradient(ellipse at 0 100%, #0b315035, transparent 70%), #041326; }
.customer-auth-topline { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; max-width: 400px; margin: 0 auto 31px; }
.customer-auth-topline .brand { padding: 4px 8px; border-radius: 6px; background: #fff; }
.customer-auth-topline .brand-logo { width: 138px; height: auto; }
.customer-auth-topline > a:last-child { color: #8eb6ef; font-size: var(--text-meta); font-weight: 600; line-height: 1.6; white-space: nowrap; }
.customer-auth-topline > a:last-child:hover { color: #c7dfff; }
.customer-auth-form-area { width: 100%; max-width: 400px; min-width: 0; margin: auto; }
.customer-auth-content form:not(.hidden) { display: flex; flex-direction: column; gap: 15px; }
.customer-auth-content .hidden { display: none !important; }
.customer-auth-content .animate-auth-fade-up { opacity: 1; animation: none; }
.customer-auth-content h1 { margin: 0; color: #f5f8fe; font-size: var(--text-subsection); font-weight: 650; line-height: 1.2; letter-spacing: -1px; }
.customer-auth-content form > div:first-of-type > p { color: #9aafca; font-size: var(--text-secondary); line-height: 1.75; margin: 7px 0 0; }
.customer-auth-content label:not(#remember-label) { display: block; margin: 0 0 7px; color: #d6e3f3; font-size: var(--text-label); font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.5; }
.customer-auth-content input[type="email"], .customer-auth-content input[type="password"], .customer-auth-content input[type="text"] { display: block; width: 100%; min-height: 49px; margin: 0; padding: 12px 14px; border: 1px solid #263d57; border-radius: 7px; background: #081a30; color: #e6effb; font-family: inherit; font-size: var(--text-input); line-height: 1.5; box-shadow: none; }
.customer-auth-content #login_email, .customer-auth-content #password, .customer-auth-content #recover_email { padding-left: 43px; }
.customer-auth-content #password { padding-right: 44px; }
.customer-auth-content input::placeholder { color: #8fa5c0; opacity: 1; }
.customer-auth-content input:focus { outline: 2px solid #4988ef80; outline-offset: 1px; border-color: #5790e6; box-shadow: none; }
.customer-auth-content input.border-red-500 { border-color: #f08aa4; box-shadow: 0 0 0 2px #f08aa41c; }
.customer-auth-content #toggle-password { color: #9db6d1; }
.customer-auth-content #toggle-password[aria-pressed="true"] { color: #94c0ff; }
.customer-auth-content #remember-label { color: #bdcee3; font-size: var(--text-meta); font-weight: 500; line-height: 1.6; }
.customer-auth-content #rememberToggle { background: #28425f; }
.customer-auth-content #rememberToggle[data-on="true"] { background: #256bf0; }
.customer-auth-content #to-recover, .customer-auth-content #back-to-login { color: #8db9ff; font-size: var(--text-meta); line-height: 1.6; }
.customer-auth-content #to-recover:hover, .customer-auth-content #back-to-login:hover { color: #c2dcff; }
.customer-auth-content #loginform > p.text-xs { color: #91a8c6; font-size: var(--text-meta); line-height: 1.7; }
.customer-auth-content button[type="submit"] { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 49px; border: 1px solid #2e74ff; border-radius: 7px; background: #105df1; color: #fff; font-size: var(--text-button); font-weight: 600; letter-spacing: 0; line-height: 1.5; box-shadow: 0 6px 20px #0053eb1c; }
.customer-auth-content button[type="submit"]:hover { background: #2872f6; transform: none; }
.customer-auth-content button[type="submit"]:disabled { opacity: .7; cursor: wait; }
.customer-auth-content .customer-auth-signup { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #a1b6d0; font-size: var(--text-meta); text-align: center; line-height: 1.7; margin: 3px 0 0; }
.customer-auth-signup a { color: #8db9ff; font-weight: 600; }
.customer-auth-signup a:hover { color: #c5dfff; }
.customer-auth-privacy { align-self: center; display: inline-flex; margin-top: 27px; padding: 5px; color: #9cb1cc; font-size: var(--text-meta); line-height: 1.6; }
.customer-auth-privacy:hover { color: #cbdfff; }
.customer-auth-workspace { padding: 10px 13px; margin-bottom: 22px; border: 1px solid #315173; border-radius: 7px; background: #0b2540; color: #9cbbdf; font-size: var(--text-meta); line-height: 1.7; }
.customer-auth-workspace strong { display: block; color: #d5e8ff; font-size: var(--text-button); font-weight: 600; overflow-wrap: anywhere; }
.customer-auth-content #captcha_container { max-width: 100%; overflow-x: auto; }
.customer-auth-content [role="alert"] { border-color: #7d4252; background: #361e2d; }
.customer-auth-content [role="alert"] p, .customer-auth-content [role="alert"] svg { color: #ffd0dd; }
.customer-auth-content #recoverform [role="status"] { border-color: #396a5c; background: #15392e; }
.customer-auth-content #recoverform [role="status"] p { color: #c0f2dd; }
.customer-auth-story { position: relative; display: flex; align-items: flex-end; min-width: 0; min-height: 660px; overflow: hidden; background: #102942; padding: 44px 40px; color: #fff; }
.customer-auth-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.customer-auth-story::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #03112503 30%, #03112533 50%, #020c1bd9 100%); pointer-events: none; }
.customer-auth-story-copy { position: relative; z-index: 1; }
.customer-auth-eyebrow { display: block; color: #d8e7fa; font-size: var(--text-eyebrow); font-weight: 600; letter-spacing: .17em; line-height: 1.6; }
.customer-auth-story h2 { max-width: 410px; margin: 12px 0 0; color: #f5f9ff; font-size: var(--text-section); font-weight: 650; line-height: 1.12; letter-spacing: -1.2px; text-shadow: 0 2px 16px #020b1e55; }
.customer-auth-rule { display: block; width: 44px; height: 3px; background: #3982ff; margin: 22px 0 18px; }
.customer-auth-story-copy > p { margin: 0; color: #e1ebf8; font-size: var(--text-body); line-height: 1.8; }
/* Standalone sign-in preview uses the same card and remains disconnected from accounts. */
.customer-auth-content .form-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0; }
.customer-auth-content .form-options label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: var(--text-meta); }
.customer-auth-content .form-options input[type="checkbox"] { width: 14px; height: 14px; margin: 0; }
.customer-auth-content .text-button { color: #8db9ff; font-size: var(--text-meta); }
.customer-auth-content .password-field { position: relative; }
.customer-auth-content .password-field input { padding-right: 42px; }
.customer-auth-content .reveal { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); padding: 5px; background: transparent; border: 0; color: #adc4e2; }
.customer-auth-content .form-status { color: #adc4e2; margin: 0; }
.customer-auth-content .form-status:empty { display: none; }
@media (max-width: 1000px) {
  .customer-auth-content { padding: 30px 29px 25px; }
  .customer-auth-story { padding: 37px 30px; }
}
@media (max-width: 820px) {
  .customer-auth-main { padding: 30px 6% 42px; }
  .customer-auth-shell { grid-template-columns: 1fr; max-width: 580px; min-height: 0; border-radius: 14px; }
  .customer-auth-content { padding: 28px 30px 25px; }
  .customer-auth-story { min-height: 340px; padding: 32px; }
  .customer-auth-photo { object-position: center 35%; }
  .customer-auth-topline { margin-bottom: 31px; }
  .customer-auth-story h2 { font-size: 34px; }
}
@media (max-width: 420px) {
  .customer-auth-main { padding: 24px 4% 34px; }
  .customer-auth-content { padding: 25px 22px 23px; }
  .customer-auth-topline .brand-logo { width: 123px; }
  .customer-auth-topline { gap: 12px; }
  .customer-auth-story { min-height: 310px; padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) { .customer-auth-content * { animation: none !important; transition: none !important; } }
