/* topbar/brand (page-only) */
.topbar{position:fixed;top:0;left:0;right:0;display:flex;justify-content:center;z-index:20;padding:16px 24px}
.brand{display:flex;align-items:center;gap:12px;padding:10px 16px;border-radius:16px;background:rgba(0,0,0,.28);backdrop-filter:blur(10px) saturate(130%)}
.brand .logo{width:36px;height:36px;border-radius:10px;background:#fff;opacity:.9}
.brand .title{margin:0;font-weight:700;letter-spacing:.4px}

/* divider + socials (page-only) */
.divider{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;color:#ddd;font-size:13px;margin:10px 0 -4px}
.divider::before,.divider::after{content:"";height:1px;background:rgba(255,255,255,.35)}

.socials{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:14px}
.soc-btn{height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.35);display:grid;place-items:center;cursor:pointer;transition:transform .06s,box-shadow .2s,filter .2s}
.soc-btn:hover{filter:brightness(1.05)}
.soc-google{background:#fff}
.soc-apple{background:#000}
.soc-twitter{background:#1DA1F2}
.soc-facebook{background:#1877F2}
.soc-instagram{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%)}

.muted-cta{text-align:center;color:#ddd;margin-top:18px;font-size:14px}

.lgo-entry{height:auto;min-height:100dvh;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:28px 16px;letter-spacing:0}
.lgo-entry>.topbar{position:static;padding:0;flex-shrink:0}
.lgo-entry .brand{border-radius:8px;max-width:100%}
.lgo-entry .brand .title{letter-spacing:0;overflow-wrap:anywhere}
.lgo-entry>.lang-switch{position:static;display:flex;align-items:center;gap:12px;width:min(100%,460px);padding:10px 16px;border-radius:8px;flex-shrink:0}
.lgo-entry>.lang-switch label{margin:0;flex:1}
.lgo-entry>.lang-switch select{width:auto;max-width:70%;font:inherit}
.lgo-entry>.card,
.lgo-entry>.topbar,
.lgo-entry>.lang-switch{transform:none}
.lgo-entry>.card{width:min(100%,460px);flex-shrink:0;background:rgba(8,14,20,.58);border-radius:8px}
.lgo-entry .panel{min-width:0;padding:24px 28px}
.lgo-entry .panel h1{font-size:28px;line-height:1.2;margin:0 0 20px}
.lgo-entry .form{gap:12px}
.lgo-entry .muted-cta{margin:8px 0 0}
.lgo-entry .divider{margin:6px 0 0}
.lgo-entry .socials{margin-top:6px}
.lgo-entry .panel[aria-hidden=true]{visibility:hidden;max-height:0;overflow:hidden;padding-top:0;padding-bottom:0}
.lgo-entry .input{font-size:16px}
.lgo-entry .input{min-height:48px}
.lgo-entry .primary,
.lgo-entry .soc-btn,
.lgo-entry .lang-switch select{min-height:44px}
.lgo-entry .remember input{width:20px;height:20px}
.lgo-entry .link{display:inline-flex;align-items:center;min-height:44px}
.lgo-entry .icon-right img{display:block;width:20px;height:20px;object-fit:contain;filter:brightness(0) invert(1)}
.lgo-entry .password-wrapper .toggle{width:44px;height:44px;right:1.5rem;top:50%;display:grid;place-items:center;padding:0}
.lgo-entry .password-wrapper .toggle img{width:20px;height:20px;object-fit:contain;filter:brightness(0) invert(1)}
.lgo-entry :is(button,a,input,select):focus-visible{outline:3px solid #fff;outline-offset:3px}

@media(max-width:560px){
  .lgo-entry{padding:20px 12px;gap:14px}
  .lgo-entry .brand{padding:8px 10px;gap:8px}
  .lgo-entry .brand .logo{width:32px;height:32px;flex:0 0 32px}
  .lgo-entry .brand .title{font-size:20px}
  .lgo-entry .panel{padding:20px 18px}
  .lgo-entry .row{flex-wrap:wrap;gap:4px 10px}
  .lgo-entry .socials{gap:8px}
}

@media(prefers-reduced-motion:reduce){
  .lgo-entry .slider,.lgo-entry .soc-btn{transition:none}
}
@media(max-height:700px){
  .lgo-entry{padding:10px;gap:10px;justify-content:flex-start}
  .lgo-entry .panel{padding:18px}
  .lgo-entry .brand{padding:6px 12px}
  .lgo-entry .panel h1{font-size:26px;margin-bottom:14px}
  .lgo-entry>.lang-switch{padding:6px 12px}
}

