@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

.ml-40 {
  margin-left: 2.5rem;
}

:root {
  --white: #ffffff;
  --red: #25cf44;
  --dark-gray: #fff;
  --text: #2f2f2f;
  --green-text: #088a00;
  --light-gray: #ededed;
}

ul,
li {
  list-style: none;
}

#chart {
  overflow: hidden;
  background-color: #fff;
}

body {
  background: var(--red);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  position: relative;
  min-height: 100vh;
}

.d-flex {
  display: flex;
  justify-content: center;
}

.gap-2 {
  gap: 2rem;
}

.container {
  max-width: 1920px;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
}

.header {
  padding: 35px 0;
  background: var(--dark-gray, #333);
}

.header__logo {
  font-size: 36px;
  line-height: 140%;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-feature-settings: "pnum" on, "lnum" on;
  color: #ffffff;
}

.header__line {
  display: block;
  height: 4px;
  width: 100%;
  background: #3b8bf2;
}

.header__user {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user--balance {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 40px;
}

span[data-user-balance] {
  color: #2f2f2f;
  font-size: 1.125rem;
  font-weight: 700;
}

.info-row__container .text--red {
  color: var(--red, #e52529);
  font-size: 1.125rem;
  font-weight: 700;
}

.user-row-deals {
  border: none !important;
}

#user__get-money {
  /* margin-left: 2.5rem; */
}

.user--made-today-inher {
  display: flex;
  align-items: start;
  gap: 12px;
}

span[data-user-balance].torg {
  border: none;
}

.user--name__item {
  display: flex;
  align-items: center;
  gap: 40px;
}

.user--name-par p {
  color: #2f2f2f;
  font-variant-numeric: lining-nums proportional-nums;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  /* 22px */
  letter-spacing: -0.66px;
}

.user--name-par span {
  color: #202020;
  font-variant-numeric: lining-nums proportional-nums;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  /* 22px */
  letter-spacing: -0.66px;
  margin-bottom: 6px;
}

.user--made-today {
  display: flex;
  /* align-items: center; */
  flex-direction: column;
  gap: 0.25rem;
}

.user--made-today-text {
  color: #202020;
  font-variant-numeric: lining-nums proportional-nums;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  /* 22px */
  letter-spacing: -0.66px;
}

.user--name-par {
  display: flex;
  gap: 1rem;
}

/* Modal New User End  */

/*  */
.user--balance_row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.balance-flex {
  display: flex;
  gap: 1rem;
  color: #202020;
}

.user__auth span {
  display: block;
  cursor: pointer;
}

.user__auth {
  display: flex;
  align-items: center;
  gap: 21px;
}

/*  */

/* Aside Start */
.aside--flex {
  display: flex;
  justify-content: space-between;
  padding: 1.125rem;
  background: #e1e1e1;
}

.aside {
  overflow-y: scroll;
  min-height: 200px;
  max-height: 500px;
  max-width: 780px;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.aside::-webkit-scrollbar {
  display: none;
}

.apexcharts-toolbar {
  display: none !important;
}

.aside-transactions-latest {
  display: flex;
  flex-direction: column;
  gap: 6px;

  border-radius: 0.5rem;
  background: var(--white, #fff);
  padding: 1rem;
  font-weight: 600;
  color: var(--text, #2f2f2f);
  font-size: 0.75rem;
  overflow-x: auto;
}

.aside-transactions-latest__title span {
  color: var(--red, #e52529);
  font-size: 0.625rem;
  font-weight: 700;
}

.aside-transactions-latest li {
  display: flex;
  padding: 6px 8px;
}

.aside-transactions-latest li span {
  width: 100%;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0px 3px;
  color: var(--text, #2f2f2f);
  font-size: 0.825rem;
}

/* .li__success--trade {
	background-color: rgb(46, 184, 92);
}

.li__lost--trade {
	background-color: rgb(229, 83, 83);
} */

/* .row__success--trade {
	color: #00FF47 !important;
}

.row__lost--trade {
	color: #F23645 !important;
} */

.row--company {
  color: #fff;
}

.success {
  /* text-transform: uppercase; */
  background: var(--text, #2f2f2f);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.profit {
  color: var(--green, #169c00) !important;
  font-size: 0.75rem;
  font-weight: 600;
  /* 0.75rem */
}

/* Aside End */

.info-row {
  display: flex;
  align-items: center;
  background: var(--light-gray, #ededed);
}

#content-chart {
  background-color: transparent;
}

.info-row__container {
  display: flex;
  align-items: center;
  height: 78px;
}

.user-row {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 40px;
}

.user-row_info {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 18px;
  position: relative;
  margin-right: 10px;
}

.user-row__profit {
  display: flex;
  align-items: center;
  gap: 18px;
}

.user-row_info:last-child::after {
  content: none;
}

.user-row-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--dark, #202020);
}

.user-row_info span[data-user-balance] {
}

.user-row-num {
  font-weight: 500;
  font-size: 22px;
  color: #ffffff;
}

.user-row-deals {
  font-size: 34px;
  color: #fff;
  font-weight: 600;
}

.main__title-container {
  background: var(--red, #e52529);
}

.main__title {
  max-width: max-content;
  margin: 2rem auto;
  text-wrap: balance;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  border-radius: 100px;
}

.buttons-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.button-trading {
  width: 170px;
  height: 42px;
  border-radius: 6px;
  text-transform: uppercase;
  font-size: 20px;
  color: #ffffff;
  letter-spacing: -0.03em;
  border: none;
  cursor: pointer;
}

.button-trading:disabled {
  cursor: not-allowed;
}

.button-trading.trading-start {
  position: relative;
  border-radius: 0.5rem;
  background: var(--red, #e52529);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.0225rem;
  text-transform: uppercase;
  transition: all 0.2s;
}

.button-trading.trading-start span {
  border: 2px solid var(--dark-gray);
  position: absolute;
  width: max-content;
  top: -50px;
  left: -50px;
  font-weight: 500;
  padding: 0.125rem;
  animation: pulse 1.5s ease-in-out infinite;
  background: var(--dark-gray);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.button-trading.trading-start:active,
.button-trading.trading-stop:active {
  box-shadow: 3px 3px 4px #000;
  transform: translateY(2px);
}

.button-trading.trading-stop {
  border-radius: 0.5rem;
  border: 2px solid #25cf44;
  background: var(--white, #fff);
  color: #25cf44;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.0225rem;
  text-transform: uppercase;
  transition: all 0.2s;
}

.user__auth-mob {
  display: none;
}

/*  */

._error {
  background-color: rgb(255, 0, 0, 0.6) !important;
  border: 1px solid rgb(255, 0, 0, 0.6) !important;
  color: #fff !important;
}

._error::placeholder {
  color: #fff !important;
}

._valid {
  background-color: rgb(0, 128, 0) !important;
  border: 1px solid rgb(0, 128, 0) !important;
  color: #000 !important;
}

._show {
  display: block;
}

._hideOpacity {
  opacity: 0;
}

._hide {
  display: none;
}

._hide_visibility {
  animation: hideElement 1s;
}
.__hideModal {
  display: none;
}

#lead__Modal {
  position: fixed;
  z-index: 111;
  inset: 0;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal__lead__wrapper {
  display: grid;
  width: 100%;
  height: 100%;
  align-items: center;
  overflow-x: hidden;
  /* justify-content: center; */
  padding: 1rem 0;
}

#lead__Modal .modal__lead__content {
  max-width: 24rem;
  min-width: 18rem;
  margin: 0rem auto;
  width: 100%;
  position: relative;
  padding: 2rem 1rem;
}

#leadModal__close {
  position: absolute;
  right: 0;
  top: -10px;
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@keyframes hideElement {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
  }
}

.user--name-par-mob {
  display: none;
}

/*  */
@media screen and (max-width: 1200px) {
  .user--name-par p {
    font-size: 18px;
  }

  .user--name-par span {
    font-size: 16px;
  }

  .user--made-today-text {
    font-size: 18px;
  }

  #user__get-money {
    font-size: 16px;
  }

  span[data-user-balance] {
    font-size: 16px;
    text-wrap: nowrap;
  }

  .user-row {
    gap: 1.5rem;
  }

  .user-row-deals {
    font-size: 22px;
  }

  .button-trading.trading-start {
    font-size: 20px;
  }

  .button-trading.trading-stop {
    font-size: 20px;
  }

  .button-trading {
    width: 150px;
  }

  .aside-transactions-latest__title {
    color: #fff;
    font-size: 14px;
  }
}

@media screen and (max-width: 992px) {
  .user--balance__mob {
    display: block;
  }

  .user--name-par {
    display: none;
  }

  .user__auth {
    display: none;
  }

  .header__user {
    flex-direction: column;
  }

  .user--name-par-mob {
    display: flex;
    border-radius: 0.75rem;
    border: 1px solid var(--light-green, #fff);
    padding: 0.75rem 1rem;
    gap: 0.625rem;
    background: #fff;
  }

  .user__auth-mob {
    display: flex;
  }

  .user--made-today,
  .user--balance_row,
  .user--name-par {
    margin-right: 0px;
  }

  .header__logo {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
  }
  .header__logo::before {
    content: "";
    position: absolute;
    width: calc(100% + 30px);
    top: 98%;
    left: -15px;
    height: 2px;
    background: #25cf44;
  }

  .user--name__item {
    display: flex;
    flex-direction: column-reverse;
    align-items: start;
  }

  .user--balance {
    position: relative;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    z-index: 1;
  }
  .user--balance::before {
    content: "";
    width: calc(100% + 30px);
    height: calc(100% + 59px);
    position: absolute;
    top: -24px;
    left: -15px;
    background: #e1e1e1;
    z-index: -1;
  }

  .flex-column {
    flex-direction: column;
    align-items: center;
  }

  #content-chart {
    display: flex;
    flex-direction: column-reverse;
  }

  .info-row__container {
    flex-direction: column-reverse;
    height: auto;
    gap: 2.5rem;
    padding: 3rem 0 1.5rem;
  }
  .user-row_balance {
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    padding: 10px 0px;
  }

  .buttons-row {
    margin: 0 auto;
    flex-direction: column;
  }

  .user-row {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .user-row > div {
    padding: 0.5rem 0;
  }

  .user-row_info::after {
    display: none;
  }

  .aside--flex {
    flex-direction: column-reverse;
    padding: 1rem 0.75rem;
    gap: 2rem;
    align-items: center;
  }

  .aside.aside-transactions .container {
    padding: 0;
  }

  .button-trading.trading-start span {
    left: initial;
    top: initial;
    transform: initial;
    top: -2.25rem;
    margin-left: -4rem;
    font-size: 1rem;
    /* left: 50%; */
  }
  .button-trading {
    width: 300px;
  }
  .button-trading.trading-start span {
    border: 2px solid #25cf44;
    background: #25cf44;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

@media screen and (max-width: 768px) {
  .user--made-today-inher {
    margin-right: 12px;
  }
  .main__title {
    max-width: max-content;
    margin: 2rem auto;
    text-wrap: balance;
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 12px 40px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    border-radius: 100px;
  }

  span[data-user-balance] {
    font-size: 16px;
    text-wrap: nowrap;
  }

  .header {
    padding: 10px 0 20px;
  }

  .header__user p {
    font-size: 16px;
  }

  span[data-user-balance] {
    font-size: 16px;
    text-wrap: nowrap;
  }

  .balance-flex span {
    font-size: 1rem;
  }
  .gap-2 {
    gap: 1rem;
  }

  .aside-transactions-latest__title {
    font-size: 0.9rem;
  }

  .li--deal span {
    font-size: 0.9rem;
  }

  .aside-transactions-latest li {
    padding: 4px 2px;
  }

  .main__title {
    margin: 1rem 0;
    font-size: 1.25rem;
    gap: 0.5rem;
  }

  .user-row-title {
    font-size: 1rem;
  }

  .user-row-deals {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 640px) {
  .header__user {
    flex-direction: column;
  }
}

@media screen and (max-width: 400px) {
  .aside-transactions-latest__title {
    font-size: 0.6rem;
  }
}

/*  */
.toggle-items {
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tg-list-item {
  display: flex;
  justify-content: space-around;
  width: 100%;
  align-items: center;
}

.tg-list-item p {
  color: #2f2f2f;
  font-size: 1.125rem;
  font-weight: 600;
  width: 14rem;
  text-align: right;
}

.tgl {
  display: none;
}

.tgl,
.tgl:after,
.tgl:before,
.tgl *,
.tgl *:after,
.tgl *:before,
.tgl + .tgl-btn {
  box-sizing: border-box;
}

.tgl::selection,
.tgl:after::selection,
.tgl:before::selection,
.tgl *::selection,
.tgl *:after::selection,
.tgl *:before::selection,
.tgl + .tgl-btn::selection {
  background: none;
}

.tgl + .tgl-btn {
  outline: 0;
  display: block;
  width: 4em;
  height: 2em;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.tgl + .tgl-btn:after,
.tgl + .tgl-btn:before {
  position: relative;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
}

.tgl + .tgl-btn:after {
  left: 0;
}

.tgl + .tgl-btn:before {
  display: none;
}

.tgl:checked + .tgl-btn:after {
  left: 50%;
}

.tgl-light + .tgl-btn {
  border-radius: 2em;
  padding: 2px;
  transition: all 0.4s ease;
  border: 2px solid var(--gray, #9c9c9c);
  background: var(--white, #fff);
}

.tgl-light + .tgl-btn:after {
  border-radius: 50%;
  background: var(--gray, #9c9c9c);
  border: 2px solid var(--gray, #9c9c9c);
  transition: all 0.2s ease;
}

.tgl-light:checked + .tgl-btn:after {
  background: #25cf44;
  border: 2px solid #25cf44;
}

.tgl-light:checked + .tgl-btn,
.tgl:checked + .tgl-btn {
  border: 2px solid #25cf44;
  background: var(--white, #fff);
}

@media screen and (max-width: 992px) {
  .button-trading.trading-start span {
    left: 23%;
  }
}
