/* Leader card styles */

/* Layout components */
.leaderGroup {
  position: relative;
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
}

/* Online status indicator */
.onlineDot {
  position: absolute;
  top: 2px;
  left: 28px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 1) 0%, rgba(34, 197, 94, 0.2) 80%);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.8);
}

.shimmerContainer {
  padding: 2px 12px 2px 6px;
  border-radius: 10px;
  position: relative;
}

.exhaustedContainer {
  opacity: 0.5;
}

/* Leader image */
.leaderImageContainer {
  width: 35px;
  height: 35px;
  position: relative;
  flex: 0 0 auto;
}

.mobile .leaderImageContainer {
  width: 12px;
  height: 18px;
}

.leaderImage {
  width: 40px;
  height: 47px;
  position: absolute;
  top: -6px;
  left: -5px;
  border-top-left-radius: var(--mantine-radius-md);
  border-bottom-left-radius: var(--mantine-radius-md);
  object-fit: cover;
  object-position: center;
}

.mobile .leaderImage {
  width: 20px;
  height: 37px;
}


.textContainer {
  min-width: 0;
  flex: 1 1 auto;
}

.leaderName {
  font-size: var(--mantine-font-size-sm);
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}


.leaderNameActive {
  color: var(--mantine-color-white);
}

.leaderNameInactive {
  color: var(--mantine-color-gray-4);
}

.leaderType {
  font-size: var(--mantine-font-size-xs);
  font-weight: 500;
  opacity: 0.8;
  text-transform: capitalize;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}


.mobile .leaderType {
  text-overflow: clip;
  font-weight: 700;
}

.leaderTypeActive {
  color: var(--mantine-color-green-3);
}

.leaderTypeInactive {
  color: var(--mantine-color-gray-5);
}

/* Lock icon */
.lockIcon {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--mantine-color-gray-7);
  padding: 4px;
  display: flex;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  align-items: center;
  justify-content: center;
}
