/*==========================================================
FILE : auth/css/wallet.css
VERSION : V3
STATUS : Production Ready
==========================================================*/
:root{
--primary:#18B64A;
--primary-dark:#13963D;
--primary-light:#ECFDF3;
--secondary:#22C55E;
--white:#FFFFFF;
--bg:#F5F8FB;
--border:#E7EDF4;
--text:#1E293B;
--text-light:#64748B;
--shadow:0 20px 45px rgba(15,23,42,.08);
--radius:24px;
}
body{
margin:0;
padding:0;
font-family:'Poppins',sans-serif;
background:var(--bg);
color:var(--text);
overflow-x:hidden;
}
.main{
margin-left:290px;
min-height:100vh;
transition:.35s;
}
.wallet-v3{
padding:35px;
max-width:1200px;
}
.wallet-page-header{
display:flex;
align-items:center;
justify-content:space-between;
gap:40px;
margin-bottom:35px;
}
.wallet-page-header h1{
margin:15px 0 12px;
font-size:40px;
font-weight:800;
color:var(--text);
}
.wallet-page-header p{
max-width:620px;
font-size:16px;
line-height:30px;
color:var(--text-light);
}
.wallet-badge{
display:inline-flex;
align-items:center;
gap:10px;
padding:10px 18px;
border-radius:50px;
background:var(--primary-light);
color:var(--primary);
font-size:14px;
font-weight:700;
}
.wallet-header-actions{
display:flex;
gap:18px;
}
.btn-primary{
display:inline-flex;
align-items:center;
justify-content:center;
gap:10px;
height:56px;
padding:0 28px;
border-radius:16px;
background:linear-gradient(135deg,#18B64A,#22C55E);
color:#FFF;
text-decoration:none;
font-weight:700;
box-shadow:0 15px 30px rgba(24,182,74,.22);
transition:.30s;
}
.btn-primary:hover{
transform:translateY(-4px);
}
.btn-secondary{
display:inline-flex;
align-items:center;
justify-content:center;
gap:10px;
height:56px;
padding:0 28px;
border-radius:16px;
background:#FFF;
border:2px solid var(--primary);
color:var(--primary);
text-decoration:none;
font-weight:700;
transition:.30s;
}
.btn-secondary:hover{
background:var(--primary);
color:#FFF;
}
.wallet-hero-card{
display:flex;
justify-content:space-between;
align-items:center;
gap:40px;
padding:40px;
background:#FFF;
border-radius:30px;
box-shadow:var(--shadow);
margin-bottom:35px;
overflow:hidden;
position:relative;
}
.wallet-hero-card::before{
content:"";
position:absolute;
right:-120px;
top:-120px;
width:320px;
height:320px;
border-radius:50%;
background:rgba(24,182,74,.06);
}
.wallet-left{
position:relative;
z-index:2;
}
.wallet-left span{
font-size:15px;
font-weight:600;
color:var(--text-light);
}
.wallet-left h2{
margin:15px 0;
font-size:52px;
font-weight:800;
color:var(--text);
}
.wallet-left p{
margin-bottom:20px;
font-size:15px;
color:var(--text-light);
}
.wallet-growth{
display:inline-flex;
align-items:center;
gap:10px;
padding:12px 20px;
border-radius:50px;
background:var(--primary-light);
color:var(--primary);
font-weight:700;
}
.wallet-right{
position:relative;
z-index:2;
}
.wallet-right img{
width:340px;
max-width:100%;
display:block;
}
.wallet-overview-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
margin-bottom:35px;
}
.wallet-card{
background:#FFFFFF;
border-radius:24px;
padding:28px;
box-shadow:var(--shadow);
border:1px solid var(--border);
transition:.30s;
position:relative;
overflow:hidden;
}
.wallet-card:hover{
transform:translateY(-8px);
box-shadow:0 25px 50px rgba(15,23,42,.12);
}
.wallet-card-top{
display:flex;
align-items:center;
justify-content:space-between;
margin-bottom:22px;
}
.wallet-card-top span{
font-size:14px;
font-weight:600;
color:var(--text-light);
}
.wallet-icon{
width:58px;
height:58px;
border-radius:18px;
display:flex;
align-items:center;
justify-content:center;
font-size:24px;
color:#FFFFFF;
}
.wallet-icon.green{ background:linear-gradient(135deg,#18B64A,#22C55E); }
.wallet-icon.blue{ background:linear-gradient(135deg,#3B82F6,#60A5FA); }
.wallet-icon.orange{ background:linear-gradient(135deg,#F59E0B,#FBBF24); }
.wallet-icon.purple{ background:linear-gradient(135deg,#8B5CF6,#A855F7); }
.wallet-card h2{
margin:0 0 12px;
font-size:34px;
font-weight:800;
color:var(--text);
}
.wallet-card p{
margin:0 0 20px;
font-size:14px;
line-height:24px;
color:var(--text-light);
}
.progress-line{
height:10px;
background:#EEF3F8;
border-radius:50px;
overflow:hidden;
}
.progress-line div{
height:100%;
background:linear-gradient(90deg,#18B64A,#22C55E);
border-radius:50px;
}
.progress-line.blue div{ background:linear-gradient(90deg,#3B82F6,#60A5FA); }
.progress-line.orange div{ background:linear-gradient(90deg,#F59E0B,#FBBF24); }
.progress-line.purple div{ background:linear-gradient(90deg,#8B5CF6,#A855F7); }
.wallet-card.available{ border-top:5px solid #18B64A; }
.wallet-card.locked{ border-top:5px solid #3B82F6; }
.wallet-card.income{ border-top:5px solid #F59E0B; }
.wallet-card.bonus{ border-top:5px solid #8B5CF6; }

.wallet-actions{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:24px;
margin-bottom:35px;
}
.wallet-action-card{
background:#FFFFFF;
border:1px solid var(--border);
border-radius:24px;
padding:30px 24px;
text-align:center;
text-decoration:none;
transition:.35s;
box-shadow:var(--shadow);
position:relative;
overflow:hidden;
}
.wallet-action-card:hover{
transform:translateY(-8px);
}
.action-icon{
width:72px;
height:72px;
margin:0 auto 20px;
border-radius:22px;
display:flex;
align-items:center;
justify-content:center;
background:linear-gradient(135deg,#18B64A,#22C55E);
color:#FFFFFF;
font-size:30px;
box-shadow:0 15px 30px rgba(24,182,74,.22);
}
.wallet-action-card h3{
margin:0 0 10px;
font-size:20px;
font-weight:700;
color:var(--text);
}
.wallet-action-card p{
margin:0;
font-size:14px;
line-height:24px;
color:var(--text-light);
}
.today-summary{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:24px;
margin-bottom:40px;
}
.summary-card{
display:flex;
align-items:center;
gap:18px;
background:#FFFFFF;
padding:24px;
border-radius:22px;
border:1px solid var(--border);
box-shadow:var(--shadow);
transition:.30s;
}
.summary-card:hover{
transform:translateY(-6px);
}
.summary-card i{
width:64px;
height:64px;
border-radius:18px;
display:flex;
align-items:center;
justify-content:center;
background:linear-gradient(135deg,#18B64A,#22C55E);
color:#FFFFFF;
font-size:28px;
flex-shrink:0;
}
.summary-card span{
display:block;
font-size:14px;
font-weight:600;
color:var(--text-light);
margin-bottom:8px;
}
.summary-card h2{
margin:0;
font-size:28px;
font-weight:800;
color:var(--text);
}
.wallet-analytics{
display:grid;
grid-template-columns:2fr 1fr;
gap:28px;
margin-bottom:40px;
}
.analytics-left{
background:#FFFFFF;
border-radius:28px;
padding:30px;
border:1px solid var(--border);
box-shadow:var(--shadow);
}
.analytics-right{
display:flex;
flex-direction:column;
gap:20px;
}
.section-header{
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
margin-bottom:28px;
}
.section-header h2{
margin:0 0 8px;
font-size:28px;
font-weight:800;
color:var(--text);
}
.section-header p{
margin:0;
font-size:14px;
color:var(--text-light);
}
.section-header select{
height:48px;
padding:0 18px;
border-radius:14px;
border:1px solid var(--border);
background:#FFFFFF;
font-size:14px;
font-weight:600;
color:var(--text);
outline:none;
cursor:pointer;
}
.wallet-chart{
height:380px;
width:100%;
position:relative;
}
.wallet-chart canvas{
width:100%!important;
height:100%!important;
}
.mini-card{
display:flex;
align-items:center;
gap:18px;
padding:22px;
background:#FFFFFF;
border:1px solid var(--border);
border-radius:22px;
box-shadow:var(--shadow);
transition:.30s;
}
.mini-card:hover{
transform:translateY(-6px);
}
.mini-icon{
width:64px;
height:64px;
border-radius:18px;
display:flex;
align-items:center;
justify-content:center;
font-size:26px;
color:#FFFFFF;
background:linear-gradient(135deg,#18B64A,#22C55E);
flex-shrink:0;
}
.mini-icon.blue{ background:linear-gradient(135deg,#3B82F6,#60A5FA); }
.mini-icon.orange{ background:linear-gradient(135deg,#F59E0B,#FBBF24); }
.mini-icon.purple{ background:linear-gradient(135deg,#8B5CF6,#A855F7); }
.mini-card span{
display:block;
font-size:13px;
font-weight:600;
color:var(--text-light);
margin-bottom:8px;
}
.mini-card h3{
margin:0 0 6px;
font-size:26px;
font-weight:800;
color:var(--text);
}
.mini-card p{
margin:0;
font-size:13px;
color:var(--text-light);
}
.wallet-transactions{
background:#FFFFFF;
border-radius:28px;
padding:30px;
border:1px solid var(--border);
box-shadow:var(--shadow);
margin-bottom:40px;
}
.transaction-list{
display:flex;
flex-direction:column;
gap:18px;
}
.transaction-item{
display:flex;
align-items:center;
justify-content:space-between;
padding:20px 24px;
border-radius:20px;
background:#F8FAFC;
border:1px solid #EDF2F7;
transition:.30s;
}
.transaction-item:hover{
transform:translateY(-4px);
background:#FFFFFF;
box-shadow:0 18px 40px rgba(15,23,42,.08);
}
.transaction-left{
display:flex;
align-items:center;
gap:18px;
}
.transaction-icon{
width:62px;
height:62px;
border-radius:18px;
display:flex;
align-items:center;
justify-content:center;
color:#FFFFFF;
font-size:24px;
flex-shrink:0;
}
.transaction-icon.deposit{ background:linear-gradient(135deg,#18B64A,#22C55E); }
.transaction-icon.withdraw{ background:linear-gradient(135deg,#EF4444,#F87171); }
.transaction-icon.profit{ background:linear-gradient(135deg,#3B82F6,#60A5FA); }
.transaction-left h4{
margin:0 0 8px;
font-size:18px;
font-weight:700;
color:var(--text);
}
.transaction-left p{
margin:0;
font-size:14px;
color:var(--text-light);
}
.transaction-right{
text-align:right;
}
.transaction-right h3{
margin:0 0 10px;
font-size:24px;
font-weight:800;
color:var(--text);
}
.completed{
display:inline-flex;
align-items:center;
justify-content:center;
padding:7px 16px;
border-radius:30px;
background:#ECFDF3;
color:#18B64A;
font-size:13px;
font-weight:700;
}
.pending{
display:inline-flex;
align-items:center;
justify-content:center;
padding:7px 16px;
border-radius:30px;
background:#FEF3C7;
color:#D97706;
font-size:13px;
font-weight:700;
}
.wallet-vip-banner{
display:flex;
align-items:center;
justify-content:space-between;
gap:40px;
padding:38px;
margin-bottom:40px;
border-radius:30px;
background:linear-gradient(135deg,#18B64A,#22C55E);
color:#FFFFFF;
overflow:hidden;
position:relative;
box-shadow:0 25px 50px rgba(24,182,74,.25);
}
.vip-left{
display:flex;
align-items:center;
gap:25px;
position:relative;
z-index:2;
}
.vip-icon{
width:90px;
height:90px;
border-radius:24px;
background:rgba(255,255,255,.15);
display:flex;
align-items:center;
justify-content:center;
font-size:40px;
color:#FFFFFF;
backdrop-filter:blur(10px);
}
.vip-left span{
display:block;
font-size:14px;
font-weight:600;
opacity:.95;
margin-bottom:10px;
}
.vip-left h2{
margin:0 0 14px;
font-size:34px;
font-weight:800;
}
.vip-left p{
margin:0;
max-width:650px;
font-size:15px;
line-height:30px;
opacity:.95;
}
.vip-right{
position:relative;
z-index:2;
}
.wallet-referral{
display:flex;
align-items:center;
justify-content:space-between;
gap:45px;
padding:40px;
background:#FFFFFF;
border-radius:30px;
border:1px solid var(--border);
box-shadow:var(--shadow);
margin-bottom:40px;
overflow:hidden;
}
.referral-left{
flex:1;
}
.referral-badge{
display:inline-flex;
align-items:center;
justify-content:center;
padding:10px 20px;
border-radius:40px;
background:var(--primary-light);
color:var(--primary);
font-size:13px;
font-weight:700;
margin-bottom:18px;
}
.referral-left h2{
margin:0 0 18px;
font-size:40px;
font-weight:800;
line-height:1.2;
color:var(--text);
}
.referral-left p{
margin:0 0 25px;
font-size:15px;
line-height:28px;
color:var(--text-light);
max-width:560px;
}
.referral-buttons{
display:flex;
gap:18px;
margin-top:25px;
}
.referral-right img{
width:360px;
max-width:100%;
display:block;
}
.monthly-earnings{
margin-bottom:40px;
}
.earnings-card{
background:#FFFFFF;
border:1px solid var(--border);
border-radius:30px;
padding:35px;
box-shadow:var(--shadow);
}
.earning-header{
display:flex;
align-items:center;
justify-content:space-between;
margin-bottom:30px;
}
.earning-header h2{
margin:0;
font-size:30px;
font-weight:800;
color:var(--text);
}
.earning-header span{
padding:10px 18px;
border-radius:40px;
background:var(--primary-light);
color:var(--primary);
font-size:13px;
font-weight:700;
}
.earning-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:22px;
}
.earning-box{
padding:28px;
border-radius:22px;
background:#F8FAFC;
border:1px solid #EEF3F8;
text-align:center;
transition:.30s;
}
.earning-box:hover{
transform:translateY(-6px);
background:#FFFFFF;
box-shadow:0 18px 40px rgba(15,23,42,.08);
}
.earning-box h3{
margin:0 0 10px;
font-size:32px;
font-weight:800;
color:var(--primary);
}
.earning-box p{
margin:0;
font-size:14px;
font-weight:500;
color:var(--text-light);
}
.bottom-nav{
position:fixed;
bottom:0;
left:0;
right:0;
height:72px;
background:#FFFFFF;
display:none;
align-items:center;
justify-content:space-around;
border-top:1px solid var(--border);
box-shadow:0 -10px 30px rgba(15,23,42,.08);
z-index:999;
}
.bottom-nav a{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:6px;
text-decoration:none;
color:var(--text-light);
font-size:12px;
font-weight:600;
transition:.30s;
}
.bottom-nav a i{ font-size:22px; }
.bottom-nav a.active{ color:var(--primary); }
.floating-support{
position:fixed;
right:25px;
bottom:105px;
width:62px;
height:62px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
background:linear-gradient(135deg,#18B64A,#22C55E);
color:#FFFFFF;
font-size:26px;
text-decoration:none;
box-shadow:0 18px 35px rgba(24,182,74,.30);
transition:.30s;
z-index:999;
}
.back-top{
position:fixed;
right:25px;
bottom:185px;
width:58px;
height:58px;
border:none;
border-radius:50%;
background:#FFFFFF;
color:var(--primary);
font-size:22px;
cursor:pointer;
box-shadow:var(--shadow);
opacity:0;
visibility:hidden;
transition:.30s;
z-index:999;
}
.back-top.show{ opacity:1; visibility:visible; }
.footer{
margin-top:50px;
padding:35px 0;
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
border-top:1px solid var(--border);
}
.footer-left p{ margin:0; font-size:14px; color:var(--text-light); }
.footer-right{ display:flex; gap:22px; flex-wrap:wrap; }
.footer-right a{ text-decoration:none; font-size:14px; font-weight:600; color:var(--text-light); transition:.30s; }
.footer-right a:hover{ color:var(--primary); }
@media(max-width:1200px){
.wallet-overview-grid,.wallet-actions,.today-summary,.earning-grid{ grid-template-columns:repeat(2,1fr); }
.wallet-analytics{ grid-template-columns:1fr; }
}
@media(max-width:768px){
.main{ margin-left:0; }
.wallet-v3{ padding:20px; }
.wallet-page-header,.wallet-header-actions,.wallet-hero-card,.wallet-vip-banner,.wallet-referral,.footer{ flex-direction:column; text-align:center; }
.wallet-header-actions{ width:100%; }
.bottom-nav{ display:flex; }
.footer{ padding-bottom:100px; }
.floating-support{ bottom:95px; right:18px; }
.back-top{ bottom:170px; right:18px; }
}
@media(max-width:576px){
.wallet-v3{ padding:16px; }
.wallet-page-header h1{ font-size:24px; }
.wallet-badge{ font-size:12px; }
.wallet-hero-card{ padding:24px 20px; gap:18px; }
.wallet-left h2{ font-size:32px; margin:10px 0; }
.wallet-right img{ width:150px; }
.wallet-overview-grid,.wallet-actions,.today-summary,.earning-grid{ grid-template-columns:1fr; }
.wallet-card,.wallet-action-card,.summary-card,.earning-box{ padding:20px; }
.wallet-analytics{ gap:16px; }
.analytics-left{ padding:18px; }
.section-header{ flex-direction:column; align-items:flex-start; gap:14px; }
.section-header select{ width:100%; }
.section-header h2{ font-size:22px; }
.wallet-chart{ height:240px; }
.mini-card{ padding:16px; gap:14px; }
.mini-card h3{ font-size:22px; }
.transaction-item{ flex-wrap:wrap; gap:10px; }
.earnings-card{ padding:20px; }
.earning-header{ flex-direction:column; align-items:flex-start; gap:10px; }
.earning-header h2{ font-size:22px; }
.wallet-vip-banner,.wallet-referral{ padding:24px 18px; }
.referral-right img,.vip-right img{ max-width:100%; height:auto; }
}
