:root{
    --from: #64A8F2;
    --from-hover: #64A8F2;
    --to: #9945FF;
    --to-hover: #57037e;
}

@font-face {
    font-family: montserrat;
    src: url("../fonts/montserrat.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: normal;
}

body{
    color: #fff;
    background: linear-gradient(to right,  var(--from) 0%,var(--to) 100%);
    padding-bottom: 70px;
    font-family: montserrat;
}
::selection {
    background-color: var(--to);
    color: #000;
}
.main-content, .bottom-content{
    font-family: montserrat !important;
}
.main-content{
    flex-direction: column;
    justify-content: flex-start;
}

#wrapper{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
nav.fixed-nav{
    z-index: 11;
    background-color: rgba(255, 255, 255, 0.1);
}
nav.fixed-nav a{
    color: #fff;
}
.triple-boxes{
    border: 1px solid #fff;
    padding: 20px;
    margin: 30px auto;
    position: relative;
    text-align: center;
}
.page-register .triple-boxes{
    padding-top: 50px;
}
.triple-boxes:before, .triple-boxes:after{
    content: "";
    position: absolute;
    border: 1px solid #fff;
    z-index: -1;
}
.triple-boxes:before{
    opacity: 0.5;
    width: calc( 100% + 14px);
    height: calc( 100% + 14px);
    top: -7px;
    left: -7px;
}
.triple-boxes:after{
    opacity: 0.2;
    width: calc( 100% + 28px);
    height: calc( 100% + 28px);
    top: -14px;
    left: -14px;
}

.circles{
    margin: 50px auto 30px;
    width: 160px;
    height: 160px;
    position: relative;
    border-radius: 50%;
}
.circles:before, .circles:after{
    display: none;
    content: "";
    position: absolute;
    border: 1px solid #fff;
    border-radius: 50%;
}
.circles:before{
    opacity: 0.5;
    width: 180px;
    height: 180px;
    top: -11px;
    left: -11px;
}
.circles:after{
    opacity: 0.2;
    width: 200px;
    height: 200px;
    top: -21px;
    left: -21px;
}
.circles img{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    max-width: calc(100% - 50px);
    max-height: calc(100% - 50px);
}
.circles img.sm{
    max-width: calc(100% - 70px);
    max-height: calc(100% - 70px);
}
.pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.pulse span {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    content: '';
    border: 0.1rem solid #fff;
    border-radius: 50%;
    z-index: -1;
    animation: animate 3s linear infinite;
}
.pulse span:nth-child(2) {
    animation-delay: -2s;
}
.pulse span:nth-child(3) {
    animation-delay: -1s;
}
@keyframes animate {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    5% {
        transform: scale(1.02);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

h1.caption{
    text-align: center;
    font-size: 2rem;
}
.h1-description{
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.2;
}
.description{
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.3;
    font-weight: 300;
}
.description b{
    font-weight: 700;
}
.wallet-box{
    border-radius: 12px;
    border: 2px solid #fff;
    padding: 20px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    margin: 0 auto;
}
.txt-wallet-address{
    color: #fff;
    border: none !important;
    outline: none !important;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 50px;
    font-size: 1.3rem;
    word-break: break-word;
    white-space: pre-wrap;
}
.txt-wallet-address:empty:before {
    content: attr(placeholder);
    color: #fff;
    display: block;
    position:absolute;    
    opacity: 0.5;
    font-weight: 300;
}
.btn-bottom-absolute{
    position: absolute;
    bottom: -10px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 175px;
    height: 20px;
    font-size: 0.9rem;
    line-height: 20px;
    z-index: 9;
}
.btn-bottom-absolute.h24{
    height: 24px;
    line-height: 24px;
}

.wrong-wallet{
    font-size: 0.9rem;
    height: 45px;
}
.wrong-wallet img{
    width: 20px;
    height: auto;
    margin: 0 10px;
}
.wrong-wallet span{
    white-space: nowrap;
}

.not-registered{
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
}
.not-registered .wallet-address{
    font-size: 1.7rem;
    line-height: 1.3;
    word-break: break-word;
}
.not-registered b{
    font-weight: 700;
}
.page-not-registered .btn-register, .btn-semi-bottom{
    position: absolute;
    right: 0;
    left: 0;
    margin: 0 auto;
    bottom: -16px;
    z-index: 2;
    width: 140px;
}
.btn-semi-bottom{
    bottom: -12px;
}
.page-not-registered .btn-back{
    width: 140px;
}
img.img-qr{
    margin: 1.3rem auto;
    display: block;
    max-width: 100%;
    width: 125px;
    padding: 0.1rem;
    background: #fff;
}

ul.steps{
    margin-top: 20px;
    margin-bottom: 40px;
    position: relative;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}
ul.steps li{
    padding: 0;
    width: 16px;
    height: 16px;
}
ul.steps li.active{
    width: auto;
    height: auto;
}
ul.steps li a{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    background: #fff;
    color: var(--from);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    transition: ease 0.2s all;
}
ul.steps li a:before{
    content: "";
    position: absolute;
    right: -20px;
    width: 20px;
    bottom: 0;
    top: 0;
    margin: auto;
    height: 1px;
    background: #fff;
    z-index: -1;
}
ul.steps li:last-child a:before{
    display: none;
}
ul.steps li.active a{
    color: var(--to);
    padding: 2px 16px 2px 4px;
    font-size: 1rem;
}
ul.steps li:not(.active) a, ul.steps li.active a.opacity-50{
    cursor: default;
}

ul.steps li .caption{
    display: none;
}
ul.steps li.active .caption{
    display: block;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.5rem;
}
ul.steps li .num{
    border: 1px solid transparent;
    border-radius: 20px;
    font-size: 0.6rem;
    line-height: 0.6rem;
}
ul.steps li.active .num{
    border-color: var(--to);
    font-size: 0.8rem;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.your-wallet-box{
    position: relative;
    border-radius: 12px;
    border: 1px solid #fff;
    padding: 20px 10px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    margin: 0 auto;
    min-height: 50px;
    font-size: 1rem;
    word-break: break-word;
    white-space: pre-wrap;
}
.page-main .your-wallet-box{
    padding: 20px 10px;
}
.your-wallet-box h5{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    font-size: 0.8em;
    height: 1.5rem;
    line-height: 0.8rem;
    font-weight: 600;
    top: -11px;
    right: 0;
    left: 0;
    margin: 0 auto;
    border-radius: 15px;
    z-index: 2;
    border: 1px solid #fff;
    background: #7f78f9;
}
.page-register3 .notice, .page-register3 .notice-dont{
    font-size: 0.6rem;
    line-height: 1.2;
    font-weight: 700;
    margin: 20px auto 5px;
}
.page-register3 .notice img{
    width: 20px;
    height: auto;
    margin: 0 10px;
}
.page-register3 .notice-dont{
    font-weight: 400;
    font-size: 0.65rem;
    margin-top: 0;
}
.wallet-box.copy{
    border-width: 1px;
    margin-top: 10px;
}
.page-register3 .lbl-wallet {
    width: 100%;
    min-height: 50px;
    font-size: 1.3rem;
    word-break: break-word;
    white-space: pre-wrap;
}
.copy .btn-bottom-absolute{
    width: 155px;
}

.img-borders{
    border-radius: 8px;
    border: 1px solid #fff;
    padding: 3px;
    margin: 30px auto 0;
    position: relative;
    text-align: center;
    width: 120px;
}
.img-borders img{
    width: 100%;
    margin: 0;
    border-radius: 6px;
}
.img-borders:before, .img-borders:after{
    content: "";
    position: absolute;
    border: 1px solid #fff;
    z-index: -1;

}
.img-borders:before{
    opacity: 0.5;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    top: -5px;
    left: -5px;
    border-radius: 10px;
}
.img-borders:after{
    opacity: 0.2;
    width: calc(100% + 18px);
    height: calc(100% + 18px);
    border-radius: 12px;
    top: -9px;
    left: -9px;
}
.pay-amount{
    margin-top: 20px;
    font-size: 1.3rem;
    line-height: 1.2rem;
}
#btnLogin, #btnRegister{
    width: 160px;
    text-align: center;
}
#btnRefreshPage{
    color: var(--to);
}
#btnRefreshPage:hover{
    color: var(--to-hover);
}
.income-box{
    margin-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1rem;
}
.income-box:last-child{
    margin-top: 20px;
}
#totalIncome{
    font-weight: 700;
    font-size: 1.2rem;
}
#weekIncome{
    font-weight: 300;
    line-height: 1.6rem;
    font-size: 1.8rem;
}
a.btn-go-report{
    font-size: 0.9rem;
    line-height: 20px;
}
.not-confirmed{
    line-height: 1.4rem;
}
.statistics-and-support{
    margin-top: 15px;
    font-size: 0.8rem;
}
.statistics-and-support .statistics{
    padding-bottom: 10px;
}
.statistics-and-support .support{
    padding-top: 10px;
}
.statistics-and-support .caption{
    font-weight: 600;
}
.content .line .person{
    margin-right: 5px;
    margin-left: 5px;
}
.content .line .energy{
    margin-left: 5px;
}

