@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Georgian:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800;900;1000&display=swap');

table {
  border-spacing: 1;
  border-collapse: collapse;
  background-color: #333333;
  overflow: hidden;
  width: 100%;
  font-weight: 900;
  margin: 0 auto;
  position: relative;
}

table * {
  position: relative;
}

table td,
table th {
  padding-left: 0;
  background-color: #363636;
  color: #838181;
}

table th {
  padding-left: 0;
  background: linear-gradient(transparent, #323232);
  border: 3px solid #3b3a3a;
  font-family: "Nunito";
  font-weight: 900;
  color: #6f6d6d;
  font-size: 10px;
  text-transform: uppercase;
}

table thead tr {
  height: 40px;
  font-size: 16px;
}

table tbody tr {
  height: 45px;
  border-bottom: 2px solid #383838;
}

table tbody tr:last-child {
  border: 0;
}

table td,
table th {
  text-align: center;
  padding: 3px 5px 3px 5px;
}

table td.l,
table th.l {
  text-align: right;
}

table td.c,
table th.c {
  text-align: center;
}

table td.r,
table th.r {
  text-align: center;
}

@media screen and (max-width: 1000px) {
  table {
    display: block;
  }

  table>*,
  table tr,
  table td,
  table th {
    display: block;
    background-color: #333333;
  }

  table thead {
    display: none;
  }

  table tbody tr {
    height: auto;
    padding: 18px 0;
  }

  table tbody tr td {
    padding-left: 45%;
    margin-bottom: 12px;
  }

  table tbody tr td:last-child {
    margin-bottom: 0;
  }

  table tbody tr td:before {
    position: absolute;
    width: 45%;
    left: 10px;
    font-size: 11px;
    font-family: "Poppins";
    font-weight: 600;
  }

  table tbody tr td:nth-child(1):before {
    content: "Symbol | Price";
    color: #9f9d9d;
    top: 15px;
  }

  table tbody tr td:nth-child(2):before {
    content: "Price Change | %";
    color: #9f9d9d;
    text-transform: uppercase;
    top: 7px;
  }

  table tbody tr td:nth-child(3):before {
    content: "High | Low";
    color: #9f9d9d;
    text-transform: uppercase;
    top: 22px;
  }

  table tbody tr td:nth-child(4):before {
    content: "Date added";
    color: #9f9d9d;
    text-transform: uppercase;
    top: 10px;
  }

  table tbody tr td:nth-child(5):before {
    content: "% In portfolio";
    color: #9f9d9d;
    text-transform: uppercase;
    top: 12px;
  }

  table tbody tr td:nth-child(6):before {
    content: "Purchase";
    color: #9f9d9d;
    text-transform: uppercase;
    top: 9px;
  }

  table tbody tr td:nth-child(7):before {
    content: "Loss/Gain | %";
    color: #9f9d9d;
    text-transform: uppercase;
    top: 3px;
  }

  table tbody tr td:nth-child(8):before {
    content: "Market Value";
    color: #9f9d9d;
    text-transform: uppercase;
    top: 5px;
  }

  table tbody tr td:nth-child(9):before {
    content: "Edit";
    color: #9f9d9d;
    text-transform: uppercase;
    top: 8px;
  }

  table tbody tr td:nth-child(10):before {
    content: "Clear";
    color: #9f9d9d;
    text-transform: uppercase;
    top: 5px;
  }
}

#symbol-cell {
  font-family: "Nunito";
  font-size: 13px;
  font-weight: 800;
  color: #656667;
  text-transform: uppercase;
}

#current-price {
  font-size: 16px;
  font-weight: 800;
  color: #9f9d9d;
  font-family: "Nunito";
}

.sup-coin {
  font-family: "Nunito";
  font-size: 12px;
  color: #838181;
}

#price-change-cell,
#gain-loss-cell,
#market-value-cell {
  font-family: "Nunito";
  font-size: 13px;
}

#total-cost-price,
#total-gain-loss,
#total-market-value {
  font-family: "Nunito";
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(#353535, #333);
}

#total-cost-price {
  color: #6b6b6b;
}

#quantity-price,
#cost-price,
#avg-price,
#market-value-percentage {
  display: inline-block;
  font-size: 10px;
  text-align: center;
  font-size: 12px;
  font-family: "Nunito";
  font-weight: 800;
  margin: 0 5px;
}

