/* Login-only stylesheet: shared account pages keep their existing layout. */
html, body { background: #f8fafc; }
body .form, body .content-wrapper, body .content { height: auto; min-height: 100%; padding: 0; }
body .app-header, body #footerWrapper { display: none !important; }
body #pageContent { padding: 0 !important; }
.erp-login-page { display: grid; grid-template-columns: 53% 47%; min-height: 100vh; min-height: 100svh; color: #172b43; font-family: 'Segoe UI', Arial, sans-serif; }
.erp-login-page *, .erp-login-page *::before, .erp-login-page *::after { box-sizing: border-box; }
.erp-brand-panel { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; min-height: 100svh; padding: 48px 9%; color: #fff; background: radial-gradient(ellipse at 85% 75%, #215775, transparent 65%), #0b243e; }
.erp-bg-video, .erp-brand-overlay { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.erp-bg-video { object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.erp-bg-video.is-loaded { opacity: 1; }
.erp-brand-overlay { z-index: -1; background: linear-gradient(135deg, rgba(5, 25, 47, .94), rgba(9, 37, 62, .66) 60%, rgba(7, 25, 43, .85)); }
.erp-brand-header { display: flex; align-items: center; gap: 16px; }
.erp-logo { object-fit: contain; flex-shrink: 0; padding: 5px; border-radius: 14px; background: #fffaf3; border: 1px solid rgba(223, 139, 53, .4); box-shadow: 0 4px 18px rgba(0, 0, 0, .12); }
.erp-brand-name { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.3px; }
.erp-brand-company { display: block; margin-top: 6px; color: #bccbd9; font-size: 12px; }
.erp-brand-message { padding: 80px 0; }
.erp-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #f9b773; }
.erp-brand-message h1 { font-size: clamp(32px, 3.5vw, 54px); font-weight: 600; letter-spacing: -1.8px; line-height: 1.18; margin: 24px 0; }
.erp-brand-message p { font-size: 15px; line-height: 1.85; color: #d0dce7; margin: 0; }
.erp-brand-rule { width: 48px; height: 3px; background: #ed963f; margin: 36px 0 22px; }
.erp-brand-caption { font-size: 10px; letter-spacing: 1.3px; line-height: 1.8; color: #c3d1de; }
.erp-brand-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #c3d1de; font-size: 12px; }
.erp-brand-bottom strong { color: #fff; font-weight: 600; }
#erp-video-toggle { border: 1px solid #6e859a; border-radius: 5px; background: transparent; padding: 7px 10px; font: inherit; color: #e7eff6; cursor: pointer; }
#erp-video-toggle[hidden] { display: none; }
#erp-video-toggle:focus-visible { outline: 2px solid #f9b773; outline-offset: 4px; }
.erp-signin-panel { display: flex; flex-direction: column; justify-content: space-between; padding: 52px clamp(28px, 5vw, 88px) 32px; border-top: 4px solid #df8b35; background: radial-gradient(ellipse at 100% 0%, rgba(223, 139, 53, .15), transparent 58%), linear-gradient(160deg, #fff 55%, #fff8ef); }
.erp-login-card { width: 100%; max-width: 400px; margin: auto; padding: 48px 0; }
.erp-login-card::before { content: ''; display: block; width: 40px; height: 3px; margin-bottom: 22px; border-radius: 2px; background: #df8b35; }
.erp-eyebrow-dark { color: #846032; font-size: 10px; letter-spacing: 1.8px; }
.erp-login-card h2 { margin: 16px 0 10px; color: #132b45; font-size: clamp(25px, 2.2vw, 32px); line-height: 1.25; font-weight: 600; letter-spacing: -.8px; }
.erp-signin-intro { color: #667589; font-size: 14px; line-height: 1.6; margin: 0 0 32px; }
.erp-form { width: 100%; }
.erp-form .dxflItemSys { width: 100%; }
.erp-form [class*="dxflCaption"] { color: #304258; font-size: 13px; font-weight: 600; }
.erp-form [class*="dxflCLLSys"] { padding-bottom: 8px !important; }
.erp-form [class*="dxflNestedControlCell"] { padding-bottom: 20px !important; }
.erp-form .erp-input { background: #fff; border: 1px solid #ccd5df !important; border-radius: 6px; height: 48px; transition: border-color .15s, box-shadow .15s; }
.erp-form .erp-input:focus-within { border-color: #df8b35 !important; box-shadow: 0 0 0 3px rgba(223, 139, 53, .15); }
.erp-form .erp-input input { font-family: inherit; font-size: 16px !important; color: #172b43; background: transparent; }
.erp-form .erp-input td[class*="dxic"] { padding: 10px 12px !important; }
.erp-form .erp-submit { min-height: 48px; border-radius: 6px; background: #123c63 !important; border: 1px solid #123c63 !important; color: #fff !important; font-family: inherit; font-size: 14px; font-weight: 600; box-shadow: 0 3px 7px rgba(18, 60, 99, .12); }
.erp-form .erp-submit:hover { background: #1c4f7c !important; }
.erp-form .erp-submit:focus-within { outline: 3px solid #8fb5d5; outline-offset: 3px; }
.erp-form .erp-submit [class*="dxb"] { color: inherit; }
.erp-error:empty { display: none; }
.erp-error:not(:empty) { padding: 12px 14px; margin-bottom: 16px; color: #a52c32; border: 1px solid #edc7c9; border-radius: 6px; background: #fff5f5; font-size: 13px; line-height: 1.5; }
.erp-help { border-left: 3px solid #df8b35; border-radius: 0 6px 6px 0; background: rgba(223, 139, 53, .08); margin-top: 28px; padding: 14px 16px; font-size: 12px; line-height: 1.7; color: #68778a; }
.erp-help strong { font-weight: 600; color: #35485d; }
.erp-help p { margin: 4px 0 0; }
.erp-access-note { color: #69778a; font-size: 11px; line-height: 1.6; margin: 24px 0 0; }
.erp-footer { color: #718095; font-size: 11px; line-height: 1.8; text-align: center; }
.erp-footer span { display: block; }
@media (min-width: 1500px) { .erp-brand-panel { padding: 56px 11%; } }
@media (max-width: 1000px) { .erp-login-page { grid-template-columns: 46% 54%; } .erp-brand-panel { padding: 36px 8%; } .erp-brand-header { gap: 10px; } .erp-logo { width: 58px; height: 58px; } .erp-brand-name { font-size: 15px; } .erp-desktop-break { display: none; } .erp-brand-message h1 { letter-spacing: -1px; } }
@media (max-width: 720px) { .erp-login-page { display: flex; flex-direction: column; } .erp-brand-panel { min-height: auto; padding: 22px 24px; } .erp-brand-header { gap: 12px; } .erp-logo { width: 54px; height: 54px; border-radius: 10px; padding: 3px; } .erp-brand-name { font-size: 16px; } .erp-brand-message, .erp-brand-bottom, .erp-bg-video { display: none; } .erp-signin-panel { flex: 1; padding: 28px 24px 22px; } .erp-login-card { margin: auto; padding: 16px 0 36px; } .erp-login-card h2 { font-size: 28px; } }
@media (prefers-reduced-motion: reduce) { .erp-bg-video { display: none; transition: none; } .erp-form .erp-input { transition: none; } }
