*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,body{
  width: 100%;
  height: 100%;
  background-color: #000;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.bg{
  background: #000;
  width: 100%;
  flex: 1;
  position: relative;
}
.tl{
  clip-path: polygon(0 0, 34vw 0, 0 30vw, 0 34vw, 39vw 0, 39.1vw 0, 0 34.1vw);
  background: #2E2739;
  width: 39.1vw;
  height: 34.1vw;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.bl{
  clip-path: polygon(0 0, 41vw 35vw, 40.9vw 35vw, 0 0.1vw, 0 4vw, 36vw 35vw, 0 35vw);
  background: #2E2739;
  width: 41vw;
  height: 35vw;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.br{
  clip-path: polygon(10vw 0, 0 8.6vw, 0 100%, 0.1vw 100%, 0.1vw 8.6vw, 10vw 0.1vw, 10vw 4.6vw, 3.1vw 10.1vw, 3.1vw 100%, 10vw 100%);
  background: #2E2739;
  position: absolute;
  width: 10vw;
  top: 32vw;
  bottom: 0;
  right: 0;
}


.content {
  position: relative;
  width: 75vw;
  display: flex;
  align-items: center;
  padding: 0 8px;
  flex-direction: column;
  color: white;
  margin: 0 auto;
  z-index: 10;
  margin-bottom: 100px;
}

.stake-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFFFFF;
  margin-top: 134px;
}
.stake-header .title {
  font-family: "Anton", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 50px;
  line-height: 75px;
}
.stake-header .title .title_c{
  color: #bc7fff;
  font-style: normal;
}
.stake-header .title-total-stake{
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-size: 42px;
  line-height: 63px;
  color: #18151E;
  padding: 0px 20px;
  background-color: #fec35b;
  border-radius: 31px;
  margin-top: 50px;
}
.stake-header .title-cec {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-size: 70px;
  line-height: 105px;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 28px;
}
.stake-header .title-cec i {
  font-style: normal;
}
.stake-header .title-cec img{
  width: 71px;
  height: 68px;
  margin-right: 30px;
}

.content-border{
  padding: 4px;
  background: linear-gradient(to right, #3E36AF,  #BF8CFD, #3E36AF);
  box-shadow: 0 4px 8px 0 rgba(189, 128, 255, 0.2), 0 6px 20px 0 rgba(189, 128, 255, 0.2);
  border-radius: 40px;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 5px;
}

.border-content{
  background-color: #000;
  border-radius: 37px;
  padding: 40px 60px;
}

.border-content{
  color: #FFFFFF;
  font-style: normal;
}
.border-content .title{
  font-family: 'Anton';
  font-weight: 400;
  font-size: 36px;
  line-height: 54px;
}

.border-content .desc{
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-size: 22px;
  line-height: 130%;

  margin-left: 66px;
  margin-top: 30px;
}

.border-content .title-sub{
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-size: 28px;
  line-height: 42px;

  margin-left: 66px;
  margin-top: 30px;
}
.border-content .chart{
  width: 61vw;
  height: 27.5vw;
  margin-left: 66px;
  /* margin-right: 66px; */
  position: relative;
}

.border-content .chart .tabs {
  position: absolute;
  top: -1rem;      
  right: 1rem; 
  display: flex;
}
.border-content .chart .tab {
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 0.25rem 0.25rem 0 0;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease; 
}
.border-content .chart .tab.active {
  color: #bd80ff; 
}

.border-content .btns{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin-top: 30px;
  width: 100%;
}
.btn {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 48px;
  min-width: 240px;
  height: 78px;
  border-radius: 9999px;
}
.bg-main-btn {
  color: #000;
  background-color: #bd80ff;
}
.bg-main-btn:hover {
  background-color: #dcc1f9;
}

.btn:hover{
  filter: blur(0.1rem) brightness(1.5);
}

.main-btn{
  background-color: #bd80ff;
  color: #000;
  padding: 2px 28px;
}
.sub-btn {
  border: 2px solid #bd80ff;
  color: #bd80ff;
  padding: 2px 28px;
}

.btn:disabled{
  background-color: #2E2737;
  color: #80719A;
  border: none;
}

.border-content .table {
  margin-left: 66px;
  margin-top: 40px;
  background-color: #241D2D;
  width: 61vw;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 80px;
}
.table .table-header .table-col {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 42px;
  text-align: center;
}
.table .table-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  padding: 0 20px;
  margin-top: 20px;
}
.stake-table .table-row .table-col:nth-child(1)  {
  width: 40%;
}
.stake-table .table-row .table-col:nth-child(2)  {
  width: 20%;
}
.stake-table .table-row .table-col:nth-child(3)  {
  width: 40%;
}

.table .table-body {
  border: 2px solid #80719A;
  border-radius: 32px;
  background: linear-gradient(to right, #241E31, #3B3261, #241E31);
}
.table .table-body .table-col {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-size: 26px;
  line-height: 90px;
  height: 90px;
  text-align: center;
}
.table .table-body .two-line {
  line-height: 42px;
}

.reward-table .table-row .table-col:nth-child(1)  {
  width: 40%;
}
.reward-table .table-row .table-col:nth-child(2)  {
  width: 20%;
}
.reward-table .table-row .table-col:nth-child(3)  {
  width: 40%;
}

/* input area */
.border-content .input{
  margin-left: 150px;
  margin-top: 40px;
  width: 52vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.input .input-titla {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 42px;
}

.input .input-row {
  width: 100%;
  height: 70px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  border: 2px solid #80719A;
  border-radius: 32px;

  margin-top: 10px;
  margin-bottom: 10px;
}

.input .input-row input {
  width: 80%;
  height: 100%;
  padding: 0 40px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-size: 26px;
  line-height: 42px;
}
.input .input-row input:focus {
  outline: none;
  border: none;
  background: none;
}

.input .input-row .max-btn {
  border: 2px solid #80719A;
  border-radius: 32px;
  width: 228px;
  height: 70px;
  margin-right: -2px;
  margin-top: -2px;
  line-height: 70px;
  text-align: center;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-size: 26px;
  cursor: pointer;
}
.input .input-row .max-btn:hover {
  filter: blur(0.1rem) brightness(1.5);
}

.dashboard {
  max-height: calc(100vh - 10vw);
  overflow-y: auto;
}

/* modal */
.modal-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.modal-bg {
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}
.modal {
  position: fixed;
  z-index: 11;
  left: 12vw;
  top: 5vw;
  overflow: auto;
  width: 76vw;
  display: flex;
  align-items: center;
  flex-direction: column;
  color: white;
}
.close-btn{
  position: fixed;
  right: 12vw;
  top: 5vw;
  z-index: 100;
  background-color: #2E2739;
  border-radius: 20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.wallet-list .close-btn{
  right: 25vw;
}
.close-btn:hover{
  filter: blur(0.1rem) brightness(1.5);
}

.close-btn img{
  width: 40px;
  height: 40px;
}

/* one wallet */
.wallet-list .modal{
  width: 50vw;
  left: 25vw;
}
.border-content .one-wallet{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border: 2px solid #80719A;
  border-radius: 32px;
  padding: 10px 30px;
  align-items: center;
  margin: 10px 0;
  cursor: pointer;
}
.border-content .one-wallet:hover{
  background-color: #80719A;
}
.one-wallet .icon {
  width: 40px;
  height: 40px;
}
.one-wallet .icon img{
  width: 40px;
  height: 40px;
}
.one-wallet .name {
  width: 26%;
  font-family: 'Poppins';
  font-style: normal;
  font-size: 20px;
}
.one-wallet .status {
  width: 60%;
  text-align: right;
  font-family: 'Poppins';
  font-style: normal;
  font-size: 20px;
  color: #a39caa;
}

.relative::before {
  content: '';
  position: absolute;
  left: 22px; 
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 3px solid #bd80ff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none; 
}


.relative.loading::before {
  display: block; 
}

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}
.text-main {
  color: #bd80ff;
}
.tr-connect{
  position: absolute;
  top: 5px;
  right: 0;
}

.disconnect-btn {
  border: 2px solid #bd80ff;
  color: #bd80ff;
  border-radius: 9999px;
  text-align: center;
  margin-bottom: 5px;
  cursor: pointer;
}