#quantity-label,
#cost-label,
#avg-label,
#total-label {
  display: block;
  font-size: 6px;
  color: #868686;
  letter-spacing: 2px;
  font-family: "Nunito";
  font-weight: 500;
  text-transform: uppercase;
}

.sup-coin {
  vertical-align: top;
  font-size: 10px;
}

#time {
  font-family: "Nunito";
  font-size: 11px;
  color: #787373;
}

#date {
  background: linear-gradient(#3f3f3f, #3b3b3b);
  display: inline-block;
  font-size: 10px;
  text-align: center;
  box-shadow: 0px 0px 10px rgba(31, 31, 31, 0.3);
  font-family: "Nunito";
  margin: 0 5px;
  padding: 2px;
}

#date-label {
  display: block;
  font-size: 5px;
  color: #868686;
  letter-spacing: 2px;
  font-family: "Nunito";
  font-weight: 400;
  text-transform: uppercase;
}

.date-component {
  font-weight: 800;
}

#day {
  color: rgb(123, 123, 123);
  font-size: 8px;
}

#month {
  color: rgb(123, 123, 123);
  font-size: 8px;
  text-transform: uppercase;
}

#year {
  color: rgb(123, 123, 123);
  font-size: 8px;
}

.positive {
  color: rgb(34, 139, 34);
}

.negative {
  color: rgb(205, 92, 92);
}

button {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

#export-btn {
  background-image: url('img/export.svg');
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  cursor: pointer;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease-out;
}

#import-btn {
  background-image: url('img/import.svg');
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  cursor: pointer;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease-out;
}

.clear-button {
  background-image: url('img/clear.svg');
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  cursor: pointer;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease-out;
}

.edit-button {
  background-image: url('img/edit.svg');
  background-repeat: no-repeat;
  width: 15px;
  height: 15px;
  cursor: pointer;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease-out;
}

.delete-button {
  background-image: url('img/delete.svg');
  background-repeat: no-repeat;
  width: 15px;
  height: 15px;
  cursor: pointer;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease-out;
}

#export-btn:hover,
#import-btn:hover,
.reload-button:hover,
.clear-button:hover,
.edit-button:hover,
.delete-button:hover {
  opacity: 0.7;
}

/* modal window | add asseet */

#add-asset {
  display: flex;
  flex-direction: column;
  background-color: rgb(0, 0, 0, 0.1);
  font-size: 16px;
  text-transform: lowercase;
  padding: 15px;
  border: 1px solid #383838;
  border-radius: 2px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.add-asset-title {
  font-family: "Nunito";
  font-weight: 900;
  font-size: 12px;
  color: #767676;
  padding: 8px 10px 20px 5px;
  background: #313131;
}

.modalAddAsset {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

#openModalBtn {
  position: fixed;
  top: 157px;
  left: 0;
  background-image: url(img/add.svg);
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: auto;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease-out;
}

#openModalBtn:hover {
  opacity: 0.7;
}

.close-btn {
  background-image: url('img/close.svg');
  position: absolute;
  top: 15px;
  right: 15px;
  width: 25px;
  height: 25px;
  cursor: pointer;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease-out;
}

.close-btn:hover {
  opacity: 0.7;
}

.modal-ctn {
  width: 100%;
  max-width: 290px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 3px 10px -0.5px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 20px;
  border-radius: 3px;
  background-color: #313131;
}

/* Animation for fading in and out */
.anime-target {
  opacity: 0;
}

/* form */
.form {
  display: grid;
  gap: 1rem;
}

.form input[type="text"],
.form input[type="number"],
.form input[type="date"],
.form input[type="submit"] {
  inline-size: 100%;
}

.form__field {
  display: flex;
}

.form__input {
  flex: 1;
}

.hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.icons {
  display: none;
}

.icon {
  block-size: 28px;
  display: inline-block;
  fill: #606468;
  inline-size: 1em;
  vertical-align: middle;
}

input {
  background-image: none;
  border: 0;
  color: inherit;
  font: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  transition: background-color 0.3s;
}

input[type="submit"] {
  cursor: pointer;
}

.build {
  color: #2c2c2c;
}

.build label,
.build input[type="text"],
.build input[type="number"],
.build input[type="date"],
.build input[type="submit"] {
  border-radius: 0.25rem;
  padding: 10px;
  font-size: 13px;
  color: #bfbfc0;
  font-family: "Poppins";
  font-weight: 700;
}

