/* Bryson Digital login-only design. Does not change authenticated portal styles. */
body:has(.bd-login-shell){background:radial-gradient(ellipse at 50% 0%,#173b60 0%,#071629 58%,#06111e 100%);}
body:has(.bd-login-shell) main.login{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px 16px;max-width:none;width:100%;box-sizing:border-box;}
body:has(.bd-login-shell) .loginbox{padding:0!important;background:transparent!important;box-shadow:none!important;border:0!important;width:min(100%,520px)!important;max-width:520px!important;overflow:visible!important;}
body:has(.bd-login-shell) .loginbox > .logo,body:has(.bd-login-shell) .loginbox > h1{display:none!important;}
.bd-login-shell{overflow:hidden;background:linear-gradient(160deg,#081c32,#0a2744 62%,#0b1c32);border:1px solid rgba(168,203,234,.24);border-radius:24px;box-shadow:0 32px 95px rgba(0,0,0,.4);color:#fff;font-family:inherit;}
.bd-login-content{padding:40px 40px 24px;}
.bd-login-logo{display:block;width:210px;max-width:78%;height:auto;margin:0 auto 12px;object-fit:contain;}
.bd-login-kicker{text-align:center;color:#b5c8de;font-size:11px;font-weight:750;letter-spacing:.36em;margin:0 0 30px;}
.bd-login-heading{font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(29px,4.5vw,41px)!important;line-height:1.14!important;letter-spacing:-.035em;color:#fff!important;margin:0 0 15px!important;font-weight:700!important;}
.bd-login-heading span{color:#5aafff;}
.bd-login-intro{font-size:15px;line-height:1.65;color:#c7d6e7;margin:0 0 25px;}
.bd-login-form{display:flex;flex-direction:column;gap:0;}
.bd-login-form label{color:#e7f1fc!important;font-weight:650!important;font-size:13px!important;margin:0 0 7px!important;}
.bd-login-form input{display:block;box-sizing:border-box;width:100%;height:50px;background:#fff!important;color:#102239!important;border:1px solid #b8cee3!important;border-radius:9px!important;padding:12px 14px!important;font-size:15px!important;margin:0 0 17px!important;}
.bd-login-form input:focus{outline:3px solid #63b7ff!important;outline-offset:2px;}
.bd-login-form button{display:block;width:100%;min-height:50px;border:0;border-radius:9px;background:#147be7!important;color:#fff!important;font-weight:750;font-size:15px;cursor:pointer;margin:6px 0 0;}
.bd-login-form button:hover{background:#0769ce!important;}
.bd-login-help{font-size:12px;line-height:1.5;color:#b9cde2;margin:17px 0 0;text-align:center;}
.bd-login-help a{color:#a4d5ff;text-decoration:underline;}
.bd-login-photo{position:relative;height:180px;background:linear-gradient(to bottom,#0b1c32 0%,rgba(11,28,50,.97) 8%,rgba(11,28,50,.72) 31%,rgba(11,28,50,.10) 75%,rgba(3,15,29,.45) 100%),url('legal-courthouse.jpg') center 55%/cover no-repeat;border-top:1px solid rgba(255,255,255,.09);}
.bd-login-photo span{position:absolute;bottom:19px;left:0;right:0;text-align:center;color:#f0f6ff;font-size:10px;font-weight:750;letter-spacing:.19em;text-shadow:0 2px 8px #000;}
@media(max-width:560px){body:has(.bd-login-shell) main.login{padding:12px!important;align-items:flex-start!important;} .bd-login-shell{border-radius:17px;} .bd-login-content{padding:28px 23px 20px;} .bd-login-photo{height:150px;} .bd-login-kicker{margin-bottom:24px;} .bd-login-logo{width:190px;}}

/* Softer, seamless fade into the navy login panel. */
.bd-login-photo{border-top:0!important;height:235px;}
@media(max-width:560px){.bd-login-photo{height:195px;}}

/* Seamless courthouse: the photo is behind the whole panel, not in a separate block. */
.bd-login-shell{position:relative;isolation:isolate;background:#0a2744!important;}
.bd-login-shell::before{content:"";position:absolute;z-index:-1;left:0;right:0;bottom:0;height:55%;pointer-events:none;background-image:linear-gradient(to bottom,rgba(10,39,68,1) 0%,rgba(10,39,68,.90) 15%,rgba(10,39,68,.35) 52%,rgba(6,20,38,.28) 100%),url('legal-courthouse.jpg');background-position:center bottom;background-size:cover;background-repeat:no-repeat;}
.bd-login-content{position:relative;z-index:1;}
.bd-login-photo{position:relative;z-index:1;background:none!important;border:0!important;height:210px!important;}
@media(max-width:560px){.bd-login-shell::before{height:48%;}.bd-login-photo{height:170px!important;}}

/* 2026-10-14: centred copy and compact viewport-friendly login layout. */
.bd-login-heading,.bd-login-intro{text-align:center!important;}
.bd-login-heading{font-size:clamp(28px,3.1vw,38px)!important;line-height:1.12!important;margin-bottom:10px!important;}
.bd-login-intro{font-size:14px;line-height:1.45;margin-bottom:17px;}
.bd-login-content{padding:24px 34px 10px;}
.bd-login-logo{width:165px;max-height:90px;margin-bottom:6px;}
.bd-login-kicker{margin-bottom:14px;font-size:10px;}
.bd-login-form label{margin-bottom:4px!important;}
.bd-login-form input{height:43px!important;margin-bottom:11px!important;}
.bd-login-form button{min-height:44px;margin-top:2px;}
.bd-login-help{margin-top:10px;}
.bd-login-photo{height:clamp(80px,14vh,145px)!important;}
.bd-login-shell::before{height:52%;}
body:has(.bd-login-shell) main.login{min-height:100vh;min-height:100dvh;padding:10px 14px!important;}
@media (min-width:561px) and (min-height:650px){
  .bd-login-shell{max-height:calc(100dvh - 20px);}
}
@media (min-width:561px) and (max-height:780px){
  .bd-login-content{padding:16px 30px 7px;}
  .bd-login-logo{width:135px;max-height:65px;}
  .bd-login-kicker{margin-bottom:9px;}
  .bd-login-heading{font-size:29px!important;margin-bottom:7px!important;}
  .bd-login-intro{font-size:13px;line-height:1.35;margin-bottom:10px;}
  .bd-login-form input{height:38px!important;margin-bottom:8px!important;}
  .bd-login-form button{min-height:40px;}
  .bd-login-help{margin-top:7px;}
  .bd-login-photo{height:clamp(65px,10vh,95px)!important;}
}
@media(max-width:560px){
  body:has(.bd-login-shell) main.login{min-height:100dvh;padding:8px!important;align-items:center!important;}
  .bd-login-content{padding:20px 19px 9px;}
  .bd-login-logo{width:145px;max-height:70px;}
  .bd-login-kicker{margin-bottom:12px;}
  .bd-login-heading{font-size:clamp(26px,7vw,33px)!important;}
  .bd-login-intro{font-size:13px;line-height:1.4;margin-bottom:14px;}
  .bd-login-form input{height:44px!important;}
  .bd-login-photo{height:clamp(70px,13dvh,125px)!important;}
  .bd-login-shell::before{height:55%;}
}
@media(max-height:590px){
  body:has(.bd-login-shell) main.login{align-items:flex-start!important;}
}
