/* Standalone login appearance; authentication form contract is unchanged. */
:root { --navy: #102a43; --teal: #087f8c; }
* { box-sizing: border-box; }
body.bys-login { margin: 0; background: #fff; font-family: 'Segoe UI', Arial, sans-serif; color: #102a43; -webkit-font-smoothing: antialiased; }
.login-shell { display: grid; grid-template-columns: 49% 51%; min-height: 100svh; }
.login-story { background: #102a43; position: relative; overflow: hidden; padding: 46px 11%; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.login-brand { display: inline-flex; align-self: flex-start; background: #fff; padding: 17px 23px; border-radius: 4px; position: relative; z-index: 1; }
.login-brand img { width: 161px; height: auto; }
.story-content { position: relative; z-index: 1; padding: 72px 0 95px; }
.story-eyebrow { color: #6dd8df; font-size: 10px; font-weight: 600; letter-spacing: 2.5px; display: block; margin-bottom: 27px; }
.story-content h1 { font-size: clamp(32px, 3.4vw, 56px); font-weight: 600; line-height: 1.2; letter-spacing: -1.8px; color: #fff; margin: 0 0 26px; }
.story-content h1 span { color: #62d2d8; }
.story-content p { color: #bdd0de; font-size: 14px; line-height: 1.9; margin-bottom: 36px; }
.story-workflow { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; color: #dceaf2; }
.story-workflow span { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.story-workflow span i { color: #68cbd3; font-size: 14px; }
.story-workflow > i { color: #698495; font-size: 8px; }
.story-footer { position: relative; z-index: 1; font-size: 9px; letter-spacing: 1.4px; color: #a6c0d0; display: flex; align-items: center; gap: 12px; }
.story-line { display: inline-block; width: 24px; height: 2px; background: #21b7c2; }
.story-footer-separator { color: #507187; }
.story-shape { position: absolute; z-index: -1; pointer-events: none; clip-path: polygon(0 0,100% 50%,0 100%); }
.shape-one { width: 500px; height: 600px; right: -295px; bottom: -150px; background: #17b4c21a; transform: rotate(15deg); }
.shape-two { width: 400px; height: 470px; right: -250px; bottom: -115px; background: #33cad322; transform: rotate(15deg); }
.shape-three { width: 240px; height: 300px; right: -160px; top: 45px; border: 1px solid #ffffff10; background: #ffffff03; transform: rotate(195deg); }
.login-form-side { min-width: 0; display: flex; flex-direction: column; padding: 46px 10% 30px; background: radial-gradient(ellipse at 100% 100%, #f0f8fa 0, transparent 45%), #fff; }
.login-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 8px; letter-spacing: 1.2px; color: #728397; }
.login-product { color: #294459; font-size: 10px; letter-spacing: .8px; white-space: nowrap; }
.login-product b { color: #087f8c; font-weight: 600; }
.login-card { width: 100%; max-width: 405px; margin: auto; padding: 40px 0; }
.login-symbol { width: 45px; height: 45px; display: grid; place-items: center; background: #edf8f8; border: 1px solid #d4eeef; color: #087f8c; border-radius: 11px; font-size: 18px; margin-bottom: 26px; }
.login-eyebrow { display: block; font-size: 9px; letter-spacing: 1.7px; font-weight: 600; color: #087f8c; margin-bottom: 12px; }
.login-logo h2 { font-size: clamp(24px,2.1vw,32px); font-weight: 650; letter-spacing: -1px; line-height: 1.25; margin-bottom: 12px; }
.login-logo p { color: #687c8e; font-size: 13px; margin-bottom: 32px; line-height: 1.6; }
.login-card .form-label { color: #314b60; font-size: 12px; font-weight: 600; margin-bottom: 9px; }
.login-card .form-control { min-height: 49px; border: 1px solid #d3dfe8; border-radius: 7px; font-size: 13px; padding: 13px 15px; background: #fcfdfe; color: #102a43; }
.login-card .form-control::placeholder { color: #7b8c9b; font-size: 12px; }
.login-card .form-control:focus { border-color: #168f9b; background: #fff; box-shadow: 0 0 0 3px #168f9b14; }
.login-card .mb-3 { margin-bottom: 21px !important; }
.login-card .form-check { font-size: 12px; color: #526a7c; }
.login-card .form-check-input:checked { background-color: #087f8c; border-color: #087f8c; }
.login-card a { color: #087580; font-size: 12px; }
.login-card a:hover { text-decoration: underline !important; }
.login-card .btn-primary-custom { background: #087f8c; border: 1px solid #087f8c; min-height: 49px; border-radius: 7px; font-size: 13px; font-weight: 600; padding: 13px 20px; box-shadow: 0 4px 10px #087f8c16; transition: background .15s; }
.login-card .btn-primary-custom:hover { background: #066b76; border-color: #066b76; }
.login-card .btn-primary-custom i { float: right; margin-top: 3px; font-size: 12px; }
.login-card .text-center { margin-top: 23px !important; }
.login-card .text-center small { color: #788a9b !important; font-size: 10px; }
.login-card .alert { font-size: 13px; border-radius: 7px; }
.login-footer { display: flex; justify-content: space-between; gap: 12px; color: #718599; font-size: 9px; letter-spacing: .5px; }
.login-footer span { letter-spacing: 0; }
.bys-login :is(a,button,input):focus-visible { outline: 3px solid #1aa0ae; outline-offset: 3px; }
@media (min-width: 1700px) { .login-story { padding-left: 14%; padding-right: 10%; } .login-card { max-width: 440px; } }
@media (max-width: 1100px) { .login-story { padding: 35px 8%; } .login-form-side { padding: 35px 8% 26px; } .login-topline > span:first-child { display: none; } .story-content h1 { font-size: 36px; } .story-workflow { gap: 10px; } }
@media (max-width: 767.98px) {
    .login-shell { display: block; }
    .login-story { padding: 22px 25px 28px; }
    .login-brand { padding: 10px 15px; }
    .login-brand img { width: 121px; }
    .story-content { padding: 27px 0 0; }
    .story-eyebrow { font-size: 8px; letter-spacing: 1.8px; margin-bottom: 13px; }
    .story-content h1 { font-size: 29px; letter-spacing: -.9px; margin-bottom: 0; }
    .story-content p, .story-workflow, .story-footer { display: none; }
    .login-form-side { padding: 25px 25px 20px; }
    .login-topline { display: none; }
    .login-card { padding: 8px 0 33px; max-width: 420px; }
    .login-symbol { display: none; }
    .login-eyebrow { font-size: 8px; margin-bottom: 10px; }
    .login-logo h2 { font-size: 26px; }
    .login-logo p { margin-bottom: 24px; }
    .login-footer { max-width: 420px; width: 100%; margin: auto; }
}
@media (prefers-reduced-motion: reduce) { .login-card .btn-primary-custom { transition: none; } }
