.coin_custom_chart .tab button.active {
  background-color: #f2f2f2;
  border-radius: 0.5vw;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color:black
}
/* Style untuk tab */
.coin_custom_chart .tab {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  /* border: 1px solid #ccc; */
  margin-bottom:1%;
  border-radius:0.5vw;
  display: flex;
  justify-content: flex-end; 
  margin-right: 1%;
}

.coin_custom_chart .button-tab-container {
  border: 1px solid #f2f2f2;
  padding: 0.5%;
  border-radius: 0.5vw;
  display: flex;
  background-color: #fff; /* Or any color you want for the background */
}

/* Style untuk tombol tab */
.coin_custom_chart .tab button {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.6vw 0.8vw;
  font-size: 12px;
  color:grey;
  white-space: nowrap;
}

/* Style untuk konten tab */
/* .tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
} */
.coin_custom_chart #chart {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}
.coin_custom_chart .secondary-x-axis .tick text{
  padding: 5px;
  background-color: #060211;
  border-radius: 5px;
  margin-top: 10px; /* Adjust the vertical position of the box */
  text-align: center;
}

/* Style the inner box container */
.coin_custom_chart .inner-box-container {
  flex: 1;
  width:100%;
}

/* Style the inner boxes */
.coin_custom_chart .inner-box {
  margin: 2px;
  margin-bottom: 10px;
  padding: 0.8vw;
  background-color: white;
  border-radius: 10px;
  border: 1px solid #EDF2F7;
  font-weight: 600px;
}

.coin_custom_chart .tooltip-box {
  position: absolute;
  background-color: #EDF2F7;
  border: 1px solid #EDF2F7;
  padding: 0.8vw;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  width:100%;
  border-radius: 12px;
  max-width: 30%;
  max-height: 30%;
}

.coin_custom_chart .tooltip {
  filter: drop-shadow(1px 2px 4px hsl(220deg 60% 50%)); 
  opacity: 1;
}

.coin_custom_chart .grid line:first-of-type,
.coin_custom_chart .grid line:last-of-type {
  stroke: rgba(0, 0, 0, 0.1);
  stroke-width:   0px;
}

/* custom scrollbar */
.coin_custom_chart ::-webkit-scrollbar {
  width: 1.2vw;
}

.coin_custom_chart ::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 20px;
  border: 6px solid transparent;
  background-clip: content-box;
}

.coin_custom_chart ::-webkit-scrollbar-thumb:hover {
  background-color: #343a40;
}

.coin_custom_chart .date-container {
  display: flex;
  justify-content:flex-end;
  margin-right:15%;
}

.coin_custom_chart .button-container {
  /* display: flex;
  justify-content:flex-end; */
  height: 20%;
  cursor: pointer;
  margin-right:8%;
}

.coin_custom_chart .button-container button {
  display: inline-block;
  padding: 5% 8%;
  font-size: 12px;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  text-decoration: none;
  border: 0px solid grey;
  background-color: #ffffff;
  cursor: pointer;
  color: grey;
  white-space: nowrap;
}

.coin_custom_chart .button-container button:hover {
  background-color: rgb(229 231 235); 
}