.build input[type="submit"] {
  border-radius: #eee;
  padding: 0;
  border: none;
}

.build label {
  background-color: #333333;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  padding-inline: 1.25rem;
}

.build input[type="text"],
.build input[type="number"],
.build input[type="number"],
.build input[type="date"] {
  background-color: #2f2f2f;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border: none;
}

.build input[type="date"] {
  color: #696969;
}

::-webkit-calendar-picker-indicator {
  filter: invert(0.40) hue-rotate(180deg);
  width: 15px;
  height: 15px;
}

.build input[type="number"]:focus,
.build input[type="number"]:hover,
.build input[type="text"]:focus,
.build input[type="text"]:hover,
.build input[type="date"]:focus,
.build input[type="date"]:hover {
  background-color: #353434;
}

.build input[type="submit"] {
  background-color: #3e3e3e;
  color: #bfbfc0;
  font-family: "Nunito";
  font-weight: 700;
  text-transform: lowercase;
  font-size: 13px;
  border-radius: 3px;
  text-shadow: none;
  height: 40px;
}

.build input[type="submit"]:focus,
.build input[type="submit"]:hover {
  background-color: #454545;
}

.build input[type="text"]::placeholder,
.build input[type="number"]::placeholder,
.build input[type="date"]::placeholder {
  color: #6e6e6e;
  font-family: "Nunito";
  font-weight: 700;
  font-size: 11px
}

/* HIGH | LOW  slider container - START */
.high-low-slider-container {
  align-items: center;
  padding: 2px;
  border-radius: 2px;
}

.slider-value {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-family: "Nunito";
  font-weight: 800;
}

.left-block {
  margin-right: 12px;
  position: relative;
  top: 10px;
}

.right-block {
  margin-left: 12px;
  position: relative;
  top: 10px;
}

.price-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 0;
  border-radius: 50%;
  background: #4f4f4f;
  outline: none;
  opacity: 0.7;
  transition: opacity 0.2s;
  box-shadow: 0 0 0 2px #4f4f4f;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 15px;
  border-radius: 10%;
  background: #767676;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.price-slider::-moz-range-thumb {
  width: 8px;
  height: 15px;
  border-radius: 10%;
  background: #767676;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider-divider {
  position: relative;
  top: 19px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 7px;
  background-color: rgb(74, 74, 74);
  z-index: 1;
}

.low {
  background-color: rgb(205, 92, 92);
  border-radius: 20%;
}

.high {
  background-color: rgb(34, 139, 34);
  border-radius: 20%;
}

/* HIGH | LOW  slider container - END */

.rectangular-indicator {
  width: 100px;
  height: 25px;
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 1px 2px rgba(34, 34, 34, 0.2);
}

.background-rect {
  fill: #3a3a3a;
}

.fill-rect {
  fill: #454444;
}

.indicator-text {
  fill: #898989;
  font-size: 10px;
  font-family: "Nunito";
  font-weight: 500;
  pointer-events: none;
}

@keyframes blinking {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.blinking {
  animation: blinking 1.5s infinite;
}

/* scrollbar */
::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(transparent, #404040);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(transparent, #363636);
}

/* echart */
/* #chart {
  background-color: #fff;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
} */


/* renderer.js */
/* #token-bars-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  height: 160px;
  gap: 21px 0.25%;
}

.token-bar-container {
  width: 180px;
  display: flex;
  flex-direction: column;
}

.token-bar {
  position: relative;
  left: 2px;
  padding: 3px;
  font-family: "Nunito";
  border-radius: 4px;
}

.token-bar-symbol {
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  padding: 8px;
  font-family: "Nunito";
  text-align: center;
}

.token-bar-percentage {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  font-family: "Nunito";
}

.token-market-value,
.token-gain-loss {
  position: relative;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.5);
  margin-top: 30px;
  font-family: "Nunito";
  font-weight: 500;
  font-size: 12px;
  text-align: center;
}

.hd-bar {
  text-align: center;
  position: relative;
  display: grid;
  justify-items: center;
  margin-bottom: 8px;
}

.hd-bar span:first-child {
  color: #787373;
  font-family: "Nunito";
  letter-spacing: 2px;
  font-size: 8px;
  text-transform: initial;
  display: block;
  white-space: nowrap;
  margin-bottom: 5px;
} */