/* Class, spec and role icons. */

.wow-icon {
  display: inline-block;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid rgb(0 0 0 / 55%);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 6%);
  vertical-align: middle;
  object-fit: cover;
  background: var(--bg-inset);
}

.wow-icon-18 {
  width: 18px;
  height: 18px;
}

.wow-icon-20 {
  width: 20px;
  height: 20px;
}

.wow-icon-24 {
  width: 24px;
  height: 24px;
}

.wow-icon-32 {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

/* A member's class icon and spec icon, side by side (signupIcon). */
.icon-pair {
  display: inline-flex;
  flex-shrink: 0;
  gap: 2px;
  vertical-align: middle;
}

.wow-icon-empty {
  border-style: dashed;
  border-color: var(--border);
  box-shadow: none;
}

/* Role medallions carry their own gold ring: no frame, and drawn 4px larger
   than the slot (with a matching negative margin) so the artwork inside the
   ring matches the square icons beside it. */
.wow-icon-role {
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  background: none;
  object-fit: contain;
  margin: -2px;
}

.wow-icon-role.wow-icon-18 {
  width: 22px;
  height: 22px;
}

.wow-icon-role.wow-icon-20 {
  width: 24px;
  height: 24px;
}

.wow-icon-role.wow-icon-24 {
  width: 28px;
  height: 28px;
}

.wow-icon-role.wow-icon-32 {
  width: 36px;
  height: 36px;
}

/* Rows that space icons from their text keep that gap for medallions too. */
.role-count .wow-icon-role,
.signup-table td .wow-icon-role {
  margin: -2px 4px -2px -2px;
}

.role-count .wow-icon {
  margin-right: 6px;
}

.label-with-icon,
.title-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.title-with-icon {
  gap: 11px;
}