.remain-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.remain-box .battery-box{
    width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.remain-box .battery{
    width: 95px;
    border-radius: 4px;
    background: #fff;
    position: relative;
    height: 30px;
    width: 90px;
    margin-right: auto;
    padding: 6px 10px;
}
.remain-box .battery:before{
    content: "";
    position: absolute;
    height: 50%;
    width: 6px;
    top: 0;
    bottom: 0;
    right: -6px;
    margin: auto;
    background: #fff;
    border-radius: 0 4px 4px 0;
}
.equal-chars{
    font-feature-settings: 'tnum';
    /* display: inline-block; Ensure spacing is preserved */
}
.battery .charge{
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    overflow: hidden;
}
.battery .charge:before{
    content: "";
    position: absolute;
    width: 20px;
    height: 100%;
    left: -20px;
    background: linear-gradient(to right,  rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 100%);
    z-index: 4;
    animation: ltr normal 6s infinite ease-in-out;
    transform: skewX(-10deg);
}
.battery .charge .fill{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    bottom: 6px;
    z-index: 3;
    border-radius: 2px;
}
.remain-box.high .charge:before{
    animation-delay: 0;
}
.remain-box.mid .charge:before{
    animation-delay: 2s;
}
.remain-box.low .charge:before{
    animation-delay: 4s;
}
.remain-box.high .fill{
    background: #1dc131;
}
.remain-box.mid .fill{
    background: #00bba4;
}
.remain-box.low .fill{
    background: #0091f9;
}
.remain-box .days{
    text-align: center;
    font-size: 0.75rem;
}
.remain-box .number-box{
    font-size: 1.4rem;
    line-height: 1.5rem;
}
.remain-box .title, .remain-box .person{
    font-size: 0.8rem;
    line-height: 1rem;
}

.alert-box{
    z-index: 11;
    min-width: 250px;
}
.btn-close-alert{
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.25);
}
.btn-close-alert:hover{
    background: rgba(255, 255, 255, 0.4);
}

.income .income-num{
    background: #7f78f9;
}
#headlessui-portal-root{
    position: relative;
    z-index: 10;
}


/* ==================== Animations ==================== */
@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes ltr {
    0% {
        left: -30px;
    }
    33%, 100% {
        left: 100%;
    }
}


/* ==================== Responsive ==================== */
@media (min-width: 768px){
    .main-content{
        margin-bottom: 50px;
    }
}
@media (max-width: 767px){
    .main-content{
        min-height: calc(100vh - 250px);
    }
}
@media (max-width: 420px){
    .triple-boxes{
        margin-right: 30px;
        margin-left: 30px;
    }
    .not-registered{
        font-size: 1.3rem;
    }
    .not-registered .wallet-address{
        font-size: 1.4rem;
    }
    .triple-boxes {
        padding: 20px 10px;
    }
}
@media (max-width: 370px){
    .wrong-wallet span {
        font-size: 0.8rem;
    }
    .wrong-wallet img{
        width: 16px;
        margin: 0 5px;
    }
}