.container {
  padding: 16px;
  background: #f8fafc;
  min-height: 100vh;
  padding-bottom: 100px;
}

.header {
  margin-bottom: 16px;
}

.headerTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.manageLink {
  font-size: 14px;
  color: #3b82f6;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;

  &:hover {
    opacity: 0.8;
  }
}

.linkIcon {
  font-size: 14px;
}

.infoBox {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.infoIcon {
  color: #3b82f6;
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.infoText {
  font-size: 14px;
  color: #1e40af;
  line-height: 1.5;
  margin: 0;
}

.poolSelectorWrapper {
  margin-bottom: 24px;
}

.poolSelector {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;

  &:hover {
    border-color: #3b82f6;
  }
}

.selectedPoolsInfo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow: hidden;
}

.selectedCountText {
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
}

.placeholder {
  flex: 1;
  color: #cbd5e1;
  font-size: 14px;
}

.expandIcon {
  color: #94a3b8;
  font-size: 14px;
  flex-shrink: 0;
  margin-left: 8px;
}

.selectedPoolsList {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.selectedPoolCard {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid transparent;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
  cursor: pointer;

  &:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 20px -2px rgba(59, 130, 246, 0.15);
  }
}

.poolCardContent {
  padding-right: 32px;
}

.poolCardHeader {
  margin-bottom: 8px;
}

.poolCardName {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.poolCardDescription {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 12px 0;
}

.poolCardStats {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.poolCardUsers {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6;
  font-weight: 700;
  font-size: 14px;
}

.usersIcon {
  font-size: 18px;
}

.usersCount {
  font-size: 14px;
}

.poolCardDivider {
  width: 1px;
  height: 12px;
  background: #d1d5db;
}

.poolCardTime {
  font-size: 12px;
  color: #9ca3af;
}

.poolCardTags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.poolTag {
  padding: 4px 10px;
  border-radius: 8px;
  background: #eff6ff;
  color: #3b82f6;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid #bfdbfe;
}

.poolCardDeleteButton {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;

  &:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
  }
}

.poolCardDeleteIcon {
  color: #ef4444;
  font-size: 14px;
}
