#wl-site-auth {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
}

#wl-site-auth .wl-site-auth-login,
#wl-site-auth .wl-site-auth-user,
#wl-site-auth .wl-site-auth-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

#wl-site-auth .wl-site-auth-login,
#wl-site-auth .wl-site-auth-logout {
  padding: 0 11px;
  border: 1px solid rgba(47, 128, 237, 0.24);
  background: rgba(47, 128, 237, 0.08);
  color: var(--light-grey, #f7f7f7);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

#wl-site-auth .wl-site-auth-login:hover,
#wl-site-auth .wl-site-auth-login:focus-visible,
#wl-site-auth .wl-site-auth-logout:hover,
#wl-site-auth .wl-site-auth-logout:focus-visible {
  border-color: rgba(47, 128, 237, 0.5);
  background: rgba(47, 128, 237, 0.16);
  outline: none;
  transform: translateY(-1px);
}

#wl-site-auth .wl-site-auth-user {
  max-width: 150px;
  padding: 0 4px;
  color: var(--light-grey, #f7f7f7);
}

#wl-site-auth .wl-site-auth-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

#wl-site-auth .wl-site-auth-logout {
  border-color: rgba(200, 16, 46, 0.22);
  background: rgba(200, 16, 46, 0.06);
  color: #b42318;
}

#wl-site-auth .wl-site-auth-logout:hover,
#wl-site-auth .wl-site-auth-logout:focus-visible {
  border-color: rgba(200, 16, 46, 0.42);
  background: rgba(200, 16, 46, 0.12);
}

#wl-site-auth .wl-site-auth-logout:disabled {
  cursor: wait;
  opacity: 0.55;
  transform: none;
}

#wl-site-auth [hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  #wl-site-auth {
    gap: 4px;
    margin-left: 5px;
  }

  #wl-site-auth .wl-site-auth-user {
    max-width: 28px;
    padding: 0 5px;
  }

  #wl-site-auth .wl-site-auth-name {
    display: none;
  }

  #wl-site-auth .wl-site-auth-login,
  #wl-site-auth .wl-site-auth-logout {
    width: 32px;
    justify-content: center;
    padding: 0;
  }

  #wl-site-auth .wl-site-auth-login span,
  #wl-site-auth .wl-site-auth-logout span {
    display: none;
  }
}
