
:root{color-scheme:dark;--text:#f4f9ff;--glow:#087cda;--button:#0067ed}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text)}body{background:#041a38;font-size:14px}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--text);outline-offset:4px}.scene{position:relative;isolation:isolate;min-height:100svh;display:flex;flex-direction:column;overflow:hidden}.wallpaper{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 18% 5%,rgba(8,124,218,0.26),transparent 60%),radial-gradient(ellipse at 85% 90%,rgba(8,124,218,0.24),transparent 60%)}.waves{position:absolute;inset:0;width:100%;height:100%;opacity:0.85}.brand{position:absolute;left:42px;top:32px;display:flex;align-items:center;gap:23px;z-index:2}.brand img{width:140px;height:auto;}.brand div{border-left:1px solid rgba(244,249,255,0.6);padding-left:23px;line-height:1.3;font-size:19px;font-weight:600}.content{flex:1;min-height:100svh;display:flex;align-items:center;justify-content:center;padding:125px 24px 95px}.glass{width:450px;max-width:100%;padding:36px;border-radius:52px;background:linear-gradient(130deg,rgba(145,202,250,0.4),rgba(145,202,250,0.2));border:1px solid rgba(244,249,255,0.6);box-shadow:inset 0 1px 2px rgba(244,249,255,0.45),inset 0 -2px 18px rgba(8,124,218,0.25),0 20px 65px rgba(0,0,0,0.38);backdrop-filter:blur(30px) saturate(145%);-webkit-backdrop-filter:blur(30px) saturate(145%);transform:translate(0px,0px)}h1{font-size:23px;letter-spacing:-.8px;line-height:1.2;text-align:center;margin:0 0 8px;font-weight:650}.subtitle{margin:0 0 28px;text-align:center;color:rgba(244,249,255,0.87);line-height:1.5;font-size:14px}label{display:block;margin:15px 0 7px;font-size:14px;font-weight:500}.input{position:relative}input,select{width:100%;height:43px;border-radius:17px;border:1px solid rgba(244,249,255,0.35);background:rgba(145,202,250,0.17);box-shadow:inset 0 1px 4px rgba(244,249,255,0.12);color:var(--text);padding:0 14px;outline:none;font-size:14px}input:focus,select:focus{border-color:rgba(244,249,255,0.85);box-shadow:0 0 0 3px rgba(8,124,218,0.25)}input::placeholder{color:rgba(244,249,255,0.48)}select{padding-right:24px}select option{background:#041a38;color:var(--text)}.eye{position:absolute;right:7px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--text);width:36px;height:36px;display:grid;place-items:center}.eye svg{width:19px;height:19px}.password{padding-right:48px}.help{display:block;margin:18px 0 0 auto;background:transparent;border:0;color:var(--text);text-decoration:underline;font-size:13px}.enter{height:45px;width:100%;border-radius:17px;background:linear-gradient(180deg,#0067ed,rgba(0,103,237,0.7));border:1px solid rgba(244,249,255,0.22);box-shadow:inset 0 1px 2px rgba(244,249,255,0.3),0 7px 18px #0002;color:var(--text);font-weight:600;font-size:16px;margin-top:24px}.enter:hover{filter:brightness(1.13)}.security{display:flex;align-items:center;justify-content:center;gap:9px;font-size:13px;margin:20px 0 0;color:rgba(244,249,255,0.9)}.security svg{width:17px;height:17px}.footer{display:block;position:absolute;bottom:24px;left:20px;right:20px;text-align:center;font-size:12px;color:rgba(244,249,255,0.85)}.feedback{font-size:12px;line-height:1.5;background:rgba(4,26,56,0.7);padding:12px;border-radius:10px;margin-top:15px}.feedback[hidden]{display:none}.preview-label{display:block;text-align:center;font-size:10px;color:rgba(244,249,255,0.55);margin:18px 0 0}@media(max-width:760px){.brand{left:22px;top:22px;gap:14px}.brand img{width:95px}.brand div{font-size:13px;padding-left:14px}.content{padding:115px 20px 85px}.glass{transform:none;width:min(450px,100%);padding:30px;border-radius:32px}h1{font-size:23px}.subtitle{font-size:13px}.footer{bottom:20px;font-size:10px}.waves{width:180%;left:-40%}}@media(prefers-reduced-transparency:reduce){.glass{background:#041a38}}

/* Integration feedback; theme values above are unchanged. */
.enter:disabled{opacity:.55;cursor:not-allowed}.feedback[role=alert]{border:1px solid #ffffff38}.wallpaper{pointer-events:none}

/* BEGIN BNS LOGIN HARBOR COMPACT R1 */
html body{background:#062241!important}
html body .scene{min-height:100svh!important}
html body .wallpaper{position:fixed!important;inset:0!important;background:linear-gradient(90deg,rgba(3,23,52,.74) 0%,rgba(5,35,68,.46) 37%,rgba(10,43,77,.08) 72%),url('../img/login-harbor.webp?v=20261128r1') center center/cover no-repeat!important}
html body .wallpaper .waves{display:none!important}
html body .brand{left:clamp(24px,6vw,90px)!important;top:27px!important;gap:16px!important}
html body .brand img{width:116px!important;height:auto!important;max-height:64px!important;object-fit:contain!important;background:white!important;border-radius:10px!important;padding:7px 9px!important;box-sizing:border-box!important}
html body .brand div{font-size:15px!important;line-height:1.3!important;padding-left:16px!important;border-left:1px solid #ffffff70!important}
html body .content{min-height:100svh!important;align-items:center!important;justify-content:flex-start!important;padding:112px clamp(24px,6vw,90px) 76px!important}
html body .glass{width:360px!important;max-width:100%!important;padding:25px 26px 22px!important;border-radius:24px!important;transform:none!important;background:linear-gradient(135deg,rgba(151,195,231,.30),rgba(56,105,150,.22))!important;border:1px solid rgba(255,255,255,.48)!important;box-shadow:inset 0 1px 1px #ffffff40,0 18px 55px #00152d55!important;backdrop-filter:blur(22px) saturate(125%)!important;-webkit-backdrop-filter:blur(22px) saturate(125%)!important}
html body .glass h1{font-size:25px!important;line-height:1.2!important;font-weight:650!important;letter-spacing:-.5px!important;text-align:left!important;margin:0 0 7px!important}
html body .glass .subtitle{font-size:12px!important;line-height:1.5!important;text-align:left!important;margin:0 0 18px!important;color:#eef6ffde!important}
html body .glass label{font-size:12px!important;font-weight:500!important;margin:12px 0 6px!important}
html body .glass input,html body .glass select{height:40px!important;border-radius:10px!important;font-size:13px!important;padding:0 12px!important;background:rgba(194,222,248,.14)!important;border:1px solid #ffffff50!important;color:#f5f9ff!important;box-shadow:none!important}
html body .glass input::placeholder{color:#e6f1ff99!important}
html body .glass select option{background:#123556!important;color:#fff!important}
html body .glass .password{padding-right:43px!important}
html body .glass .eye{width:32px!important;height:32px!important;right:5px!important}
html body .glass .eye svg{width:18px!important;height:18px!important}
html body .glass .help{font-size:11px!important;margin-top:13px!important}
html body .glass .enter{height:42px!important;margin-top:17px!important;border-radius:10px!important;font-size:14px!important;background:linear-gradient(180deg,#0889fa,#0768df)!important;color:#fff!important}
html body .glass .security{font-size:11px!important;gap:7px!important;margin-top:14px!important}
html body .glass .security svg{width:14px!important;height:14px!important}
html body .glass .feedback{font-size:11px!important;margin:12px 0 0!important;padding:10px!important}
html body .footer{left:clamp(24px,6vw,90px)!important;right:24px!important;bottom:23px!important;text-align:left!important;font-size:11px!important;color:#eaf3ffde!important}
@media(max-width:760px){html body .wallpaper{background:linear-gradient(180deg,rgba(3,23,52,.42),rgba(3,23,52,.62)),url('../img/login-harbor.webp?v=20261128r1') 69% center/cover no-repeat!important}html body .brand{left:22px!important;top:22px!important;gap:12px!important}html body .brand img{width:98px!important;max-height:55px!important}html body .brand div{font-size:12px!important;padding-left:12px!important}html body .content{padding:110px 20px 76px!important;justify-content:center!important}html body .glass{width:350px!important;padding:24px!important;border-radius:22px!important}html body .glass h1{font-size:24px!important}html body .footer{left:20px!important;right:20px!important;font-size:10px!important;text-align:center!important}}
@media(prefers-reduced-transparency:reduce){html body .glass{background:#123556!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
/* R2: centered form and original transparent logo inside a frosted glass brand plate. */
html body .content{justify-content:center!important;padding-top:112px!important;padding-bottom:112px!important}
html body .brand{padding:12px 16px!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:19px!important;background:linear-gradient(130deg,rgba(221,240,255,.28),rgba(151,198,237,.12))!important;box-shadow:inset 0 1px 1px #ffffff55,0 8px 24px #00162c24!important;backdrop-filter:blur(16px) saturate(140%)!important;-webkit-backdrop-filter:blur(16px) saturate(140%)!important}
html body .brand img{width:150px!important;max-height:78px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;filter:drop-shadow(0 1px 2px #ffffff55)!important}
@media(max-width:760px){html body .brand{left:20px!important;right:20px!important;width:max-content!important;max-width:calc(100% - 40px)!important;padding:10px 12px!important;gap:12px!important;border-radius:16px!important}html body .brand img{width:122px!important;max-height:62px!important;flex-shrink:0!important}html body .brand div{font-size:11px!important;padding-left:12px!important}}
@media(prefers-reduced-transparency:reduce){html body .brand{background:#7398b8!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}


/* R3: clear branding with the original BNL blue. */
html body .brand{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html body .brand img{filter:none!important;box-shadow:none!important;background:transparent!important}
html body .brand div{color:#19427c!important;border-left-color:#19427c66!important;text-shadow:none!important}
/* END BNS LOGIN HARBOR COMPACT R1 */
