@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes glow {
  0% {
    filter: brightness(1) drop-shadow(0 0 5px currentColor);
  }
  100% {
    filter: brightness(1.2) drop-shadow(0 0 20px currentColor);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.leaderboard-container {
  width: 100%;
  font-size: 16px;
  margin: 0 auto;
  padding: 5rem 1rem 3rem;
  font-family: "Sukhumvit Set", sans-serif;
  background-color: #0e0f15;
  background-image: url(../img/bg-leaderboard.png);
  background-repeat: no-repeat;
  background-position: top center;
}
@media screen and (max-width: 640px) {
  .leaderboard-container {
    padding: 3rem 1rem 2rem;
  }
}

.wpbs-app-podium-header h1,
.wpbs-app-podium-header h2,
.wpbs-app-table-list-header h1,
.wpbs-app-table-list-header h2 {
  font-size: 2.25rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0;
  line-height: 1.2;
}
.wpbs-app-podium-header h1 small,
.wpbs-app-podium-header h2 small,
.wpbs-app-table-list-header h1 small,
.wpbs-app-table-list-header h2 small {
  font-size: 100%;
}

.wpbs-app-podium-header {
  text-align: center;
  margin-bottom: 8rem;
}
@media screen and (max-width: 640px) {
  .wpbs-app-podium-header {
    margin-bottom: 7rem;
  }
}
.wpbs-app-podium-header p {
  font-size: 1.25rem;
  margin-top: 0;
  color: #fff;
}

.wpbs-app-podium-container {
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: flex-end;
  gap: 4rem;
  padding: 0 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.wpbs-app-podium-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.wpbs-app-avatar-container {
  position: relative;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wpbs-app-avatar-container .wpbs-app-trophy {
  display: none;
}
.wpbs-app-avatar-container--rank-1 .wpbs-app-trophy {
  background-color: #ffd365;
}
.wpbs-app-avatar-container--rank-1 .wpbs-app-trophy svg {
  color: #5f5434;
}
.wpbs-app-avatar-container--rank-2 .wpbs-app-trophy {
  background-color: #cdcdcd;
}
.wpbs-app-avatar-container--rank-2 .wpbs-app-trophy svg {
  color: #585858;
}
.wpbs-app-avatar-container--rank-3 .wpbs-app-trophy {
  background-color: #b38a48;
}
.wpbs-app-avatar-container--rank-3 .wpbs-app-trophy svg {
  color: #cacaca;
}
@media screen and (max-width: 640px) {
  .wpbs-app-avatar-container--rank-2, .wpbs-app-avatar-container--rank-3 {
    top: 3.5rem;
  }
}

.wpbs-app-avatar {
  width: 8rem;
  height: 8rem;
  border-radius: 10px;
  overflow: hidden;
}
.wpbs-app-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wpbs-app-username {
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 3.5rem;
  text-align: center;
}

.wpbs-app-username-mobile {
  display: none;
  font-size: 0.875rem;
  color: #fff;
  white-space: nowrap;
  justify-content: center;
  width: 85px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wpbs-app-podium-base {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 1rem;
  justify-content: flex-start;
}
.wpbs-app-podium-base__bg-mobile {
  display: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7098039216) 0%, #0f1118 60%, #0e0f15 100%);
}
.wpbs-app-podium-base__bg-mobile:before {
  content: "";
  position: absolute;
  top: -2rem;
  left: 0;
  width: 100%;
  height: 2rem;
  background: rgba(0, 0, 0, 0.7098039216);
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}
.wpbs-app-podium-base::before {
  content: "";
  position: absolute;
  top: -2rem;
  left: 0;
  width: 100%;
  height: 2rem;
  background: #000000;
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}
.wpbs-app-podium-base--rank-1 {
  height: 24rem;
  background: linear-gradient(180deg, #eddb74 0%, #c19632 30%, #0f1118 50%, #0e0f15 100%);
}
.wpbs-app-podium-base--rank-1::before {
  background: linear-gradient(360deg, #f9e57a -30%, #181c2a 50%);
}
.wpbs-app-podium-base--rank-1 .wpbs-app-trophy {
  background-color: #ffd365;
}
.wpbs-app-podium-base--rank-1 .wpbs-app-trophy svg {
  color: #5f5434;
}
.wpbs-app-podium-base--rank-2 {
  height: 22rem;
  background: linear-gradient(180deg, #d9d9d9 0%, #0f1118 45%, #0e0f15 80%, #0e0f15 100%);
}
.wpbs-app-podium-base--rank-2::before {
  background: linear-gradient(360deg, #d9d9d9 -30%, #181c2a 50%);
}
.wpbs-app-podium-base--rank-2 .wpbs-app-trophy {
  background-color: #cdcdcd;
}
.wpbs-app-podium-base--rank-2 .wpbs-app-trophy svg {
  color: #585858;
}
.wpbs-app-podium-base--rank-3 {
  height: 22rem;
  background: linear-gradient(180deg, #e27735 0%, #0f1118 45%, #0e0f15 80%, #0e0f15 100%);
}
.wpbs-app-podium-base--rank-3::before {
  background: linear-gradient(360deg, #e27735 -30%, #181c2a 50%);
}
.wpbs-app-podium-base--rank-3 .wpbs-app-trophy {
  background-color: #b38a48;
}
.wpbs-app-podium-base--rank-3 .wpbs-app-trophy svg {
  color: #cacaca;
}
@media screen and (max-width: 640px) {
  .wpbs-app-podium-base {
    padding: 0.75rem 1rem;
  }
  .wpbs-app-podium-base > div {
    z-index: 1;
  }
  .wpbs-app-podium-base .wpbs-app-username-mobile {
    display: flex;
  }
  .wpbs-app-podium-base--rank-1 {
    height: 16rem;
  }
  .wpbs-app-podium-base--rank-2, .wpbs-app-podium-base--rank-3 {
    height: 14rem;
    padding-top: 3.75rem;
  }
  .wpbs-app-podium-base__bg-mobile {
    display: block;
  }
}

.wpbs-app-trophy {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.625rem;
  padding: 0.625rem;
  position: absolute;
  top: -1.25rem;
}

.wpbs-app-lots-text {
  font-size: 0.875rem;
  color: #fff;
  margin-bottom: 2rem;
  font-family: "Inter", sans-serif;
}
@media screen and (max-width: 640px) {
  .wpbs-app-lots-text {
    font-size: 0.75rem;
    margin: 0.5rem 0 1rem 0;
  }
}

.wpbs-app-earnings {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  font-family: "Inter", sans-serif;
}
@media screen and (max-width: 640px) {
  .wpbs-app-earnings {
    font-size: 1rem;
  }
}

.wpbs-app-additional-info {
  font-size: 0.875rem;
  color: #fff;
  margin-top: 0.5rem;
}
@media screen and (max-width: 640px) {
  .wpbs-app-additional-info {
    font-size: 0.75rem;
  }
}

.wpbs-app-countdown-container {
  z-index: 1;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  margin-top: -9.5rem;
  margin-bottom: 2rem;
}

.wpbs-app-countdown-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wpbs-app-clock-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #20506c;
}

.wpbs-app-countdown-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.wpbs-app-timer-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.wpbs-app-time-block {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
}

.wpbs-app-table-list-container {
  z-index: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.wpbs-app-table-list-header h2 {
  margin-bottom: 2rem;
  text-align: center;
}

.wpbs-app-table-list-summary-member {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  background-color: #171c29;
  gap: 0.5rem;
}
.wpbs-app-table-list-summary-member__value {
  color: #fff;
}

.wpbs-app-table-list-line {
  max-width: 500px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 52.88%, rgba(255, 255, 255, 0) 100%);
  margin: 2rem 0;
}

.wpbs-app-table-list-table {
  width: 100%;
}
.wpbs-app-table-list-table__header {
  display: grid;
  grid-template-columns: 1fr 2.5fr 1fr 1.5fr 1.5fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.wpbs-app-table-list-table__header-item {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: normal;
  white-space: nowrap;
}
.wpbs-app-table-list-table__header-item:nth-child(4), .wpbs-app-table-list-table__header-item:nth-child(5) {
  text-align: right;
}
.wpbs-app-table-list-table__rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.wpbs-app-table-list-table__row {
  display: grid;
  grid-template-columns: 1fr 2.5fr 1fr 1.5fr 1.5fr;
  gap: 1rem;
  padding: 0.375rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  color: #fff;
  background-color: #171c29;
  align-items: center;
}
.wpbs-app-table-list-table__row--rank-1 {
  background: linear-gradient(90deg, #b2872a 0%, #eddb74 7%, #b2872a 30%, #745600 90%);
}
.wpbs-app-table-list-table__row--rank-1 > .wpbs-app-table-list-table__row-item > .wpbs-app-cashback-value {
  background: #c19632;
}
.wpbs-app-table-list-table__row--rank-2 {
  background: linear-gradient(90deg, #888888 0%, #ffffff 7%, #7c7c7c 20%);
}
.wpbs-app-table-list-table__row--rank-2 > .wpbs-app-table-list-table__row-item > .wpbs-app-cashback-value {
  background: #2b2b2b;
}
.wpbs-app-table-list-table__row--rank-3 {
  background: linear-gradient(90deg, #e27735 0%, #ffcbad 7%, #e27735 20%, #b2633f 90%);
}
.wpbs-app-table-list-table__row--rank-3 > .wpbs-app-table-list-table__row-item > .wpbs-app-cashback-value {
  background: #6a2100;
}
.wpbs-app-table-list-table__row-item {
  display: flex;
  font-size: 0.75rem;
  font-family: "Inter", sans-serif;
}
.wpbs-app-table-list-table__row-item:first-child {
  font-size: 1rem;
}
@media screen and (max-width: 640px) {
  .wpbs-app-table-list-table__row-item:first-child {
    font-size: 0.75rem;
  }
}
.wpbs-app-table-list-table__row-item .wpbs-app-avatar-value {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 0.5rem;
}
.wpbs-app-table-list-table__row-item .wpbs-app-avatar-value img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wpbs-app-table-list-table__row-item > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.wpbs-app-table-list-table__row-item > div > .wpbs-app-name-value {
  font-weight: 500;
  font-size: 0.875rem;
  font-family: "Sukhumvit Set", sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media screen and (max-width: 640px) {
  .wpbs-app-table-list-table__row-item > div > .wpbs-app-name-value {
    font-size: 0.75rem;
  }
}
.wpbs-app-table-list-table__row-item > div > .wpbs-app-code-value {
  font-weight: 300;
  font-size: 0.75rem;
}
@media screen and (max-width: 640px) {
  .wpbs-app-table-list-table__row-item > div > .wpbs-app-code-value {
    font-size: 0.625rem;
  }
}
.wpbs-app-table-list-table__row-item:nth-child(2) {
  margin-left: -1rem;
}
.wpbs-app-table-list-table__row-item:nth-child(4), .wpbs-app-table-list-table__row-item:nth-child(5) {
  justify-content: flex-end;
}
.wpbs-app-table-list-table__row-item .wpbs-app-cashback-value {
  background: #22293d;
  padding: 0.375rem 0.5rem;
  border-radius: 0.375rem;
}

.wpbs-app-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  max-width: 1100px;
  margin: 0 auto;
  margin-top: 2rem;
}
.wpbs-app-pagination__numbers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.wpbs-app-pagination__btn {
  padding: 0.375rem 0.625rem;
  border: none;
  border-radius: 0.625rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: "Inter", sans-serif;
}
.wpbs-app-pagination__btn:hover:not(:disabled) {
  background: #374151;
}
.wpbs-app-pagination__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.wpbs-app-pagination__btn--active {
  background: #171c29;
  color: #fff;
}
.wpbs-app-pagination__btn--dots {
  cursor: default;
}
.wpbs-app-pagination__btn--dots:hover {
  background: transparent;
}
.wpbs-app-pagination__btn--prev, .wpbs-app-pagination__btn--next {
  padding: 0.375rem 0.375rem 0rem 0.3rem;
  color: #fff;
}
.wpbs-app-pagination__btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.wpbs-app-pagination__btn--disabled:hover {
  background-color: transparent;
  color: inherit;
}
.wpbs-app-pagination__dots {
  color: rgba(255, 255, 255, 0.6);
  padding: 0 0.5rem;
  user-select: none;
}

.wpbs-app-table-list-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  min-height: 200px;
}
.wpbs-app-table-list-loading .wpbs-app-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #171c29;
  border-top: 3px solid #eddb74;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}
.wpbs-app-table-list-loading p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin: 0;
}

/* Loading Overlay */
.wpbs-app-table-list-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 17, 24, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 0.5rem;
}
.wpbs-app-table-list-loading-overlay .wpbs-app-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #171c29;
  border-top: 3px solid #eddb74;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}
.wpbs-app-table-list-loading-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin: 0;
}

/* Table Loading State */
.wpbs-app-table-list-table--loading {
  position: relative;
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.wpbs-app-table-list-container {
  position: relative;
}

.wpbs-app-error-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  min-height: 200px;
  text-align: center;
}
.wpbs-app-error-message p {
  color: #ef4444;
  font-size: 0.875rem;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .wpbs-app-podium-container {
    gap: 1rem;
  }
  .wpbs-app-header h1 {
    font-size: 1.875rem;
  }
  .wpbs-app-avatar {
    width: 6rem;
    height: 6rem;
  }
  .wpbs-app-podium-base {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  .wpbs-app-username {
    font-size: 1.25rem;
  }
}
@media screen and (max-width: 640px) {
  .wpbs-app-podium-header,
  .wpbs-app-table-list-header {
    text-align: left;
    width: 100%;
  }
  .wpbs-app-podium-header h1,
  .wpbs-app-podium-header h2,
  .wpbs-app-table-list-header h1,
  .wpbs-app-table-list-header h2 {
    font-size: 1.5rem;
    text-align: left;
  }
  .wpbs-app-podium-header h1 small,
  .wpbs-app-podium-header h2 small,
  .wpbs-app-table-list-header h1 small,
  .wpbs-app-table-list-header h2 small {
    display: block;
    font-size: 2.5rem;
  }
  .wpbs-app-podium-header p {
    font-size: 0.875rem;
  }
  .wpbs-app-table-list-table__header, .wpbs-app-table-list-table__row {
    grid-template-columns: 0.5fr 2fr 1fr 1fr;
    gap: 0.5rem;
  }
  .wpbs-app-table-list-table__header-item:nth-child(4), .wpbs-app-table-list-table__row-item:nth-child(4) {
    display: none;
  }
  .wpbs-app-table-list-table__row-item > div > .wpbs-app-name-value {
    max-width: 5rem;
  }
  .wpbs-app-pagination {
    justify-content: center;
  }
  .wpbs-app-username,
  .wpbs-app-trophy {
    display: none;
  }
  .wpbs-app-avatar-container .wpbs-app-trophy {
    display: flex;
    width: 2rem;
    height: 2rem;
    padding: 0.385rem;
  }
  .wpbs-app-avatar {
    width: 5rem;
    height: 5rem;
  }
  .wpbs-app-countdown-text {
    font-size: 1rem;
  }
  .wpbs-app-countdown-container {
    margin-top: 0;
  }
}

/*# sourceMappingURL=shortcode-leaderboard.css.map */
