﻿/* Light Theme colors */
/* Dark Theme colors */
/* Light Theme colors */
/* Dark Theme colors */
.base-card {
  padding: 3rem;
  height: fit-content;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin: 3rem 0;
}

.tabel-container {
  width: 100%;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.tabel-container::-webkit-scrollbar {
  display: none;
}
.tabel-container table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}
.tabel-container table th {
  background-color: #E2E7E3;
}
.tabel-container table td {
  background-color: white;
}
.tabel-container table td, .tabel-container table th {
  border: 1px solid #0B4650;
  text-align: left;
  vertical-align: top;
  padding: 1rem;
}
.tabel-container table tr:first-child th {
  border-top: none;
}
.tabel-container table tr:first-child th:first-child {
  border-top-left-radius: 8px;
  border-left: none;
}
.tabel-container table tr:first-child th:last-child {
  border-top-right-radius: 8px;
  border-right: none;
}
.tabel-container table tr:last-child td {
  border-bottom: none;
}
.tabel-container table tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
  border-left: none;
}
.tabel-container table tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
  border-right: none;
}
.tabel-container table tr td:first-child {
  border-left: none;
}
.tabel-container table tr td:last-child {
  border-right: none;
}

.ranking-svg-container {
  display: flex;
}
.ranking-svg-container img {
  display: block;
  margin: auto;
  width: 6rem;
}

@media (max-width: 575px) {
  .base-card {
    padding: 3rem 1rem;
  }
}
[data-theme=dark] .base-card {
  background-color: #464242;
}
[data-theme=dark] .tabel-container {
  width: 100%;
}
[data-theme=dark] .tabel-container table th {
  background-color: #0B4650;
}
[data-theme=dark] .tabel-container table td {
  background-color: #464242;
}
[data-theme=dark] .tabel-container table td, [data-theme=dark] .tabel-container table th {
  border: 1px solid #F5F5F5;
}

.lds-ellipsis {
  /* change color here */
  color: #F5F5F5;
  display: inline-block;
  position: absolute;
  width: 235px;
  height: 50px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.lds-ellipsis div {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: currentColor;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(3), .lds-ellipsis div:nth-child(4) {
  color: #CCECDA;
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 80px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 160px;
  animation: lds-ellipsis3 0.6s infinite;
}

.lds-ellipsis,
.lds-ellipsis div {
  box-sizing: border-box;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(75px, 0);
  }
}
.download-section {
  display: none;
}
.download-section.show-section {
  display: block;
}

.download-breadcrumbs {
  margin-bottom: 1rem;
}
.download-breadcrumbs .breadcrumbs-button {
  border: none;
  background-color: transparent;
  margin-right: 1rem;
  padding: 0.25rem 0.5rem;
}
.download-breadcrumbs .breadcrumbs-button:last-child, .download-breadcrumbs .breadcrumbs-button:hover {
  background-color: #F5F5F5;
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.download-container {
  display: flex;
  flex-wrap: wrap;
}

.section-selector-button {
  border: none;
  width: 150px;
  height: 50px;
  border-radius: 8px;
  margin: 0 1rem 1rem 0;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.accordian-container {
  width: 100%;
}

.download-accordian {
  display: none;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}
.download-accordian:has(.active-accordian) .download-accordian-button {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-color: #D2DDD4;
}
.download-accordian.show-section {
  display: block;
  margin-bottom: 2rem;
}
.download-accordian.show-section:last-child {
  margin-bottom: 0;
}
.download-accordian .download-accordian-button {
  width: 100%;
  border-radius: 8px;
  background-color: #E2E7E3;
  border: none;
}
.download-accordian .download-accordian-content {
  display: none;
  border: 1px solid #D2DDD4;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.download-accordian .download-accordian-content.active-accordian {
  display: block;
}
.download-accordian .download-accordian-content .download-item {
  display: flex;
  padding: 0.5rem 1rem;
}
.download-accordian .download-accordian-content .download-item:nth-child(even) {
  background-color: #F5F5F5;
}
.download-accordian .download-accordian-content .download-item:nth-child(odd) {
  background-color: #FFF;
}
.download-accordian .download-accordian-content .download-item:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

[data-theme=dark] .lds-ellipsis {
  /* change color here */
  color: #1f1f1f;
}
[data-theme=dark] .lds-ellipsis div:nth-child(3), [data-theme=dark] .lds-ellipsis div:nth-child(4) {
  color: #0B4650;
}
[data-theme=dark] .download-breadcrumbs .breadcrumbs-button {
  color: #F5F5F5;
}
[data-theme=dark] .download-breadcrumbs .breadcrumbs-button:last-child, [data-theme=dark] .download-breadcrumbs .breadcrumbs-button:hover {
  background-color: #0B4650;
}
[data-theme=dark] .section-selector-button {
  background-color: #0B4650;
  color: #F5F5F5;
}
[data-theme=dark] .download-accordian:has(.active-accordian) .download-accordian-button {
  background-color: #0A3D47;
}
[data-theme=dark] .download-accordian .download-accordian-button {
  background-color: #0B4650;
  color: #F5F5F5;
}
[data-theme=dark] .download-accordian .download-accordian-content {
  border: 1px solid #0A3D47;
}
[data-theme=dark] .download-accordian .download-accordian-content .download-item:nth-child(even) {
  background-color: #1f1f1f;
}
[data-theme=dark] .download-accordian .download-accordian-content .download-item:nth-child(odd) {
  background-color: #333333;
}