.coin_custom_chart button{
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.coin_custom_chart .button-container button.active {
  color: black;
}

.coin_custom_chart .brush rect.selection {
  cursor: grab;
}

.coin_custom_chart input[type="checkbox"] {
  width: 20%;
  height: 20%;
}

/* chart-1*/
.coin_custom_chart .container,
.coin_custom_chart .container2 {
  display: block;
  position: relative;
  padding-left: 30px;
  padding-top: 5px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.coin_custom_chart .container input,
.coin_custom_chart .container2 input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.coin_custom_chart .checkmark,
.coin_custom_chart .checkmark2 {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  border-radius: 20%; 
}

.coin_custom_chart .container input:not(:checked) ~ .checkmark,
.coin_custom_chart .container2 input:not(:checked) ~ .checkmark2 {
  background-color: white !important;
  border-color: grey !important;
}

.coin_custom_chart .checkmark:after,
.coin_custom_chart .checkmark2:after {
  content: "";
  position: absolute;
  display: none;
}

.coin_custom_chart .container input:checked ~ .checkmark:after,
.coin_custom_chart .container2 input:checked ~ .checkmark2:after {
  display: block;
}

.coin_custom_chart .container .checkmark:after,
.coin_custom_chart .container2 .checkmark2:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* chart-1 series-1 */
.coin_custom_chart .checkmark {
  border: 0.1vw #23A3EB solid;
}
.coin_custom_chart .container input:checked ~ .checkmark {
  background-color: #23A3EB;
}

/* chart-1 series-2 */
.coin_custom_chart .checkmark2 {
  border: 0.1vw #33C79A solid;
}
.coin_custom_chart .container2 input:checked ~ .checkmark2 {
  background-color: #33C79A;
}


/* chart-2*/
.coin_custom_chart .chart2-container,
.coin_custom_chart .chart2-container2,
.coin_custom_chart .chart2-container3,
.coin_custom_chart .chart2-container4,
.coin_custom_chart .chart2-container5 {
  display: block;
  position: relative;
  padding-left: 30px;
  padding-top: 5px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.coin_custom_chart .chart2-container input,
.coin_custom_chart .chart2-container2 input,
.coin_custom_chart .chart2-container3 input,
.coin_custom_chart .chart2-container4 input,
.coin_custom_chart .chart2-container5 input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.coin_custom_chart .chart2-checkmark,
.coin_custom_chart .chart2-checkmark2,
.coin_custom_chart .chart2-checkmark3,
.coin_custom_chart .chart2-checkmark4,
.coin_custom_chart .chart2-checkmark5 {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  border-radius: 20%; 
}

.coin_custom_chart .chart2-container input:not(:checked) ~ .chart2-checkmark,
.coin_custom_chart .chart2-container2 input:not(:checked) ~ .chart2-checkmark2,
.coin_custom_chart .chart2-container3 input:not(:checked) ~ .chart2-checkmark3,
.coin_custom_chart .chart2-container4 input:not(:checked) ~ .chart2-checkmark4,
.coin_custom_chart .chart2-container5 input:not(:checked) ~ .chart2-checkmark5 {
  background-color: white !important;
  border-color: grey !important;
}

.coin_custom_chart .chart2-checkmark:after,
.coin_custom_chart .chart2-checkmark2:after,
.coin_custom_chart .chart2-checkmark3:after,
.coin_custom_chart .chart2-checkmark4:after,
.coin_custom_chart .chart2-checkmark5:after {
  content: "";
  position: absolute;
  display: none;
}

.coin_custom_chart .chart2-container input:checked ~ .chart2-checkmark:after,
.coin_custom_chart .chart2-container2 input:checked ~ .chart2-checkmark2:after,
.coin_custom_chart .chart2-container3 input:checked ~ .chart2-checkmark3:after,
.coin_custom_chart .chart2-container4 input:checked ~ .chart2-checkmark4:after,
.coin_custom_chart .chart2-container5 input:checked ~ .chart2-checkmark5:after {
  display: block;
}

.coin_custom_chart .chart2-container .chart2-checkmark:after,
.coin_custom_chart .chart2-container2 .chart2-checkmark2:after,
.coin_custom_chart .chart2-container3 .chart2-checkmark3:after,
.coin_custom_chart .chart2-container4 .chart2-checkmark4:after,
.coin_custom_chart .chart2-container5 .chart2-checkmark5:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* chart-2 series-1 */
.coin_custom_chart .chart2-checkmark {
  border: 0.1vw #14171A solid;
}
.coin_custom_chart .chart2-container input:checked ~ .chart2-checkmark {
  background-color: #14171A;
}

/* chart-2 series-2 */
.coin_custom_chart .chart2-checkmark2 {
  border: 0.1vw #2AABEE solid;
}
.coin_custom_chart .chart2-container2 input:checked ~ .chart2-checkmark2 {
  background-color: #2AABEE;
}

/* chart-2 series-3 */
.coin_custom_chart .chart2-checkmark3 {
  border: 0.1vw #5865F2 solid;
}
.coin_custom_chart .chart2-container3 input:checked ~ .chart2-checkmark3 {
  background-color: #5865F2;
}

/* chart-2 series-4 */
.coin_custom_chart .chart2-checkmark4 {
  border: 0.1vw #83c70a solid;
}
.coin_custom_chart .chart2-container4 input:checked ~ .chart2-checkmark4 {
  background-color: #83c70a;
}

/* chart-2 series-5 */
.coin_custom_chart .chart2-checkmark5 {
  border: 0.1vw #000000 solid;
}
.coin_custom_chart .chart2-container5 input:checked ~ .chart2-checkmark5 {
  background-color: #000000;
}

.coin_custom_chart .spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #333;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite; /* Apply animation */
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -20px;
  margin-left: -20px;
}

/* Keyframes for spinner animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/* Mobile config */

.tab-mobile button.active {
  background-color: #f2f2f2;
  border-radius: 1.2vw;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color:black
}
/* Style untuk tab */
.tab-mobile {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  /* border: 1px solid #ccc; */
  margin-bottom:4%;
  border-radius:1.2vw;
  display: flex;
  justify-content: flex-end; 
  margin-right: 1%;
}

.button-tab-container-mobile {
  border: 1px solid #f2f2f2;
  padding: 2%;
  border-radius: 1.2vw;
  display: flex;
  background-color: #fff; /* Or any color you want for the background */
}

/* Style untuk tombol tab */
.tab-mobile button {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 1.2vw 1.2vw;
  font-size: 14px;
  color:grey;
  white-space: nowrap;
}


.button-container-mobile {
  cursor: pointer;
}

.button-container-mobile button {
  font-size: 13px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  border: 0px solid grey;
  background-color: #ffffff;
  cursor: pointer;
  color: grey;
  white-space: nowrap;
}

.button-container-mobile button:hover {
  background-color: rgb(229 231 235); 
}

.button-container-mobile button.active {
  color: black;
}

/* chart-1 mobile*/
.mobile-container,
.mobile-container2 {
  display: block;
  position: relative;
  padding-left: 20px;
  padding-top: 5px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.mobile-container input,
.mobile-container2 input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark-mobile,
.checkmark2-mobile {
  position: absolute;
  top: 5;
  left: 0;
  height: 18px;
  width: 18px;
  border-radius: 20%; 
}

.mobile-container input:not(:checked) ~ .checkmark-mobile,
.mobile-container2 input:not(:checked) ~ .checkmark2-mobile {
  background-color: white !important;
  border-color: grey !important;
}

.checkmark-mobile:after,
.checkmark2-mobile:after {
  content: "";
  position: absolute;
  display: none;
}

.mobile-container input:checked ~ .checkmark-mobile:after,
.mobile-container2 input:checked ~ .checkmark2-mobile:after {
  display: block;
}

.mobile-container .checkmark-mobile:after,
.mobile-container2 .checkmark2-mobile:after {
  left: 6px;
  top: 3px;
  width: 5px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* chart-1 series-1 */
.checkmark-mobile {
  border: 0.1vw #23A3EB solid;
}
.mobile-container input:checked ~ .checkmark-mobile {
  background-color: #23A3EB;
}

/* chart-1 series-2 */
.checkmark2-mobile {
  border: 0.1vw #33C79A solid;
}
.mobile-container2 input:checked ~ .checkmark2-mobile {
  background-color: #33C79A;
}


/* chart-2 mobile*/
.mobile-chart2-container,
.mobile-chart2-container2,
.mobile-chart2-container3,
.mobile-chart2-container4,
.mobile-chart2-container5 {
  display: block;
  position: relative;
  padding-left: 20px;
  padding-top: 5px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.mobile-chart2-container input,
.mobile-chart2-container2 input,
.mobile-chart2-container3 input,
.mobile-chart2-container4 input,
.mobile-chart2-container5 input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.chart2-checkmark-mobile,
.chart2-checkmark2-mobile,
.chart2-checkmark3-mobile,
.chart2-checkmark4-mobile,
.chart2-checkmark5-mobile {
  position: absolute;
  top: 5;
  left: 0;
  height: 18px;
  width: 18px;
  border-radius: 20%; 
}

.mobile-chart2-container input:not(:checked) ~ .chart2-checkmark-mobile,
.mobile-chart2-container2 input:not(:checked) ~ .chart2-checkmark2-mobile,
.mobile-chart2-container3 input:not(:checked) ~ .chart2-checkmark3-mobile,
.mobile-chart2-container4 input:not(:checked) ~ .chart2-checkmark4-mobile,
.mobile-chart2-container5 input:not(:checked) ~ .chart2-checkmark5-mobile {
  background-color: white !important;
  border-color: grey !important;
}

.chart2-checkmark-mobile:after,
.chart2-checkmark2-mobile:after,
.chart2-checkmark3-mobile:after,
.chart2-checkmark4-mobile:after,
.chart2-checkmark5-mobile:after {
  content: "";
  position: absolute;
  display: none;
}

.mobile-chart2-container input:checked ~ .chart2-checkmark-mobile:after,
.mobile-chart2-container2 input:checked ~ .chart2-checkmark2-mobile:after,
.mobile-chart2-container3 input:checked ~ .chart2-checkmark3-mobile:after,
.mobile-chart2-container4 input:checked ~ .chart2-checkmark4-mobile:after,
.mobile-chart2-container5 input:checked ~ .chart2-checkmark5-mobile:after {
  display: block;
}

.mobile-chart2-container .chart2-checkmark-mobile:after,
.mobile-chart2-container2 .chart2-checkmark2-mobile:after,
.mobile-chart2-container3 .chart2-checkmark3-mobile:after,
.mobile-chart2-container4 .chart2-checkmark4-mobile:after,
.mobile-chart2-container5 .chart2-checkmark5-mobile:after {
  left: 6px;
  top: 3px;
  width: 5px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* chart-2 series-1 */
.chart2-checkmark-mobile {
  border: 0.1vw #14171A solid;
}
.mobile-chart2-container input:checked ~ .chart2-checkmark-mobile {
  background-color: #14171A;
}

/* chart-2 series-2 */
.chart2-checkmark2-mobile {
  border: 0.1vw #2AABEE solid;
}
.mobile-chart2-container2 input:checked ~ .chart2-checkmark2-mobile {
  background-color: #2AABEE;
}

/* chart-2 series-3 */
.chart2-checkmark3-mobile {
  border: 0.1vw #5865F2 solid;
}
.mobile-chart2-container3 input:checked ~ .chart2-checkmark3-mobile {
  background-color: #5865F2;
}

/* chart-2 series-4 */
.chart2-checkmark4-mobile {
  border: 0.1vw #83c70a solid;
}
.mobile-chart2-container4 input:checked ~ .chart2-checkmark4-mobile {
  background-color: #83c70a;
}

/* chart-2 series-5 */
.chart2-checkmark5-mobile {
  border: 0.1vw #000000 solid;
}
.mobile-chart2-container5 input:checked ~ .chart2-checkmark5-mobile {
  background-color: #000000;
}