/*.referral-section,
.chips-history,
.status-record {
    display: none;
}*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#ddd;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
}
a{
    text-decoration:none;
}

/* PHONE FRAME */
.phone{
    width:380px;
    height:720px;
    background:white;
    position:relative;   /* IMPORTANT */
    overflow:hidden;
    box-shadow:0 0 25px rgba(0,0,0,0.3);
    display:flex;
    flex-direction:column;
}

/* TOP BAR */
.top-bar{
    background:#5a2fc2;
    color:white;
    padding:15px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.coins{
    background:rgba(0,0,0,0.3);
    padding:6px 14px;
    border-radius:20px;
}

/* PAGE AREA */
.page{
    flex:1;
    overflow-y:auto;
    padding:20px;
    padding-bottom:90px; 
}


.earnings-card{
    background:#f1e9ff;
    padding:15px;
    border-radius:15px;
    display:flex;
    justify-content:space-between;
    font-weight:bold;
}

.power-section{
    text-align:center;
    margin-top:70px;
}

.power-btn{
    width:170px;
    height:170px;
    background:linear-gradient(135deg,#00c6ff,#0072ff);
    border-radius:50%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    color:white;
    font-size:30px;
    margin:auto;
    margin-bottom:10px;
    position: relative;
    animation: powerPulse 2s infinite ease-in-out;
}
.power-section a{
    text-decoration:none;
}

@keyframes powerPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(0,198,255,0.6),
                    0 0 20px rgba(0,114,255,0.4),
                    0 0 40px rgba(0,114,255,0.2);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 20px rgba(0,198,255,.9),
                    0 0 40px rgba(4, 189, 189, 0.8),
                    0 0 60px rgba(6, 158, 26, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(0,198,255,0.6),
                    0 0 20px rgba(0,114,255,0.4),
                    0 0 40px rgba(0,114,255,0.2);
    }
}

.power-btn span{
    margin-top:15px;
}
.bank{
    margin-top:30px;
    text-align:center;
    font-weight:bold;
}

.purchase-card{
    display:flex;
    align-items:center;
    padding:15px;
    border-radius:15px;
    margin-bottom:15px;
    color:white;
    position:relative;
    height: 160px;
    gap:20px;
}
.card-left img{
    background-size: cover;
    width: 50px;
    height: 50px;
    border-radius:50%;
    border:5px solid rgb(0, 132, 255);
}
.arrow-text{
    display: flex;
    justify-content: space-between;
    margin-top:10px;
    gap:5px;
    align-items: center;

}
.arrow{
    padding: 8px;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    border: 1px solid rgb(255, 255, 255);
}
.green{
    background:linear-gradient(135deg,#0bbf8a,#159c66);
}

.blue{
    background:linear-gradient(135deg,#1aa3ff,#136ad3);
}

.card-content h2{
    margin:0;
}

.card-content p{
    font-size:14px;
}

.card-content small{
    font-size:12px;
    opacity:0.8;
}

.card-text{
    padding-bottom: 10px;
    border-bottom: 1px solid white;
}


.bottom-nav{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:70px;
    background:#5a2fc2;
    display:flex;
    justify-content:space-around;
    align-items:center;
    color:white;
    z-index:999;
}

.bottom-nav a{
    text-align:center;
    text-decoration:none;
    color:white;
    opacity:0.6;
    font-size:14px;
}

.bottom-nav a.active{
    opacity:1;
}



.profile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:10px 0px;
}

.profile-image img{
   background-size: cover;
    width: 50px;
    height: 50px;
    border-radius:50%;
    border:5px solid rgb(0, 132, 255);
}


.upgrade{
    background:#5a2fc2;
    color:white;
    padding:18px;
    border-radius:16px;
    box-shadow:0 8px 20px rgba(0,0,0,.2);
}

.upgrade-top{
    display:flex;
    gap:15px;
    align-items:center;
}

.right-sign{
    width:45px;
    height:45px;
    background:#cfbdfb;
    color:#5a2fc2;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
}

.upgrade-middle,
.upgrade-bottom{
    display:flex;
    justify-content:space-between;
    margin-top:12px;
    font-size:14px;
}

/* Progress bar */
.progress-bar{
    width:100%;
    height:8px;
    background:#ddd;
    border-radius:10px;
    margin-top:8px;
    overflow:hidden;
}

.progress{
    width:80%;
    height:100%;
    background:#00ffb3;
}

.refund{
    margin-top:20px;
}

.option{
    background:#f5f5f5;
    padding:15px;
    border-radius:12px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:12px;
    font-weight:500;
}





.record-tabs{
    display:flex;
    justify-content:space-around;
    background:#f1e9ff;
    padding:10px;
    border-radius:10px;
}

.record-tabs span{
    font-weight:600;
    opacity:0.6;
}
.record-tabs a{
text-decoration: none;
}

.record-tabs .active{
    opacity:1;
    border-bottom:3px solid #5a2fc2;
    padding-bottom:5px;
}

.record-filter{
    display:flex;
    justify-content:space-between;
    margin:15px 0;
}

.record-filter button{
    padding:8px 14px;
    border:none;
    border-radius:8px;
    background:#eee;
}

.record-filter .active{
    background:#5a2fc2;
    color:white;
}

.icon-btn{
    width:40px;
}

.record-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.record-table thead th {
    text-align: left;
    font-size: 14px;
    color: #777;
    padding: 8px;
}

.record-table tbody tr {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.record-table td {
    padding: 12px 10px;
    font-size: 14px;
}

.record-table tbody tr td:first-child {
    border-radius: 12px 0 0 12px;
}

.record-table tbody tr td:last-child {
    border-radius: 0 12px 12px 0;
    text-align: right;
}

.success {
    color: #2ecc71;
    font-weight: bold;
}

.gray {
    color: #aaa;
}



/* chips start here */

.page-title{
    text-align:center;
    font-weight:700;
    margin:10px 0;
}

.chips-balance{
    background:linear-gradient(135deg,#5a2fc2,#7b4dff);
    color:white;
    text-align:center;
    padding:20px;
    border-radius:20px;
    margin:15px;
}

.chips-balance h1{
    margin-top:10px;
    font-size:32px;
}

.chips-list{
    padding:15px;
}

.chip-card{
    background:white;
    border-radius:15px;
    padding:15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:15px;
    box-shadow:0 5px 10px rgba(0,0,0,0.05);
}

.chip-left{
    width:50px;
    height:50px;
    background:#eee;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

.chip-text{
    flex:1;
    margin-left:15px;
}

.chip-text h4{
    margin:0;
}

.chip-text p{
    font-size:12px;
    color:#777;
}

.chip-amount{
    font-weight:700;
    color:#5a2fc2;
}

.chip-card.purple .chip-left{
    background:#e6ddff;
    color:#5a2fc2;
}

.chip-card.green .chip-left{
    background:#ddffe9;
    color:#1fa86d;
}

.chips-actions{
    display:flex;
    gap:10px;
    padding:15px;
}

.chips-actions button{
    flex:1;
    padding:12px;
    border:none;
    border-radius:12px;
    font-weight:700;
    cursor:pointer;
}

.btn-buy{
    background:#5a2fc2;
    color:white;
}

.btn-transfer{
    background:#eee;
    color:#333;
}





.chips-date{
    background:#fff;
    border-radius:15px;
    margin-bottom:15px;
    box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

.date-header{
    background:#5a2fc2;
    color:white;
    padding:10px 15px;
    border-radius:15px 15px 0 0;
    display:flex;
    justify-content:space-between;
    font-weight:600;
}

.chips-row{
    display:flex;
    justify-content:space-between;
    padding:12px 15px;
    border-bottom:1px solid #eee;
}

.chips-row p{ margin:0; font-weight:600; }
.chips-row small{ color:#777; font-size:12px; }

.amount{
    text-align:right;
    font-weight:600;
}

.amount span{
    color:#777;
    font-size:13px;
}

.negative{ color:#e74c3c; }

/* 
refferal style start here */
.referral-section{
    display:none;
    padding:15px;
    text-align:center;
}

.ref-filter{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-bottom:20px;
}

.ref-filter button{
    padding:8px 15px;
    border-radius:20px;
    border:1px solid #ccc;
    background:white;
    cursor:pointer;
}

.ref-filter .active{
    background:#5a2fc2;
    color:white;
}

.ref-header{
    display:flex;
    justify-content:space-between;
    padding:10px 15px;
    font-weight:600;
    color:#555;
}

.ref-empty{
    margin-top:40px;
    color:#888;
}

.ref-empty img{
    width:80px;
    opacity:0.5;
}

/* Bank Header */
.bank-header{
    display:flex;
    align-items:center;
    gap:10px;
    padding:15px;
    font-weight:bold;
    background:#fff;
    border-bottom:1px solid #eee;
}

/* Tabs */
.bank-tabs{
    display:flex;
    background:#f1e9ff;
    border-radius:12px;
    padding:5px;
    margin-bottom:15px;
}

.bank-tabs button{
    flex:1;
    border:none;
    background:transparent;
    padding:10px;
    border-radius:10px;
    font-weight:600;
}

.bank-tabs .active{
    background:white;
    color:#5a2fc2;
}

/* Filter */
.bank-filter{
    display:flex;
    justify-content:space-between;
    margin-bottom:15px;
}

/* Bank Cards */
.bank-card{
    background:#f1e9ff;
    border-radius:15px;
    padding:15px;
    display:flex;
    align-items:center;
    margin-bottom:15px;
}

.bank-card.active{
    border:2px solid #5a2fc2;
}

.bank-left img{
    width:50px;
    height:50px;
    margin-right:15px;
}

.bank-text h4{
    margin:0;
}

.enable{
    color:#2ecc71;
}

.disable{
    color:#999;
}

/* Note */
.bank-note{
    margin-top:30px;
    font-size:13px;
    color:#555;
    display:flex;
    gap:10px;
}


.bank-page{
    display:none;
}

.bank-page.active{
    display:block;
}

.add-method{
    display:flex;
    align-items:center;
    background:#f2f3ff;
    padding:15px;
    border-radius:12px;
    margin-top:20px;
}

.add-method img{
    width:40px;
    margin-right:15px;
}

.config-note{
    background:#f3f0ff;
    padding:12px;
    border-radius:12px;
    font-size:14px;
    margin-bottom:15px;
    color:#6b5cff;
}

.config-card{
    background:#f4f1ff;
    padding:15px;
    border-radius:16px;
    margin-bottom:20px;
}

.config-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.config-left{
    display:flex;
    gap:12px;
    align-items:center;
}

.config-left img{
    width:40px;
}

.config-left h4{
    margin:0;
    font-size:15px;
}

.config-left p{
    font-size:12px;
    color:#666;
}

.config-input{
    border:1px solid #ddd;
    border-radius:10px;
    padding:12px;
    display:flex;
    justify-content:space-between;
    margin-top:10px;
    font-size:14px;
}

.arrow-btn{
    width:40px;
    height:40px;
    background:#5b50e6;
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    margin:15px auto 0;
}

/* Toggle switch */
.toggle{
    position:relative;
    width:45px;
    height:24px;
}

.toggle input{
    display:none;
}

.toggle .slider{
    position:absolute;
    background:#ccc;
    width:100%;
    height:100%;
    border-radius:20px;
    transition:.3s;
}

.toggle .slider:before{
    content:"";
    position:absolute;
    width:20px;
    height:20px;
    background:white;
    border-radius:50%;
    top:2px;
    left:2px;
    transition:.3s;
}

.toggle input:checked + .slider{
    background:#4cd964;
}

.toggle input:checked + .slider:before{
    transform:translateX(20px);
}


.usdt-page{
    padding:15px;
    margin-bottom: 30px;
}

.usdt-title{
    text-align:center;
}

.usdt-title h3{
    margin:10px 0;
}

.usdt-title p{
    color:#ff9800;
    font-weight:600;
}

.usdt-card{
    background:#fff;
    padding:15px;
    border-radius:15px;
    margin-top:15px;
}

.usdt-range{
    background:#fff3cd;
    padding:8px;
    border-radius:10px;
    font-size:13px;
    margin:10px 0;
}

.usdt-address{
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#f2f0ff;
    padding:12px;
    border-radius:12px;
    gap:10px;
    overflow:hidden;
}
#usdtAddress{
    flex:1;
    font-size:14px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis; 
    color:#333;
}
#copyBtn{
    background:#5b50e6;
    color:#fff;
    border:none;
    padding:8px 14px;
    border-radius:8px;
    cursor:pointer;
    flex-shrink:0;
}

.qr-box{
    text-align:center;
    margin:15px 0;
}

.qr-box img{
    width:160px;
}

.save-btn{
    width:100%;
    padding:10px;
    border-radius:20px;
    border:1px solid #5b50e6;
    background:none;
    color:#5b50e6;
}

.usdt-suggest{
    background:#fff3cd;
    padding:10px;
    border-radius:10px;
    margin:15px 0;
    font-size:14px;
}

.chip-box{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#f2f2ff;
    padding:15px;
    border-radius:15px;
    margin-bottom:15px;
}

.chip-price{
    background:#5b50e6;
    color:white;
    padding:10px;
    border-radius:12px;
    text-align:center;
}

.chip-price span{
    display:block;
    font-size:10px;
}

.page-title{
    font-size:18px;
    font-weight:600;
    margin-bottom:15px;
}

.app-form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.app-form label{
    font-size:13px;
    color:#555;
}

.app-form input,
.app-form select{
    width:100%;
    padding:12px;
    border-radius:10px;
    border:1px solid #ddd;
    outline:none;
    font-size:14px;
}

.upload-box input{
    border:none;
    background:#f1f1f1;
    padding:12px;
    border-radius:10px;
}

.submit-btn{
    margin-top:10px;
    background:linear-gradient(135deg,#6a5cff,#4b3cff);
    color:white;
    border:none;
    padding:14px;
    border-radius:12px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
}


.usdt-screen{
    padding:15px;
    margin-bottom: 40px;
}

.usdt-top-box{
    background:#5b4ad8;
    color:white;
    border-radius:15px;
    padding:15px;
    text-align:center;
}

.usdt-amount{
    font-size:28px;
    font-weight:700;
}

.usdt-sub{
    font-size:12px;
    opacity:.8;
    margin-top:5px;
}

.usdt-break{
    display:flex;
    justify-content:space-around;
    margin-top:15px;
    background:#6a5cff;
    padding:12px;
    border-radius:12px;
    font-size:13px;
}

.usdt-card-ui{
    background:white;
    border-radius:15px;
    padding:15px;
    margin-top:15px;
    box-shadow:0 4px 10px rgba(0,0,0,.05);
}

.usdt-tip{
    background:#fff3cd;
    padding:10px;
    border-radius:10px;
    font-size:13px;
    margin:10px 0;
}

.usdt-address-box{
    background:#f3f3f3;
    padding:10px;
    border-radius:25px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:12px;
}

.usdt-address-box button{
    background:#5b4ad8;
    color:white;
    border:none;
    padding:8px 15px;
    border-radius:20px;
}

.usdt-qr{
    display:flex;
    justify-content:center;
    margin:15px 0;
}

.usdt-qr img{
    width:180px;
}

.qr-save-btn{
    width:100%;
    padding:12px;
    border-radius:25px;
    border:1px solid #5b4ad8;
    background:white;
    color:#5b4ad8;
    font-weight:600;
}

.transfer-btn{
    width:100%;
    margin-top:15px;
    background:linear-gradient(135deg,#5a7cff,#6f3cff);
    border:none;
    padding:15px;
    border-radius:30px;
    color:white;
    font-size:18px;
    font-weight:700;
}

.transfer-btn span{
    display:block;
    font-size:12px;
    opacity:.8;
}

.usdt-note{
    font-size:12px;
    text-align:center;
    margin-top:10px;
    color:#555;
}

.status-record {
    display: none;
}

.chips-history {
    display: none;
    padding: 10px;
}

.status-history {
    display: none;
    padding: 10px;
}
.chip-price > a{
    color:white;
}

.earning-section {
    width:100%;
}

.k-grid-content table, .k-grid-content-locked table {
    table-layout: unset !important;
}
table{
    width:100%;
}