* { box-sizing: border-box; }
body.pkg-login { margin: 0; color: #15283d; background: #f7f9fc; font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
a { color: #225d90; text-decoration: none; }
a:hover { text-decoration: underline; }
.login-shell { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, 40%); }
.login-visual { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 48px 64px; color: #fff; isolation: isolate; background: #122d44; }
.login-visual::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('../assets/img/pelindo_bg.jpg') center / cover no-repeat; }
.login-visual::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(7, 30, 49, .86), rgba(12, 36, 54, .34)), linear-gradient(0deg, rgba(6, 24, 39, .65), transparent 65%); }
.visual-brand { display: flex; align-items: center; gap: 14px; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 1.5px; width: fit-content; }
.visual-brand:hover { color: #fff; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 58px; height: 58px; background: rgba(255,255,255,.94); border-radius: 14px; }
.brand-mark img { object-fit: contain; }
.visual-brand small { display: block; margin-top: 6px; font-size: 9px; letter-spacing: 2.3px; font-weight: 500; opacity: .7; }
.visual-message { padding: 72px 0; }
.eyebrow { font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: 2.2px; margin: 0 0 24px; }
.visual-message h1 { font-size: clamp(48px, 5.3vw, 84px); font-weight: 600; line-height: 1.13; letter-spacing: -3px; margin: 0 0 30px; }
.visual-message h1 span { display: block; }
.visual-message h1 .quote-lead { color: #fff; font-weight: 700; margin-bottom: 20px; }
.visual-message h1 .quote-support, .visual-message h1 .quote-signature { font-size: .66em; line-height: 1.25; letter-spacing: -.03em; font-weight: 400; }
.visual-message h1 .quote-support { color: #d7e2ea; }
.visual-message h1 .quote-signature { color: #a5cbd2; }
.visual-description { font-size: 14px; line-height: 1.9; color: #d0dce6; margin: 0; }
.visual-footer { display: flex; align-items: center; gap: 16px; font-size: 9px; letter-spacing: 1.5px; color: #d1dee7; }
.visual-line { width: 40px; height: 1px; background: #a9c6d3; }
.login-panel { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: rgba(255,255,255,.97); padding: 42px clamp(30px, 4vw, 72px) 26px; box-shadow: -16px 0 60px rgba(10,31,48,.08); }
.panel-top, .panel-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.back-home { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #607184; }
.back-home-arrow { display: inline-block; flex: 0 0 18px; width: 18px; height: 18px; background-color: currentColor; -webkit-mask: url('../assets/icons/heroicons/arrow-left.svg') center / contain no-repeat; mask: url('../assets/icons/heroicons/arrow-left.svg') center / contain no-repeat; }
.developer-credit { display: inline-flex; align-items: center; gap: 7px; color: #607184; white-space: nowrap; padding: 5px 0; }
.developer-credit:hover { color: #194e77; }
.panel-brand { font-size: 12px; font-weight: 700; letter-spacing: .6px; }
.panel-brand span { font-weight: 400; color: #758599; }
.access-badge { color: #66788c; background: #f0f4f7; font-size: 9px; font-weight: 600; letter-spacing: 1px; border: 1px solid #e5ebf0; padding: 6px 9px; border-radius: 5px; }
.login-content { width: 100%; max-width: 400px; margin: auto; padding: 65px 0; }
.panel-eyebrow { color: #54758d; margin-bottom: 14px; letter-spacing: 1.4px; }
.login-content h2 { font-size: clamp(25px, 2.2vw, 33px); line-height: 1.25; letter-spacing: -1px; margin: 0 0 14px; font-weight: 600; }
.login-intro { color: #778596; font-size: 13px; line-height: 1.8; margin: 0 0 34px; }
.login-field { margin-bottom: 22px; }
.login-field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 9px; }
.login-input { width: 100%; min-height: 48px; padding: 12px 14px; background: #fff; border: 1px solid #dce3eb; border-radius: 8px; color: #263c51; font-size: 13px; transition: border-color .15s, box-shadow .15s; }
.login-input::placeholder { color: #9aa6b4; }
select.login-input { font-size: 11px; padding-right: 28px; }
.login-input:focus { outline: none; border-color: #3679ac; box-shadow: 0 0 0 3px rgba(54,121,172,.12); }
.login-input.is-invalid { border-color: #c6414e; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 52px; }
.password-toggle { position: absolute; right: 3px; top: 2px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: #5d7184; cursor: pointer; }
.password-eye { width: 20px; height: 20px; background-color: currentColor; -webkit-mask: url('../assets/icons/heroicons/eye.svg') center / contain no-repeat; mask: url('../assets/icons/heroicons/eye.svg') center / contain no-repeat; }
.password-toggle[aria-pressed="true"] .password-eye { -webkit-mask-image: url('../assets/icons/heroicons/eye-slash.svg'); mask-image: url('../assets/icons/heroicons/eye-slash.svg'); }
.remember-row { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #607184; cursor: pointer; margin: 2px 0 24px; }
.remember-row input { accent-color: #194e77; width: 15px; height: 15px; margin: 0; }
.login-submit { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 49px; padding: 12px 17px; border: 1px solid #163f60; border-radius: 8px; background: #194e77; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s; }
.login-submit:hover { background: #123e61; }
.login-submit:disabled { opacity: .65; cursor: wait; }
.login-submit .arrow { font-size: 20px; font-weight: 400; }
.login-submit-icon { display: inline-block; flex: 0 0 20px; width: 20px; height: 20px; background-color: currentColor; -webkit-mask: url('../assets/icons/heroicons/arrow-right.svg') center / contain no-repeat; mask: url('../assets/icons/heroicons/arrow-right.svg') center / contain no-repeat; }
.login-status { min-height: 18px; margin: 12px 0 0; font-size: 11px; line-height: 1.6; color: #718397; }
.login-status[data-state="error"], .invalid-feedback { color: #b63242; }
.invalid-feedback { display: block; font-size: 11px; line-height: 1.5; margin-top: 7px; }
.login-alert { border-left: 3px solid #c6414e; background: #fff4f5; padding: 12px; margin-bottom: 20px; color: #a92939; font-size: 12px; line-height: 1.6; }
.recovery-success { border-left: 3px solid #398477; background: #eff8f4; color: #265e52; padding: 14px; margin-bottom: 24px; font-size: 12px; line-height: 1.7; }
.recovery-success p { margin: 6px 0 0; }
.login-links { margin-top: 18px; font-size: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.panel-footer { padding-top: 20px; border-top: 1px solid #edf1f5; color: #8a97a5; font-size: 10px; }
button:focus-visible, a:focus-visible { outline: 3px solid #73a8ce; outline-offset: 3px; }
@media (max-width: 1050px) { .login-visual { padding: 36px; } .login-shell { grid-template-columns: minmax(0, 1fr) 440px; } .visual-message h1 { letter-spacing: -2px; font-size: 52px; } }
@media (max-width: 760px) { .login-shell { display: flex; flex-direction: column; } .login-visual { padding: 24px; min-height: 215px; } .login-visual::before { background-image: none; } .visual-brand { font-size: 11px; gap: 10px; } .brand-mark { width: 38px; height: 38px; border-radius: 9px; } .brand-mark img { width: 29px; height: 29px; } .visual-brand small { font-size: 7px; margin-top: 3px; } .visual-message { padding: 24px 0 4px; } .visual-message .eyebrow, .visual-description, .visual-footer { display: none; } .visual-message h1 { font-size: 30px; letter-spacing: -.8px; margin: 0; line-height: 1.25; } .visual-message h1 br { display: none; } .visual-message h1 br::after { content: ' '; } .login-panel { min-height: calc(100svh - 215px); padding: 28px 24px 20px; } .panel-top { display: none; } .login-content { padding: 8px 0 35px; } .login-content h2 { font-size: 27px; } .login-intro { margin-bottom: 26px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
