@layer pages {
/* Users page */

img.userpic {
  width: 32px;
  height: 32px;
}

.assigned_to_nano {
  padding-right: 4px;
  vertical-align: middle;
}

.bigdrop.select2-container .select2-results {
  max-height: 300px;
}

.bigdrop .select2-results {
  max-height: 300px;
}

.user-card {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 0.3125rem;
}

.user-card__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
}

.user-card__name {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--neutral-900);
}

.assigned-to img {
  width: 32px;
  height: 32px !important;
  border-radius: 50%;
  border: 1px solid var(--neutral-200);
  min-width: 1.25rem;
  object-fit: cover;
  flex-shrink: 0;
}

.assigned-to--online {
  position: relative;
}

.assigned-to--online::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background-color: #10b981;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.user {
  display: flex;
  align-items: center;
  gap: 0.3125rem;
}

.user__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--neutral-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.users {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.users .user {
  display: flex;
  gap: 0.625rem;
  padding: 0.3125rem 0.625rem;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid var(--neutral-200);
  width: 48%;
}

.users .user:hover {
  background-color: var(--neutral-100);
}

.users .user--inactive {
  opacity: 0.5;
}

.users-filter {
  display: flex;
  flex-direction: row;
  gap: 0.625rem;
}

@media (max-width: 768px) {
  .assigned-to img {
    width: 1.875rem;
    height: 1.875rem !important;
  }

  .assigned-to.assigned-to--online::after {
    border-width: 1px;
    bottom: -1px;
    right: -1px;
    width: 8px;
    height: 8px;
  }
}
}
