.custom-dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 180px;
  border: 1px solid #434968;
  border-radius: 4px;
  height: max-content;
}

.dropdown-toggle {
  width: 100%;
  padding: 11px;
  /* background-color: #f1f1f1; */
  /* border: 1px solid #ccc; */
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  background: none;
  gap: 15px;
  color: #6f6b7d;
}
.dropdown-toggle::after {
  width: 0.6em !important;
  height: 0.6em !important;
}
.chevron {
  margin-left: 10px;
  transition: transform 0.3s;
}
.infoSvg {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-left: 5px;
}
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  width: 100%;
  z-index: 1000;
  margin-top: 5px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  list-style: none;
  padding: 0;
}

.dropdown-item {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #ddd;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: #f1f1f1;
}

.open .chevron {
  transform: rotate(180deg);
}

.leaderBoardRow {
  background-color: #1f2340;
  /* padding: 15px 20px; */
  border-radius: 8px;
  position: relative;
  margin-top: 1rem;
}
.leaderBoardRow:hover {
  background-color: #3a405e;
}
.leaderBoardRow:hover .leaderProgress {
  background-color: rgba(99, 86, 238, 0.08) !important;
}
.leaderBoardRow:hover .leaderProgress p {
  color: #fff;
}
.leaderProgressAct {
  border-left: 5px solid #bba864;
  background-color: #373644 !important;
}
.leaderProgress {
  background-color: #373952;
  border-radius: 8px;
  padding: 40px 0;
  width: 100%;
  max-width: 80%;
  display: flex;
  align-items: center;
  transition: max-width 0.3s ease;
}
.leaderProgressContent {
  position: absolute;
  width: 100%;
}
.percentage {
  padding: 10px 15px;
  background-color: #232b4a;
  height: max-content;
  border-radius: 8px;
  color: #fff;
  width: 100%;
  max-width: 100px;
  text-align: center;
}
.yourTeam {
  padding: 6px 10px;
  background-color: #0980ff;
  color: #fff;
  border-radius: 6px;
}
.yourTeam img {
  width: 20px;
  height: 20px;
}
.arrowSvg {
  fill: #fff;
  width: 25px;
  margin-right: 15px;
}
.leaderBoardDetailRow {
  padding: 18px 0;
}
.light-style .leaderBoardRow {
  background-color: #3a405e;
}
.light-style .leaderProgress {
  background-color: #47507e;
}
.light-style .leaderProgress p {
  color: #fff;
}

.light-style .leaderProgressAct {
  background-color: #59567c !important;
}
.activeRow {
  border-left: 5px solid #bba864;
}
.activeRow p {
  color: #bba864;
}
.activeRow .percentage {
  color: #bba864;
}
/*.dark-style .dropdown-toggle {*/
/*  color: #b6bee3;*/
/*}*/
.toggle-button {
  display: inline-flex;
  background-color: #47507e; /* Background color for the toggle button container */
  border-radius: 8px;
  padding: 3px;
}

.toggle-option {
  background-color: transparent;
  border: none;
  padding: 10px 20px;
  color: #ffffff; /* Text color */
  border-radius: 8px;
  cursor: pointer;
  font-family: Arial, sans-serif; /* Adjust font family as needed */
  font-size: 14px; /* Adjust font size as needed */
}

.toggle-option.active {
  background-color: #307cf1; /* Active button background color */
  color: #ffffff; /* Active button text color */
}
.pagination {
  display: flex;
  align-items: center;
  color: #ffffff; /* Text color */
  font-family: Arial, sans-serif; /* Adjust font family as needed */
  font-size: 14px; /* Adjust font size as needed */
}

.pagination-info {
  margin-right: 10px;
}

.pagination-controls {
  display: flex;
}

.pagination-button {
  background-color: #47507e; /* Button background color */
  border: none;
  margin-left: 5px;
  border-radius: 8px;
  color: #ffffff; /* Button text color */
  cursor: pointer;
  font-size: 27px;
  height: 50px;
  width: 50px;
}

.pagination-button.active {
  background-color: #307cf1; /* Active button background color */
}

.pagination-button.disabled {
  background-color: #47507e; /* Disabled button background color */
  cursor: not-allowed;
}
.custom-progress-circle {
  width: 80px;
  height: 80px;
  position: relative;
}

.custom-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 8px solid #fade6b;
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-card-content p {
  margin: 5px 0;
}
.custom-hover-card {
  position: absolute;
  top: 80%;
  right: 0;
  /* transform: translateX(-50%); */
  background-color: #2f3349;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 100;
  pointer-events: none;
  width: 100%;
  max-width: 350px; /* Adjust the width as needed */
}

.custom-leaderboard-row {
  position: relative;
  border-radius: 15px;
}

.custom-leaderboard-row:hover .custom-hover-card {
  opacity: 1;
  visibility: visible;
}
.light-style .custom-card-content p {
  color: #ffffff;
}
.light-style .custom-dropdown {
  border-color: #ccc;
}
.light-style .leaderBoardDetailRow {
  color: #ffffff;
}
.chatContact {
  margin: 0 !important;
  border-radius: 0 !important;
  border-bottom: 1px solid #bebcc7;
}
.chatContact.active {
  background: none !important;
  border-left: 5px solid #7367f0 !important;
}
.sideEmail .active .chat-contact-name {
  color: #5d596c !important;
}
.dark-style .sideEmail .active .chat-contact-name {
  color: #fff !important;
}
.copy-button {
  /* background-color: #0a84ff; */
  border: none;
  padding: 3px 3px;
  border-radius: 5px;
  cursor: pointer;
  background-color: #7367f0;
}
.copy-button img {
  width: 24px;
}
.linkImg {
  width: 20px;
  cursor: pointer;
  margin-left: 5px;
}
.emailSide {
  margin-bottom: 0.5rem;
}
.emailSide i {
  font-size: 28px !important;
  cursor: pointer !important;
}
@media (max-width: 992px) {
  .app-chat-contacts.active {
    left: 0 !important; /* Show the sidebar when active */
    width: 22rem !important;
  }
  .emailSide {
    display: block !important;
    position: absolute;
    left: 10px;
    top: 0;
    z-index: 2;
  }
  .borderRem {
    border-bottom: none !important;
  }
  .custom-dropdown {
    max-width: 100%;
  }
  .filter-box2 {
    width: 100%;
  }
  .leaderProgress {
    padding: 34px 0;
  }
  .percentage {
    padding: 8px 14px;
    max-width: 70px;
  }
}
@media (max-width: 768px) {
  .responsiveFlow2 {
    overflow-x: scroll;
  }
  .barRow2 {
    width: 730px;
  }
  .arrowSvg {
    fill: #fff;
    width: 25px;
    margin-right: 0px;
  }
  .yourTeam {
    padding: 6px 7px;
    font-size: 12px;
  }
  .yourTeam img {
    width: 17px;
    height: 17px;
  }
}
@media (max-width: 576px) {
  .app-chat .app-chat-history .chat-history-body {
    padding: 1rem 1rem !important;
  }
  .responsiveFlow {
    overflow-y: hidden;
    overflow-x: scroll;
  }
  .barRow {
    width: 470px;
  }
  .pagination-button {
    height: 45px;
    width: 45px;
  }
  .custom-hover-card {
    max-width: 300px;
  }
}
