

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
}

body {
    width: 100%;
    background: #fdf9e1;
}

button{
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    margin-top: 80px;
    background: gainsboro;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

header{
    height: 80px;
    /* border: 1px solid #000; */
    box-shadow: 0px 5px 5px rgba(106, 106, 106, 0.107);
    background-color: #ffffff;
    padding-left: 1.2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    top: 0;
    z-index: 999;
    position: sticky;
}

.lheader{
    padding-top: 0.9rem;
    padding-left: 1px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
}

.hamburger{
    cursor: pointer;
    height: 35px;
    width: 35px;
}

ul{
    text-decoration: none;
    list-style: none;
}
ul div{
    height: 48px;
    width: 100%;
    text-align: left;
    /* border: 1px solid #000; */
    border-radius: 12px;
    padding-left: 0.5rem;
    margin-bottom: 1rem;
}

li{
    color:#000;
}
a{
    font-weight: 700;
    font-size: 14px;
    line-height: 48px;
    color:#1f2937;
    text-decoration: none;
}

.sticky-menu{
    transform: translateX(-100%);
    padding-top: 104px;
    padding-left: 1rem;
    padding-right: 1rem;
    top: 5rem;
    width: 235px;
    height: 100dvh;
    background-color: #fff;
    box-shadow: 0px 5px 5px rgba(106, 106, 106, 0.107);
    position: fixed;
    left: 0px;
    z-index: 998;
    transition: transform 0.3s ease;
    margin-top: -80px;
    /* padding-top: 250px; */
    /* height: 200px;*/
}

.sticky-menu .ico:hover{
    cursor: pointer;
    background-color: #589eff1f;
}

.sticky-menu.active {
    transform: translateX(0);
}

.ico{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding-left: 0.5rem;
    border-radius: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.menusocial{
    text-align: center;
    border-top: 1px solid #00000015
}

.menusocial:hover{
    background-color: white;
}

.hamburger i {
    font-size: 16px; /* or whatever size you desire */
    color: #000000;
    transform: scale(1.2,1);
}


.logo{
    height: 35px;
    width: 35px;
}


/*rheader*/
.rheader{
    width: 20.5%;
    padding-right: 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
}

.net{
    height: 45px;
    width: 120px;
    border-radius: 10px;
    border: 1px solid #000;
}

.content{
    height: 45px;
    width: 155px;
    border-radius: 12px;
    background-color: #000;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 14px;
}


.sec6{
    margin-top: 4rem;
    background-color: #0e0e0c;
    width: 100%;
    height: 18.3rem;
    color: #fff;
    /* margin-left: -109px; */
    padding-left: 2rem;
    padding-right: 2rem;

}

.sec6content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.sec6-1{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-top: 2rem;
    height: 150px;
    margin-bottom: 3rem;
}
.feature ul li a{
    color: #fff;
    font-weight: 300;
    font-size: 14px;
    line-height: 14px;
}

.feature ul li{
    margin-bottom: 10px;
}

.feature h4{
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 14px;
    line-height: 14px;
}

.sec6-2{
    text-align: center;
    background-color: #272725;
    border-radius: 1rem;
    height: 55px;
}

.footer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 2rem;
    padding-right: 2rem;
}

.social{
    padding-top: 4px;
    line-height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.social a {
    height: 37px;
}

.social svg{
    margin-right: 1.5rem;   
}
.social svg:hover{
    cursor: pointer;
    
}
.copyright{
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 55px;
}

.outer{
    padding-left: 0rem;
    transition: 0.3s ease;
}

/* ── Vote page ── */
.vote-page{
    max-width: 920px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.vote-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.vote-header-text h1{
    font-weight: 700;
    font-size: 40px;
    line-height: 1.1;
    color: #0e0e0c;
    margin-bottom: 0.55rem;
}

.vote-header-text p{
    font-weight: 400;
    font-size: 15px;
    line-height: 1.45;
    color: #5a5a5a;
    max-width: 540px;
}

.epoch-badge{
    flex-shrink: 0;
    background: #ffd84d;
    color: #0e0e0c;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
}

.vote-stats{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card{
    background: #fff;
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.stat-card p{
    font-weight: 500;
    font-size: 13px;
    line-height: 1.2;
    color: #7a7a7a;
    margin-bottom: 0.45rem;
}

.stat-card h2{
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    color: #0e0e0c;
}

.stat-card h2 span{
    font-size: 16px;
    font-weight: 600;
    color: #8a8a8a;
}

.allocation-card,
.cast-card{
    background: #fff;
    border-radius: 18px;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.allocation-header,
.cast-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.1rem;
    gap: 0.75rem;
}

.allocation-header h2,
.cast-header h2{
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    color: #0e0e0c;
}

.allocation-header p,
.cast-header p{
    font-weight: 500;
    font-size: 13px;
    color: #7a7a7a;
}

.cast-header strong{
    color: #0e0e0c;
    font-weight: 700;
}

.allocation-bar{
    display: flex;
    width: 100%;
    height: 40px;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.allocation-bar .seg{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.seg-green{ background: #239f75; }
.seg-pink{ background: #d14d72; }
.seg-blue{ background: #3f88d7; }

.allocation-legend{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legend-item{
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 500;
    font-size: 13px;
    color: #4a4a4a;
}

.legend-dot{
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}

.legend-dot.green{ background: #239f75; }
.legend-dot.pink{ background: #d14d72; }
.legend-dot.blue{ background: #3f88d7; }

.vote-inputs{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.vote-input-card{
    background: #fff;
    border: 1px solid #f0ebe0;
    border-radius: 14px;
    padding: 1rem;
    border-top-width: 3px;
}

.vote-input-card.accent-green{ border-top-color: #239f75; }
.vote-input-card.accent-pink{ border-top-color: #d14d72; }
.vote-input-card.accent-blue{ border-top-color: #3f88d7; }

.vote-input-top{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.9rem;
}

.vote-icon{
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vote-icon.green{
    background: rgba(35, 159, 117, 0.12);
    color: #239f75;
}
.vote-icon.pink{
    background: rgba(209, 77, 114, 0.12);
    color: #d14d72;
}
.vote-icon.blue{
    background: rgba(63, 136, 215, 0.12);
    color: #3f88d7;
}

.vote-input-card h3{
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    color: #0e0e0c;
    margin-bottom: 0.2rem;
}

.vote-input-card .vote-input-top p{
    font-weight: 400;
    font-size: 12px;
    line-height: 1.3;
    color: #8a8a8a;
    margin-bottom: 0;
}

.pinput{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #fbf3ca;
    height: 48px;
    padding: 0 1rem;
    border-radius: 10px;
    width: 100%;
    margin-bottom: 0.75rem;
    border: 1px solid transparent;
    transition: border-color 0.15s ease;
}

.pinput input{
    background-color: transparent;
    outline: none;
    border: none;
    width: 100%;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #0e0e0c;
    font-family: inherit;
}

.pinput input::-webkit-outer-spin-button,
.pinput input::-webkit-inner-spin-button{
    -webkit-appearance: none;
    margin: 0;
}

.pinput input[type=number]{
    -moz-appearance: textfield;
}

.pinput span{
    font-weight: 600;
    font-size: 16px;
    color: #6a6a6a;
    margin-left: 0.5rem;
}

.vote-weight{
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
}

.vote-weight.green{ color: #239f75; }
.vote-weight.pink{ color: #d14d72; }
.vote-weight.blue{ color: #3f88d7; }

.total-bar{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: #fbf3ca;
    border-radius: 12px;
    padding: 0.9rem 1.15rem;
    margin-bottom: 1rem;
}

.total-bar span{
    font-weight: 500;
    font-size: 14px;
    color: #7a7a7a;
}

.total-bar strong{
    font-weight: 700;
    font-size: 14px;
    color: #1a7a4c;
}

.total-bar.invalid strong{
    color: #c0392b;
}

.confirm-btn{
    width: 100%;
    height: 52px;
    font-weight: 700;
    font-size: 16px;
    background-color: #0e0e0c;
    color: #fff;
    border-radius: 12px;
    transition: opacity 0.15s ease;
}

.confirm-btn:hover{
    opacity: 0.9;
}

.active-border {
    border-color: #0e0e0c;
}

@media (max-width: 860px){
    .vote-stats,
    .vote-inputs{
        grid-template-columns: 1fr;
    }

    .vote-header{
        flex-direction: column;
        align-items: flex-start;
    }

    .vote-header-text h1{
        font-size: 32px;
    }

    .allocation-header,
    .cast-header{
        flex-direction: column;
        align-items: flex-start;
    }
}
.switch {
    position: relative;
    display: inline-block;
    width: 90px; /* Width of the entire switch, adjust as needed */
    height: 30px; /* Height of the switch */
    vertical-align: middle; /* To align with the labels properly */
  }
  
  .switch input[type="checkbox"] {
    display: none; /* Hide the default checkbox */
  }
  
  .switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px; /* Makes it rounded */
  }
  
  .switch label:before {
    position: absolute;
    content: "";
    height: 30px;
    width: 26px; /* Width of the toggle circle */
    left: 2px;
    bottom: 2px;
    background-color: transparent;
    transition: .4s;
    border-radius: 50%; /* Makes it rounded */
  }
  
  .switch input[type="checkbox"]:checked + label {
    background-color: #F0B90B; /* Change background when toggled on */
  }
  
  .switch input[type="checkbox"]:checked + label:before {
    transform: translateX(60px); /* Adjusted transform value for the toggle circle */
  }
  
  div.btn-container{
      display: table-cell;
      vertical-align: middle;
      text-align: center;
      margin-right: 2rem;
  }
  
  div.btn-container i{
      display: inline-block;
      position: relative;
      top: -9px;
  }
  
  label {
      font-size: 16px;
      color: #000000;
      line-height: 30px;
      font-weight: 700;
  }
  
  .btn-color-mode-switch{
      display: inline-block;
      margin: 0px;
      position: relative;
  }
  
  .btn-color-mode-switch > label.btn-color-mode-switch-inner{
      margin: 0px;
      width: 500px;
      height: 40px;
      background: #ffffff;
      border-radius: 26px;
      overflow: hidden;
      position: relative;
      transition: all 0.3s ease;
      box-shadow: 0px 0px 8px 0px rgba(17, 17, 17, 0.34) ;
      display: block;
      transition: all 0.3s ease;
  }
  
  /* .btn-color-mode-switch > label.btn-color-mode-switch-inner:before{
      content: attr(data-on);
      position: absolute;
      font-size: 12px;
      font-weight: 500;
      top: 7px;
      right: 20px;
  } */
  
  .btn-color-mode-switch > label.btn-color-mode-switch-inner:after{
      content: attr(data-off);
      width: 250px;
      height: 25px;
      background:#ffac00;
      border-radius: 26px;
      position: absolute;
      left: 2px;
      top: 2px;
      text-align: center;
      transition: all 0.3s ease;
      box-shadow: 0px 0px 6px -2px #111;
      padding: 5px 0px;
  }
  
  .btn-color-mode-switch > .alert{
      /* display: none; */
      background: #f19100;
      border: none;
      color: #000000;
  }
  
  .btn-color-mode-switch input[type="checkbox"]{
      cursor: pointer;
      width: 50px;
      height: 25px;
      opacity: 0;
      position: absolute;
      top: 0;
      z-index: 1;
      margin: 0px;
  }
  
  .btn-color-mode-switch input[type="checkbox"]:checked + label.btn-color-mode-switch-inner{
      background: #ffffff;
      color: #000;
  }
  
  .btn-color-mode-switch input[type="checkbox"]:checked + label.btn-color-mode-switch-inner:after{
      content: attr(data-on);
      width: 250px;
      left: 249px;
      font-size: 14px;
      background: #ffac00;
      line-height: 27px;
      transition: all 0.3s ease;
  }
  

  .btn-color-mode-switch input[type="checkbox"]:checked + label.btn-color-mode-switch-inner:after {
    content: attr(data-on);  /* This sets the content to "Unstake" */
    width: 250px;
    left: 249px;  /* This will move the "Unstake" label to the right */
    font-size: 14px;
    background: #ffac00;
    line-height: 27px;
    transition: all 0.3s ease;
}


  

  
  .btn-color-mode-switch input[type="checkbox"]:checked ~ .alert{
      display: block;
  }
  
  /*mode preview*/
  .dark-preview{
      background: #0d0d0d;
  }
  
  .dark-preview div.btn-container i.fa-sun-o{
      color: #777;
  }
  
  .dark-preview div.btn-container i.fa-moon-o{
      color: #fff;
      text-shadow: 0px 0px 11px #fff;
  }
  
  .white-preview{
      background: #fff;
  }
  
  .white-preview div.btn-container i.fa-sun-o{
      color: #ffa500;
      text-shadow: 0px 0px 16px #ffa500;
  }
  
  .white-preview div.btn-container i.fa-moon-o{
      color: #777;
  }

.stakecards{
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    background-color: #fff;
    width: 71.6%;
    height: 370px;
    border-radius: 1.5rem;
    position: absolute;
    left: 215px;
    bottom:50px;
    padding: 0.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.side1{
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    padding: 0.5rem;
    border-right: 1px solid #00000016;
}

.calign{
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.side1 button, .side2 button{
    width: 60%;
    height: 45px;
    font-weight: 700;
    font-size:14px;
    background-color: #000;
    color: #fff;
    border-radius: 10px;
}

.top1{
    padding: 0.5rem;
    height:100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}

.toggleswitch1{
    padding-bottom: 1.5rem;
}

.color_mode{
    box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.066);
}

.tokenid{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.tokenid p{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.tokenid h3{
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
}

.side2{
    padding: 0.5rem;
    width: 50%;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
}

.side2row-1, .side2row-2{
    width: 100%;
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-bottom: 1rem;
}

.type2name{
    display:flex;
    flex-direction: row;
    justify-content: start;
}

.type2name p{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.side2row-1 h3, .side2row-2 h3{
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
}

.side2row-1 p, .side2row-2 p{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.side2 >p{
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    
}

.side2 h2{
    margin-left: 7px;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 1rem;
}



.x {
    position: relative;
    display: inline-block;
}

.x-menu {
    display: none; /* Initially hidden */
    background-color: #f9f9f9;
    width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.052);
    border-radius: 0.5rem;
    margin-left: 4px;
    height: 95px;
}

.x-menu a {
    color: black;
    padding: 0;
    text-decoration: none;
    display: block;
    text-align: center;
    border-radius: 0.5rem;
}
.x-menu a:hover{
    background-color: #589eff39;
}

.sec6-1logo{
    display: flex;
    flex-direction: row;
}

.iiname{
    display: flex;
    align-items: start;
    justify-content: start;
    margin-bottom: 1rem;
}

.x-toggle {
    display: inline-block;
    width: 82%;
}
.x-link {
    display: inline-block;
    width: 82%;
}
