/* Only the authentication layout. Odoo owns all forms and authentication. */
body.jpb-auth-body { background: #FFFFFF !important; color: #1C1916 !important; }
body.jpb-auth-body #wrapwrap { height: auto !important; min-height: 100svh; overflow: visible !important; }
body.jpb-auth-body #wrapwrap > header,
body.jpb-auth-body #wrapwrap > footer,
body.jpb-auth-body .jpb-whatsapp-float { display: none !important; }
body.jpb-auth-body #wrapwrap > main { padding: 0 !important; margin: 0 !important; }
#jpb-auth { --auth-ink: #1C1916; --auth-gold: #8C6634; --auth-line: #DDD5CA; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(440px, 1fr); min-height: 100svh; font-family: 'IBM Plex Sans', sans-serif; font-size: 20px; line-height: 1.5; }
#jpb-auth *, #jpb-auth *::before, #jpb-auth *::after { box-sizing: border-box; }
#jpb-auth a { text-decoration: none; }
#jpb-auth a:focus-visible, #jpb-auth button:focus-visible { outline: 2px solid var(--auth-gold); outline-offset: 4px; }
#jpb-auth .auth-skip { position: absolute; z-index: 10; top: 12px; left: 16px; padding: 12px 18px; color: var(--auth-ink); background: #FFFFFF; transform: translateY(-200%); }
#jpb-auth .auth-skip:focus { transform: translateY(0); }
#jpb-auth .auth-scene { position: sticky; top: 0; min-height: 760px; height: 100svh; overflow: hidden; background: #0A0806; color: #F5F0EA; }
#jpb-auth .auth-brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 22px; margin: 36px 8%; color: #F5F0EA; }
#jpb-auth .auth-brand img { width: 64px; height: 64px; object-fit: contain; }
#jpb-auth .auth-brand > span { font-size: 14px; font-weight: 600; letter-spacing: .12em; }
#jpb-auth .auth-brand small { display: block; margin-top: 6px; color: #D0A36B; font-size: 14px; letter-spacing: .09em; }
#jpb-auth .auth-statement { position: relative; z-index: 1; margin: clamp(24px, 5vh, 64px) 8% 0; pointer-events: none; }
#jpb-auth .auth-eyebrow { margin: 0 0 22px; color: var(--auth-gold); font-size: 14px; font-weight: 600; letter-spacing: .18em; }
#jpb-auth .auth-scene .auth-eyebrow { color: #D0A36B; }
#jpb-auth .auth-display { margin: 0; color: #F5F0EA; font-size: clamp(42px, 4.5vw, 74px); font-weight: 600; line-height: .99; letter-spacing: -.055em; }
#jpb-auth .auth-display span { color: #D0A36B; }
#jpb-auth .auth-scene-copy { margin-top: 22px; color: #F5F0EA; font-size: 20px; line-height: 1.7; }
#jpb-auth .auth-city { position: absolute; left: -27%; bottom: 6%; width: 160%; max-width: none; height: 58%; object-fit: contain; object-position: center; pointer-events: none; mask-image: linear-gradient(to bottom, transparent, #FFFFFF 12%, #FFFFFF 88%, transparent); }
#jpb-auth .auth-scene-caption { position: absolute; bottom: 32px; left: 8%; right: 8%; display: flex; justify-content: space-between; gap: 16px; margin: 0; color: #F5F0EA; font-size: 14px; letter-spacing: .12em; }
#jpb-auth .auth-scene-caption span { color: #D0A36B; }
#jpb-auth .auth-panel { min-width: 0; min-height: 100svh; display: flex; flex-direction: column; padding: 40px clamp(32px, 5vw, 80px) 28px; background: #FFFFFF; }
#jpb-auth .auth-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 16px; }
#jpb-auth .auth-top a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--auth-ink); }
#jpb-auth .auth-top a:hover, #jpb-auth .auth-footer a:hover { color: var(--auth-gold); }
#jpb-auth .auth-back > span { font-size: 22px; line-height: 1; color: var(--auth-gold); }
#jpb-auth .auth-content { width: 100%; max-width: 400px; margin: auto; padding: 52px 0; outline: none; }
#jpb-auth .auth-content h1 { color: var(--auth-ink); margin: 0; font-family: inherit; font-size: 46px; font-weight: 600; line-height: 1.02; letter-spacing: -.045em; }
#jpb-auth .auth-intro { margin: 20px 0 30px; color: #6E665E; font-size: 20px; line-height: 1.6; }
#jpb-auth .oe_website_login_container { width: 100%; max-width: none; padding: 0; margin: 0; }
#jpb-auth .oe_login_form, #jpb-auth .oe_signup_form, #jpb-auth .oe_reset_password_form { width: 100%; max-width: none; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--auth-ink); }
#jpb-auth .oe_website_login_container label { color: var(--auth-ink) !important; font-family: inherit; font-size: 16px; font-weight: 500; margin-bottom: 8px; }
#jpb-auth .oe_website_login_container .form-control { min-height: 50px; padding: 12px 14px; border: 1px solid var(--auth-line) !important; border-radius: 2px !important; background: #FFFFFF !important; color: var(--auth-ink) !important; font-family: inherit; font-size: 20px; line-height: 1.4; box-shadow: none !important; }
#jpb-auth .oe_website_login_container .form-control::placeholder { color: #6E665E; opacity: 1; }
#jpb-auth .oe_website_login_container .form-control:focus { border-color: var(--auth-gold) !important; outline: 2px solid var(--auth-gold); outline-offset: 2px; box-shadow: none !important; }
#jpb-auth .oe_website_login_container .form-control:autofill { -webkit-text-fill-color: var(--auth-ink); box-shadow: 0 0 0 1000px #F4F1EC inset !important; }
#jpb-auth .oe_website_login_container .input-group { isolation: isolate; }
#jpb-auth .oe_website_login_container .input-group .form-control { border-radius: 2px 0 0 2px !important; }
#jpb-auth .oe_website_login_container .o_show_password { width: 50px; min-height: 50px; border: 1px solid var(--auth-line) !important; border-left: 0 !important; border-radius: 0 2px 2px 0; background: #F4F1EC; color: #2F2A25; }
#jpb-auth .oe_website_login_container .btn { font-family: inherit; box-shadow: none; }
#jpb-auth .oe_website_login_container .btn-primary { min-height: 50px; padding: 12px 18px; color: #F5F0EA !important; background: #1C1916 !important; border: 1px solid #1C1916 !important; border-radius: 2px; font-size: 20px; font-weight: 500; transition: background-color .18s, color .18s; }
#jpb-auth .oe_website_login_container .btn-primary:hover { color: #1C1916 !important; background: #D0A36B !important; border-color: #D0A36B !important; }
#jpb-auth .oe_website_login_container .btn:disabled { cursor: wait; opacity: .6; }
#jpb-auth .oe_website_login_container .btn-link { color: var(--auth-gold) !important; font-size: 16px; padding: 0 0 8px; text-decoration: underline; text-underline-offset: 3px; }
#jpb-auth .oe_website_login_container a[href*="odoo.com"] { opacity: 1 !important; }
#jpb-auth .oe_website_login_container .o_login_auth em { color: #6E665E !important; font-style: normal; font-size: 16px; }
#jpb-auth .oe_website_login_container .o_login_auth .list-group { gap: 9px; }
#jpb-auth .oe_website_login_container .list-group-item { min-height: 48px; padding: 10px 15px !important; border: 1px solid var(--auth-line); border-radius: 2px !important; background: #FFFFFF; color: var(--auth-ink); font-size: 16px; }
#jpb-auth .oe_website_login_container .list-group-item:hover { background: #F4F1EC; border-color: var(--auth-gold); }
#jpb-auth .oe_website_login_container .alert { margin: 20px 0 0; padding: 14px 16px; border: 1px solid var(--auth-line); border-radius: 2px; background: #F4F1EC; color: var(--auth-ink); font-size: 20px; line-height: 1.5; }
#jpb-auth .oe_website_login_container .alert-danger { border-color: #763F2E; color: #763F2E; }
#jpb-auth .oe_website_login_container .text-muted { color: #6E665E !important; }
#jpb-auth .oe_website_login_container .o_caps_lock_warning_text { color: #763F2E !important; font-size: 16px; }
#jpb-auth .oe_website_login_container .o_user_switch_btn { color: var(--auth-gold) !important; font-size: 14px; }
#jpb-auth .oe_website_login_container .o_user_switch { max-width: 100%; color: var(--auth-ink); }
#jpb-auth .auth-footer { display: flex; justify-content: space-between; gap: 20px; width: 100%; padding-top: 20px; border-top: 1px solid var(--auth-line); color: #6E665E; font-size: 14px; }
#jpb-auth .auth-footer a { color: var(--auth-ink); }
#jpb-auth .auth-footer a span { color: var(--auth-gold); padding-left: 8px; }
@media (min-width: 901px) and (max-height: 850px) {
  #jpb-auth .auth-content { padding: 28px 0; }
  #jpb-auth .auth-content h1 { font-size: 38px; }
  #jpb-auth .auth-content .auth-eyebrow { margin-bottom: 14px; }
  #jpb-auth .auth-intro { margin: 14px 0 24px; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  #jpb-auth { grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr); }
  #jpb-auth .auth-brand { gap: 14px; }
  #jpb-auth .auth-brand > span { font-size: 14px; }
  #jpb-auth .auth-brand small { font-size: 14px; }
  #jpb-auth .auth-display { font-size: 42px; }
}
@media (max-width: 900px) {
  #jpb-auth { display: block; }
  #jpb-auth .auth-scene { position: relative; height: 178px; min-height: 0; }
  #jpb-auth .auth-brand { margin: 28px 24px; gap: 14px; }
  #jpb-auth .auth-brand img { width: 54px; height: 54px; }
  #jpb-auth .auth-brand > span { font-size: 14px; }
  #jpb-auth .auth-brand small { font-size: 14px; }
  #jpb-auth .auth-statement { display: none; }
  #jpb-auth .auth-city { left: auto; right: -38px; bottom: -102px; width: 390px; height: 260px; object-fit: contain; mask-image: linear-gradient(to bottom, transparent 25%, #FFFFFF 57%); }
  #jpb-auth .auth-scene-caption { bottom: 22px; left: 24px; right: 24px; font-size: 14px; }
  #jpb-auth .auth-scene-caption span { display: none; }
  #jpb-auth .auth-panel { min-height: calc(100svh - 178px); padding: 12px 24px 24px; }
  #jpb-auth .auth-top { font-size: 14px; }
  #jpb-auth .auth-content { padding: 26px 0 36px; }
  #jpb-auth .auth-content .auth-eyebrow { margin-bottom: 16px; }
  #jpb-auth .auth-content h1 { font-size: 36px; }
  #jpb-auth .auth-content h1 br { display: none; }
  #jpb-auth .auth-content h1 br::after { content: ' '; }
  #jpb-auth .auth-intro { margin: 14px 0 24px; }
  #jpb-auth .auth-footer { font-size: 14px; }
}
@media (max-width: 380px) {
  #jpb-auth .auth-content h1 { font-size: 30px; }
  #jpb-auth .auth-brand > span { font-size: 14px; letter-spacing: .06em; }
  #jpb-auth .auth-brand small { font-size: 14px; }
  #jpb-auth .auth-panel { padding-left: 20px; padding-right: 20px; }
  #jpb-auth .auth-footer { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #jpb-auth *, #jpb-auth *::before, #jpb-auth *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Legibility takes precedence over micro typography. */
#jpb-auth .auth-brand > span, #jpb-auth .auth-brand small { font-size:14px; letter-spacing:.03em; }
#jpb-auth .auth-top, #jpb-auth .auth-footer { font-size:16px; }
#jpb-auth .auth-eyebrow, #jpb-auth .auth-scene-caption { font-size:14px; letter-spacing:.08em; }
#jpb-auth .auth-content { max-width:440px; }
#jpb-auth .auth-intro { font-size:20px; }
#jpb-auth .oe_website_login_container .btn-primary, #jpb-auth .oe_website_login_container .list-group-item { font-size:18px; }
#jpb-auth .oe_website_login_container .btn-link { font-size:16px; }
#jpb-auth .oe_website_login_container .o_user_switch_btn { font-size:14px; }
#jpb-auth .oe_website_login_container .o_login_auth em { font-size:16px; }
#jpb-auth .auth-scene-caption { flex-wrap:wrap; }
@media (max-width:1100px) and (min-width:901px) {
  #jpb-auth .auth-brand { gap:12px; margin-left:6%; margin-right:6%; }
  #jpb-auth .auth-brand > span { max-width:250px; }
}
@media (max-width:900px) {
  #jpb-auth .auth-brand > span { font-size:14px; max-width:245px; }
  #jpb-auth .auth-brand small { font-size:14px; }
  #jpb-auth .auth-top { gap:14px; font-size:16px; }
  #jpb-auth .auth-footer { flex-wrap:wrap; gap:12px; }
  #jpb-auth .auth-content { padding-top:28px; }
}
@media (max-width:380px) {
  #jpb-auth .auth-brand { margin-left:20px; gap:12px; }
  #jpb-auth .auth-brand > span { max-width:190px; }
  #jpb-auth .auth-top { flex-wrap:wrap; gap:0 16px; }
}
