/* Rock You Festival - tela de login */
:root{--bg:#fff;--s2:#f6f7f9;--ln:#e6e8ec;--tx:#292d34;--mu:#6b7280;--ac:#6857e0;--ach:#5a49d4;--as:#eeebff;--err:#d92d20}
[data-t=dark]{--bg:#1a1b1f;--s2:#24252b;--ln:#2f3138;--tx:#e8e9ec;--mu:#9a9ea6;--ach:#7a6bea;--as:#2a2750}

*{box-sizing:border-box;transition:background-color .25s,border-color .25s,color .25s}
body{margin:0;background:var(--bg);color:var(--tx);font:14px/1.45 Inter,system-ui,sans-serif}
h1{margin:0;font-weight:700}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--ac);outline-offset:2px}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}

.btn{height:44px;padding:0 16px;border:1px solid var(--ac);background:var(--ac);color:#fff;font-weight:600;font-size:15px;border-radius:10px}
.btn:hover{background:var(--ach)}
.btn:disabled{opacity:.7;cursor:wait}

.ib{width:40px;height:40px;display:grid;place-items:center;background:var(--bg);border:1px solid var(--ln);border-radius:10px}
.ib:hover{background:var(--s2)}

label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:13px}
input{height:44px;width:100%;background:var(--bg);border:1px solid var(--ln);border-radius:10px;padding:0 12px;font-size:15px}
input:focus{outline:0;border-color:var(--ac);box-shadow:0 0 0 3px var(--as)}

.ft{position:fixed;top:16px;right:16px;z-index:5}

/* Layout: arte à esquerda, formulário à direita */
.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}
.login form{align-self:center;justify-self:center;width:min(360px,86%);display:flex;flex-direction:column;gap:16px}
.login h1{font-size:26px}
.er{color:var(--err);margin:0;min-height:1.2em}

.lg-art{position:relative;display:grid;place-items:center;overflow:hidden;isolation:isolate;border-right:1px solid var(--ln);background:var(--bg)}
.lg-art.ph{background:#000}
.lg-logo{position:relative;width:min(320px,70%)}
.lg-logo img{display:block;width:100%;border-radius:50%}
.ph .lg-logo img{box-shadow:0 10px 40px rgba(0,0,0,.25)}

/* Fotos de fundo (criadas pelo login.js): somem até o preto e voltam com a próxima */
.lg-bg{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover;filter:blur(3px);transform:scale(1.04);opacity:1;transition:opacity .8s ease}
.lg-bg.changing{opacity:0}
.lg-overlay{position:absolute;inset:0;background:rgba(0,0,0,.35);pointer-events:none}

/* Celular */
@media(max-width:899px){
  .login{display:block}
  .lg-art,.lg-art.ph{height:34vh;border:0;background:var(--bg)}
  .lg-bg,.lg-overlay{display:none}
  .lg-logo{width:auto;height:calc(34vh*.64)}
  .lg-logo img{width:auto;height:100%;max-width:none;box-shadow:none}
  .login form{padding:24px 0;margin:0 auto}
}

@media(prefers-reduced-motion:reduce){
  *{transition:none!important}
}