/* ==========================================================================
   SCUM SESSION LOGOUT ("SALIR")
   ========================================================================== */

#btn-scum-logout {
  position: fixed;
  top: 16px;
  right: 18px;
  z-index: 99999;
  background: rgba(17, 20, 27, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #94a3b8;
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 3px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none; /* Oculto mientras está bloqueado */
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  user-select: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

#btn-scum-logout::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #ff4455;
  border-radius: 50%;
  box-shadow: 0 0 6px #ff4455;
}

#btn-scum-logout:hover {
  background: rgba(255, 34, 51, 0.18);
  border-color: #ff4455;
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 34, 51, 0.35);
  transform: translateY(-1px);
}

#btn-scum-logout:active {
  transform: translateY(1px);
}

/* Visible cuando la sesión está autenticada */
body.scum-authenticated #btn-scum-logout {
  display: flex;
}

@media (max-width: 640px) {
  #btn-scum-logout {
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 0.7rem;
    letter-spacing: 1px;
  }
}
