/* SOC Lab sign-in: minimal light/dark with a slim flowing RGB border, matching the portal.
   Layered on Keycloak's login v2 styles; dark follows the system setting (darkMode=true adds .pf-v5-theme-dark). */
@property --a{syntax:"<angle>";inherits:false;initial-value:0deg}
:root{--socl-bg:#f6f6f8;--socl-card:#fff;--socl-fg:#141418;--socl-mut:#6c6c78;--socl-line:#d6d6dd;--socl-btn:#141418;--socl-btn-fg:#fff;--socl-ra:.8;
 --pf-v5-global--BackgroundColor--100:transparent;--pf-v5-global--link--Color:#4f46e5;--pf-v5-global--link--Color--hover:#3730a3;--pf-v5-global--primary-color--100:#141418}
:root.pf-v5-theme-dark{--socl-bg:#0b0b0e;--socl-card:#131317;--socl-fg:#ececf1;--socl-mut:#8b8b98;--socl-line:#33333d;--socl-btn:#ececf1;--socl-btn-fg:#0b0b0e;--socl-ra:.9;
 --pf-v5-global--link--Color:#a5a3ff;--pf-v5-global--link--Color--hover:#c7c6ff;--pf-v5-global--primary-color--100:#ececf1}
html,body{min-height:100%;background:var(--socl-bg)!important;color:var(--socl-fg);font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
body::before{content:"";position:fixed;left:0;right:0;top:0;height:2px;z-index:5;
 background:linear-gradient(90deg,#ff2d55,#ff9f0a,#ffd60a,#30d158,#0ac8ff,#5e5ce6,#bf5af2,#ff2d55,#ff9f0a,#ffd60a,#30d158,#0ac8ff,#5e5ce6,#bf5af2,#ff2d55);background-size:200% 100%;animation:socl-slide 14s linear infinite}
@keyframes socl-slide{to{background-position:-200% 0}}
@keyframes socl-flow{to{--a:360deg}}
.pf-v5-c-login,.pf-v5-c-login__container{background:transparent!important}
.pf-v5-c-login__header,#kc-header,#kc-header-wrapper{color:var(--socl-fg)!important;font-weight:650;letter-spacing:-.01em;font-size:1.6rem;text-transform:none}
#kc-header-wrapper::before{content:"";display:inline-block;width:32px;height:32px;margin-right:.6rem;vertical-align:-6px;background:url(../img/logo.svg) center/contain no-repeat}
.pf-v5-c-login__main,.card-pf{border:1px solid transparent!important;border-radius:16px!important;
 background:linear-gradient(var(--socl-card),var(--socl-card)) padding-box,
  conic-gradient(from var(--a),rgb(255 45 85/var(--socl-ra)),rgb(255 159 10/var(--socl-ra)),rgb(255 214 10/var(--socl-ra)),rgb(48 209 88/var(--socl-ra)),rgb(10 200 255/var(--socl-ra)),rgb(94 92 230/var(--socl-ra)),rgb(191 90 242/var(--socl-ra)),rgb(255 45 85/var(--socl-ra))) border-box!important;
 box-shadow:0 10px 40px rgba(20,20,30,.12);animation:socl-flow 9s linear infinite}
.pf-v5-c-login__main-header h1,.pf-v5-c-title,#kc-page-title{color:var(--socl-fg)!important;font-weight:650}
.pf-v5-c-form__label-text,label{color:var(--socl-mut)!important}
.pf-v5-c-form-control{--pf-v5-c-form-control--BackgroundColor:var(--socl-card);--pf-v5-c-form-control--Color:var(--socl-fg);border-radius:8px}
.pf-v5-c-form-control:focus-within{box-shadow:0 0 0 3px rgba(99,102,241,.2)}
.pf-v5-c-form-control>input,.pf-v5-c-form-control input{color:var(--socl-fg)!important;background:transparent!important}
.pf-v5-c-button.pf-m-primary,#kc-login{background:var(--socl-btn)!important;color:var(--socl-btn-fg)!important;border:0!important;border-radius:8px!important;font-weight:600;transition:box-shadow .15s}
.pf-v5-c-button.pf-m-primary:hover,#kc-login:hover{box-shadow:0 0 0 3px rgba(94,92,230,.18),0 0 18px rgba(94,92,230,.35)}
.pf-v5-c-login__main-footer-band,.pf-v5-c-login__main-footer{background:transparent!important;border-color:var(--socl-line)!important}
.pf-v5-c-alert{border-radius:10px}
@media(prefers-reduced-motion:reduce){body::before,.pf-v5-c-login__main,.card-pf{animation:none}}
