/* ===== ESM PREMIUM NEON AUTH / LOGOUT UI ===== */

.esm-auth-wrap{
  min-height:100vh;
  padding:60px 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent !important;
  color:#fff;
  font-family:Arial,Helvetica,sans-serif;
}

.esm-auth-card{
  position:relative;
  width:100%;
  max-width:520px;
  padding:38px 28px;
  border-radius:30px;
  background:linear-gradient(180deg,rgba(17,24,39,.96),rgba(3,7,18,.98));
  border:1px solid rgba(255,204,0,.35);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 30px 100px rgba(0,0,0,.75),
    0 0 70px rgba(255,204,0,.13);
  overflow:hidden;
}

.esm-auth-card:before{
  content:"";
  position:absolute;
  inset:-2px;
  background:linear-gradient(120deg,transparent,rgba(255,204,0,.26),transparent,rgba(255,0,90,.18),transparent);
  opacity:.8;
  pointer-events:none;
}

.esm-auth-card > *{
  position:relative;
  z-index:2;
}

.esm-logo-glow{
  display:inline-flex;
  margin-bottom:18px;
  padding:8px 14px;
  border-radius:999px;
  color:#ffcc00;
  font-weight:900;
  letter-spacing:.16em;
  font-size:12px;
  background:rgba(255,204,0,.10);
  border:1px solid rgba(255,204,0,.35);
  box-shadow:0 0 22px rgba(255,204,0,.22);
}

.esm-auth-card h1{
  margin:0 0 10px;
  color:#fff;
  font-size:36px;
  line-height:1.05;
  font-weight:900;
  text-transform:uppercase;
}

.esm-muted{
  color:#cbd5e1 !important;
  font-size:15px;
  line-height:1.7;
}

.esm-alert,
.esm-success{
  margin:18px 0;
  padding:14px 16px;
  border-radius:16px;
  color:#fff;
  background:rgba(255,55,95,.13);
  border:1px solid rgba(255,55,95,.35);
}

.esm-alert.good,
.esm-success{
  background:rgba(34,197,94,.12);
  border-color:rgba(34,197,94,.35);
}

.esm-oauth.discord{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  margin:22px 0;
  padding:15px 18px;
  border-radius:18px;
  text-decoration:none;
  color:#fff !important;
  font-weight:900;
  background:linear-gradient(135deg,#5865f2,#7c3aed);
  box-shadow:0 18px 45px rgba(88,101,242,.35);
  transition:.25s ease;
}

.esm-oauth.discord:hover{
  transform:translateY(-2px);
  filter:brightness(1.12);
}

.esm-divider{
  display:flex;
  align-items:center;
  gap:14px;
  margin:22px 0;
  color:#94a3b8;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.esm-divider:before,
.esm-divider:after{
  content:"";
  flex:1;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
}

.esm-form{
  display:grid;
  gap:12px;
}

.esm-form input{
  width:100%;
  min-height:52px;
  padding:0 16px;
  border-radius:16px;
  color:#fff !important;
  background:rgba(2,6,23,.86) !important;
  border:1px solid rgba(255,255,255,.15) !important;
  outline:none !important;
  box-shadow:0 0 0 1px rgba(255,255,255,.03) inset;
}

.esm-form input::placeholder{
  color:#9ca3af !important;
}

.esm-form input:focus{
  border-color:rgba(255,204,0,.75) !important;
  box-shadow:0 0 0 3px rgba(255,204,0,.13),0 0 25px rgba(255,204,0,.15);
}

.esm-btn.full,
.esm-btn{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  min-height:54px;
  border:0;
  border-radius:18px;
  cursor:pointer;
  text-decoration:none !important;
  color:#050505 !important;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
  background:linear-gradient(135deg,#ffcc00,#ff8a00);
  box-shadow:0 18px 50px rgba(255,204,0,.28);
  transition:.25s ease;
}

.esm-btn:hover{
  transform:translateY(-2px);
  filter:brightness(1.08);
}

.esm-login-details{
  margin-top:20px;
  padding:18px;
  border-radius:22px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}

.esm-login-details summary{
  cursor:pointer;
  color:#ffcc00;
  font-weight:900;
  margin-bottom:14px;
}

.esm-logout-page .esm-auth-card{
  text-align:center;
  max-width:560px;
}

.esm-logout-icon{
  width:88px;
  height:88px;
  margin:0 auto 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-size:38px;
  background:rgba(255,204,0,.12);
  border:1px solid rgba(255,204,0,.35);
  box-shadow:0 0 45px rgba(255,204,0,.25);
}

.esm-logout-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:24px;
}

.esm-btn.secondary{
  color:#fff !important;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:none;
}

@media(max-width:640px){
  .esm-auth-card{
    padding:30px 20px;
    border-radius:24px;
  }

  .esm-auth-card h1{
    font-size:29px;
  }

  .esm-logout-actions{
    grid-template-columns:1fr;
  }
}