/* General Styles */
.hidden {
  display: none !important;
}

.tablo-arzha-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.tablo-arzha-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.tablo-arzha-table th,
.tablo-arzha-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: right;
}

.tablo-arzha-table th {
  background-color: #f4f4f4;
}

.tablo-arzha-chart-container .dt-layout-row:first-child {
  display: none !important;
}

.custom-filter {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.custom-filter > div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.custom-filter input[type="text"] {
  border: 1px solid #e0e0e0;
  background-color: #f7f7f7;
  border-radius: 8px;
  transition: 0.3s;
}

.custom-filter input[type="text"]:focus {
  border: 1px solid var(--e-global-color-accent);
  transition: 0.3s;
}

.custom-filter select {
  width: 240px;
  max-width: 100%;
  background-color: #f7f7f7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor' aria-hidden='true'%3E%3Cpath d='M12 16.8c-.7 0-1.4-.27-1.93-.8L3.55 9.48a.754.754 0 010-1.06c.29-.29.77-.29 1.06 0l6.52 6.52c.48.48 1.26.48 1.74 0l6.52-6.52c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06L13.93 16c-.53.53-1.23.8-1.93.8z'%3E%3C/path%3E%3C/svg%3E");
  background-position: right 8px center !important;
  background-repeat: no-repeat;
  background-size: 20px;
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  border: 1px solid #e0e0e0;
  transition: 0.3s;
}

html[dir="rtl"] .custom-filter select {
  background-position: left 8px center !important;
}

.custom-filter select:focus {
  border: 1px solid var(--e-global-color-accent);
  transition: 0.3s;
}

.custom-filter select:focus-visible {
  outline: none;
}

.custom-filter button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--e-global-color-accent);
  color: #fff;
  border: 1px solid var(--e-global-color-accent);
  border-radius: 8px;
  transition: 0.3s;
}

.custom-filter button:hover {
  background-color: #fff;
  color: var(--e-global-color-accent);
  outline: none;
  transition: 0.3s;
}

.custom-filter button:focus-visible,
.custom-filter button:focus {
  background-color: var(--e-global-color-accent);
  color: #fff;
  outline: none;
  transition: 0.3s;
}

.currency-convertor {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.currency-convertor > div:first-child {
  display: flex;
  justify-content: center;
  gap: 88px;
}

.currency-convertor .currency-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.currency-convertor .currency-group > span:first-child {
  color: #dcebff;
  font-size: 14px;
  font-weight: 700;
  line-height: 26px;
}

.currency-convertor .currency-group .currency-symbol {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
}

.currency-convertor .select-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.currency-convertor .select-box button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  padding: 0;
}

.currency-convertor .select-box button:hover {
  background-color: transparent;
}

.currency-convertor .select-box button:focus,
.currency-convertor .select-box button:focus-visible {
  background-color: transparent;
  outline: none;
  border: none;
}

.currency-convertor .select-box button img {
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  border-radius: 99px;
}

.currency-convertor .select-box .options {
  position: absolute;
  top: 36px;
  width: 130px;
  background-color: #fff;
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0px 5px 20px 0px #002541;
  z-index: 99;
  opacity: 0;
  z-index: -1;
}

.currency-convertor .select-box .options.show {
  z-index: 99;
  opacity: 1;
  transition: 0.3s;
}

.currency-convertor .select-box ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}

.currency-convertor .select-box ul li {
  display: flex;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.currency-convertor .select-box ul li:hover {
  background-color: #0025411a;
  transition: 0.3s;
}

.currency-convertor .select-box ul li img {
  width: 32px;
  height: 32px;
  border-radius: 99px;
}

.currency-convertor > div:last-child {
  position: relative;
  display: flex;
  height: 85px;
  border: 1px solid #e6f2ff;
  border-radius: 999px;
}

.currency-convertor > div:last-child input,
.currency-convertor > div:last-child input:focus,
.currency-convertor > div:last-child input:focus-visible {
  background-color: transparent;
  border: none;
  outline: none;
  font-size: 18px;
  color: #fff;
  text-align: center;
}

.currency-convertor > div:last-child .divi {
  position: absolute;
  right: 50%;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: #e6f2ff;
  display: flex;
}

/* svg css loading spinner */
.spinner {
  -webkit-animation: rotate 2s linear infinite;
  animation: rotate 2s linear infinite;
  width: 24px;
  height: 24px;
}
.spinner .path {
  stroke: #fff;
  stroke-linecap: round;
  -webkit-animation: dash 1.5s ease-in-out infinite;
  animation: dash 1.5s ease-in-out infinite;
}

@-webkit-keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}
@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

@media only screen and (max-width: 768px) {
  .custom-filter {
    flex-direction: column;
    gap: 12px;
  }

  .custom-filter > div {
    width: 100%;
  }
}