/* Linkentra App Theme v1.0 */
:root{--brand-primary:#00D4FF;--brand-secondary:#0057FF;--brand-deep:#0B132B;--brand-light:#E6F1FF;--brand-accent:#14E6C9;--accent:var(--brand-primary);--accent2:var(--brand-accent);--ink:#10243a;--bg:#edf5fb;--nav:var(--brand-deep);--nav2:#10284b;--line:#d7e4ef}
body.app-shell{background:linear-gradient(rgba(237,245,251,.93),rgba(237,245,251,.95)),url('backgrounds/dashboard.png') center/cover fixed no-repeat}
body.app-auth{background:linear-gradient(rgba(237,245,251,.74),rgba(237,245,251,.87)),url('backgrounds/login.png') center/cover fixed no-repeat}
.top{background:linear-gradient(100deg,#08152f,var(--brand-deep) 58%,#10284b);border-bottom-color:rgba(0,212,255,.14)}
.nav{background:linear-gradient(180deg,var(--brand-deep),#0d2442 72%,#08152f)}
.nav a:hover,.nav a.active{background:linear-gradient(90deg,rgba(0,87,255,.30),rgba(0,212,255,.10));box-shadow:inset 3px 0 0 var(--brand-primary)}
.theme-brand-default .top .brand{width:196px;height:50px;background:url('logo.png') left center/contain no-repeat;font-size:0;line-height:0;overflow:hidden}.theme-brand-default .top .brand:before{display:none}
.theme-brand-default .loginlogo{height:86px;margin-bottom:20px;background:url('logo.png') center/contain no-repeat;font-size:0;line-height:0;color:transparent}.theme-brand-default .authmain:before{display:none}
.theme-brand-custom .brand:before{background:linear-gradient(135deg,var(--accent),var(--accent2));color:#04182d}
.card{background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(250,253,255,.96));backdrop-filter:blur(8px)}
.btn,button{background:linear-gradient(135deg,var(--brand-secondary),var(--accent));box-shadow:0 8px 18px rgba(0,87,255,.16)}
.bar span,.stats-day span{background:linear-gradient(180deg,var(--accent),var(--accent2))}
.edition{background:rgba(0,212,255,.11);border-color:rgba(0,212,255,.28)}
.top-version{color:#9bc9e9}
@media(max-width:560px){.theme-brand-default .top .brand{width:150px;height:42px}.theme-brand-default .loginlogo{height:70px}}


/* Linkentra Auth UI – exact legal-page background */
body.app-auth{
  min-height:100vh!important;
  background:
    linear-gradient(rgba(236,247,252,.48),rgba(224,242,250,.62)),
    url('backgrounds/auth-legal.jpg') center center/cover fixed no-repeat!important;
}
.theme-brand-default .loginlogo{
  height:88px!important;
  margin-bottom:22px!important;
  background:url('auth-logo.png') center/contain no-repeat!important;
}
body.app-auth .authmain{
  max-width:560px!important;
  margin:6vh auto!important;
  padding:24px!important;
}
body.app-auth .authmain .card{
  padding:30px!important;
  border-radius:22px!important;
  background:linear-gradient(145deg,rgba(4,38,57,.93),rgba(4,28,46,.90))!important;
  border:1px solid rgba(105,217,255,.24)!important;
  color:#fff!important;
  box-shadow:0 24px 65px rgba(4,28,46,.24)!important;
  backdrop-filter:blur(13px)!important;
  -webkit-backdrop-filter:blur(13px)!important;
}
body.app-auth .card h2,
body.app-auth label{color:#fff!important}
body.app-auth .muted{color:#bed5e4!important}
body.app-auth input{
  background:rgba(255,255,255,.97)!important;
  color:#10243a!important;
  border-color:rgba(255,255,255,.70)!important;
}
body.app-auth input:focus{
  border-color:#00d4ff!important;
  box-shadow:0 0 0 4px rgba(0,212,255,.13)!important;
}
body.app-auth a{color:#67e8ff!important}
body.app-auth .language-switcher{
  color:#26455e!important;
  font-weight:700!important;
}
body.app-auth button{
  min-height:44px!important;
  background:linear-gradient(135deg,#0057ff,#00bfe7)!important;
}
@media(max-width:560px){
  body.app-auth{background-attachment:scroll!important}
  body.app-auth .authmain{margin:2vh auto!important;padding:14px!important}
}


/* =========================================================
   v2.0.44 — AUTH LOGO CARD
   ========================================================= */
body.app-auth .theme-brand-default .loginlogo,
body.app-auth .loginlogo{
  width:min(360px,100%)!important;
  height:118px!important;
  margin:0 auto 24px!important;
  padding:18px 24px!important;
  box-sizing:border-box!important;
  border-radius:22px!important;
  border:1px solid rgba(105,217,255,.24)!important;
  background:
    url('auth-logo.png') center center / 76% auto no-repeat,
    linear-gradient(145deg,rgba(4,38,57,.90),rgba(4,28,46,.86))!important;
  box-shadow:0 20px 52px rgba(4,28,46,.20)!important;
  backdrop-filter:blur(12px)!important;
  -webkit-backdrop-filter:blur(12px)!important;
  font-size:0!important;
  line-height:0!important;
  color:transparent!important;
}

@media(max-width:560px){
  body.app-auth .theme-brand-default .loginlogo,
  body.app-auth .loginlogo{
    width:min(320px,100%)!important;
    height:104px!important;
    padding:16px 20px!important;
    background-size:78% auto!important;
  }
}


/* =========================================================
   v2.0.45 — AUTH PUBLIC HEADER + FOOTER
   ========================================================= */
body.app-auth{
  display:flex!important;
  min-height:100vh!important;
  flex-direction:column!important;
}

.auth-public-header{
  position:sticky!important;
  top:0!important;
  z-index:1200!important;
  width:100%!important;
  min-height:76px!important;
  background:#061A2B!important;
  border-bottom:1px solid rgba(122,232,255,.20)!important;
  box-shadow:0 8px 24px rgba(0,0,0,.12)!important;
}
.auth-public-shell{
  width:min(1180px,calc(100% - 32px))!important;
  min-height:76px!important;
  margin-inline:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:20px!important;
}
.auth-public-brand{
  display:flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
}
.auth-public-brand img{
  display:block!important;
  width:220px!important;
  max-width:220px!important;
  height:auto!important;
  max-height:66px!important;
  object-fit:contain!important;
}
.auth-public-nav{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:18px!important;
}
.auth-public-nav a{
  color:#F7FBFF!important;
  text-decoration:none!important;
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:500!important;
  white-space:nowrap!important;
}
.auth-public-nav a:hover,
.auth-public-nav a.active{
  color:#7AE8FF!important;
}
.auth-public-nav .auth-public-cta{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:11px 18px!important;
  border-radius:999px!important;
  background:#30D9FF!important;
  color:#061A2B!important;
  font-weight:800!important;
}

body.app-auth .authmain{
  flex:1 0 auto!important;
  width:min(560px,calc(100% - 32px))!important;
  margin:0 auto!important;
  padding:44px 0 64px!important;
}
body.app-auth .language-switcher.auth-language{
  margin:0 0 14px!important;
  color:#27455a!important;
}

.auth-public-footer{
  flex:0 0 auto!important;
  width:100%!important;
  padding:42px 0 24px!important;
  background:#04121F!important;
  border-top:1px solid rgba(122,232,255,.18)!important;
}
.auth-public-footer-shell{
  width:min(1180px,calc(100% - 32px))!important;
  margin-inline:auto!important;
  display:grid!important;
  grid-template-columns:2fr 1fr 1fr!important;
  gap:30px!important;
}
.auth-footer-brand img{
  display:block!important;
  width:220px!important;
  max-width:220px!important;
  max-height:66px!important;
  object-fit:contain!important;
}
.auth-footer-brand p{
  margin:12px 0 0!important;
  color:#AAC5D2!important;
  font-size:13px!important;
  line-height:1.55!important;
}
.auth-footer-col strong{
  display:block!important;
  margin-bottom:8px!important;
  color:#F7FBFF!important;
  font-size:14px!important;
}
.auth-footer-col a{
  display:block!important;
  margin-top:8px!important;
  color:#AAC5D2!important;
  text-decoration:none!important;
  font-size:13px!important;
  line-height:1.5!important;
}
.auth-footer-col a:hover{color:#7AE8FF!important}
.auth-footer-copy{
  grid-column:1/-1!important;
  margin-top:8px!important;
  padding-top:20px!important;
  border-top:1px solid rgba(122,232,255,.18)!important;
  color:#AAC5D2!important;
  font-size:13px!important;
}

@media(max-width:980px){
  .auth-public-shell{
    flex-wrap:wrap!important;
    padding:12px 0!important;
  }
  .auth-public-nav{
    width:100%!important;
    flex-wrap:wrap!important;
    justify-content:flex-start!important;
    gap:10px 14px!important;
  }
  .auth-public-nav a{font-size:13px!important}
}
@media(max-width:760px){
  .auth-public-footer-shell{grid-template-columns:1fr!important}
  .auth-public-footer-copy{grid-column:auto!important}
  .auth-public-brand img{width:190px!important}
  body.app-auth .authmain{padding:30px 0 48px!important}
}
