/*======================================
EIVOX WALLET CSS
Version: 1.0
======================================*/


/*======================================
WALLET LAYOUT
======================================*/

.wallet{

    display:flex;

    flex-direction:column;

    gap:30px;

}


/*======================================
BALANCE CARD
======================================*/

.wallet-card{

    position:relative;

    overflow:hidden;

    padding:30px;

    border-radius:var(--radius-lg);

    background:linear-gradient(135deg,var(--primary),#4f46e5);

    color:#fff;

    box-shadow:var(--shadow-lg);

}

.wallet-card::before{

    content:"";

    position:absolute;

    top:-80px;

    right:-80px;

    width:220px;

    height:220px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

}

.wallet-label{

    font-size:var(--font-sm);

    opacity:.9;

}

.wallet-balance{

    margin:12px 0;

    font-size:clamp(2rem,5vw,3.2rem);

    font-weight:var(--weight-bold);

}

.wallet-number{

    letter-spacing:2px;

    opacity:.9;

    font-size:var(--font-sm);

}


/*======================================
WALLET ACTIONS
======================================*/

.wallet-actions{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

    margin-top:25px;

}

.wallet-actions .btn{

    min-width:140px;

}


/*======================================
SUMMARY GRID
======================================*/

.wallet-summary{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:24px;

}

.wallet-summary-card{

    padding:22px;

    background:var(--card);

    border:1px solid var(--border);

    border-radius:var(--radius-lg);

    transition:var(--transition);

}

.wallet-summary-card:hover{

    transform:translateY(-4px);

    box-shadow:var(--shadow-lg);

    border-color:var(--primary);

}

.wallet-summary-title{

    color:var(--text-muted);

    font-size:var(--font-sm);

}

.wallet-summary-value{

    margin-top:10px;

    font-size:1.8rem;

    font-weight:var(--weight-bold);

    color:var(--text);

}


/*======================================
TRANSACTION LIST
======================================*/

.transaction-list{

    display:flex;

    flex-direction:column;

    gap:16px;

}

.transaction-item{

    display:flex;

    align-items:center;

    gap:18px;

    padding:18px;

    background:var(--card);

    border:1px solid var(--border);

    border-radius:var(--radius);

    transition:var(--transition);

}

.transaction-item:hover{

    border-color:var(--primary);

    box-shadow:var(--shadow);

}

.transaction-icon{

    width:52px;

    height:52px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:var(--surface);

    color:var(--primary);

    flex-shrink:0;

}

.transaction-icon i,
.transaction-icon svg{

    width:24px;

    height:24px;

}

.transaction-content{

    flex:1;

}

.transaction-title{

    font-weight:var(--weight-semibold);

    color:var(--text);

}

.transaction-date{

    margin-top:4px;

    color:var(--text-muted);

    font-size:13px;

}

.transaction-amount{

    font-weight:var(--weight-bold);

    font-size:1.1rem;

}

.transaction-amount.credit{

    color:var(--success);

}

.transaction-amount.debit{

    color:var(--danger);

}


/*======================================
PAYMENT METHODS
======================================*/

.payment-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:24px;

}

.payment-card{

    padding:24px;

    background:var(--card);

    border:1px solid var(--border);

    border-radius:var(--radius-lg);

    transition:var(--transition);

}

.payment-card:hover{

    transform:translateY(-5px);

    border-color:var(--primary);

    box-shadow:var(--shadow-lg);

}

.payment-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.payment-logo{

    height:34px;

    width:auto;

}

.payment-name{

    font-weight:var(--weight-bold);

    color:var(--text);

}

.payment-number{

    margin-top:12px;

    letter-spacing:2px;

    color:var(--text-muted);

}


/*======================================
REWARDS
======================================*/

.reward-card{

    padding:24px;

    background:linear-gradient(135deg,#f59e0b,#f97316);

    color:#fff;

    border-radius:var(--radius-lg);

    box-shadow:var(--shadow-lg);

}

.reward-title{

    font-size:1.2rem;

    font-weight:var(--weight-bold);

}

.reward-points{

    margin-top:12px;

    font-size:2rem;

    font-weight:var(--weight-bold);

}


/*======================================
RESPONSIVE
======================================*/

@media(max-width:767px){

    .wallet-card{

        padding:24px;

    }

    .wallet-actions{

        flex-direction:column;

    }

    .wallet-actions .btn{

        width:100%;

    }

    .transaction-item{

        flex-wrap:wrap;

    }

    .transaction-amount{

        width:100%;

        text-align:left;

        margin-top:8px;

    }

}

@media(max-width:480px){

    .wallet-summary{

        grid-template-columns:1fr;

    }

    .payment-grid{

        grid-template-columns:1fr;

    }

}


/*======================================
WALLET CARD
PART 1
======================================*/

/*======================================
SECTION
======================================*/

.wallet-section{

    width:100%;

    max-width:1200px;

    margin:30px auto;

    padding:0 18px;

}

/*======================================
CARD
======================================*/

.wallet-card{

    position:relative;

    overflow:hidden;

    border-radius:30px;

    padding:30px;

       background:linear-gradient(135deg,var(--primary),#4f46e5);

    box-shadow:

    0 20px 45px rgba(0,0,0,.25);

    color:#fff;

}

/*======================================
BACKGROUND GLOW
======================================*/

.wallet-card::before{

    content:"";

    position:absolute;

    width:260px;

    height:260px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    top:-120px;

    right:-90px;

}

.wallet-card::after{

    content:"";

    position:absolute;

    width:180px;

    height:180px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    bottom:-80px;

    left:-60px;

}

/*======================================
TOP
======================================*/

.wallet-top{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    position:relative;

    z-index:2;

}

/*======================================
LABEL
======================================*/

.wallet-top small{

    display:block;

    color:rgba(255,255,255,.75);

    font-size:.95rem;

    margin-bottom:12px;

    letter-spacing:.5px;

}

/*======================================
BALANCE
======================================*/

.wallet-top h2{

    margin:0;

    font-size:clamp(2rem,5vw,3rem);

    font-weight:800;

    letter-spacing:1px;

    color:#fff;

}

/*======================================
EYE BUTTON
======================================*/

.wallet-eye{

    width:52px;

    height:52px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(10px);

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    transition:.3s ease;

    color:#fff;

}

.wallet-eye:hover{

    background:rgba(255,255,255,.20);

    transform:scale(1.08);

}

.wallet-eye svg{

    width:22px;

    height:22px;

}

/*======================================
BOTTOM
======================================*/

.wallet-bottom{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:45px;

    position:relative;

    z-index:2;

}

/*======================================
MEMBER LABEL
======================================*/

.wallet-bottom small{

    display:block;

    color:rgba(255,255,255,.75);

    margin-bottom:8px;

}

/*======================================
MEMBER NAME
======================================*/

.wallet-bottom h4{

    margin:0;

    font-size:1.2rem;

    font-weight:700;

    color:#fff;

}

/*======================================
CHIP
======================================*/

.wallet-chip{

    width:70px;

    height:70px;

    border-radius:18px;

    background:rgba(255,255,255,.15);

    display:flex;

    align-items:center;

    justify-content:center;

    backdrop-filter:blur(10px);

}

.wallet-chip svg{

    width:34px;

    height:34px;

    color:#fff;

}

/*======================================
TABLET
======================================*/

@media(max-width:768px){

    .wallet-card{

        padding:24px;

        border-radius:24px;

    }

    .wallet-bottom{

        margin-top:35px;

    }

}

/*======================================
PHONE
======================================*/

@media(max-width:480px){

    .wallet-section{

        padding:0 14px;

    }

    .wallet-card{

        padding:20px;

        border-radius:22px;

    }

    .wallet-top h2{

        font-size:2rem;

    }

    .wallet-eye{

        width:46px;

        height:46px;

    }

    .wallet-chip{

        width:58px;

        height:58px;

    }

    .wallet-chip svg{

        width:28px;

        height:28px;

    }

}



/*======================================
WALLET CARD
PART 2
WALLET ACTIONS
======================================*/


/*======================================
ACTION GRID
======================================*/

.wallet-actions{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:18px;

    margin-top:24px;

}


/*======================================
ACTION CARD
======================================*/

.wallet-action{

    position:relative;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:12px;

    min-height:135px;

    padding:22px 15px;

    text-decoration:none;

    border-radius:24px;

    background:#ffffff;

    border:1px solid rgba(37,99,235,.08);

    box-shadow:

        0 10px 25px rgba(15,23,42,.08);

    transition:all .30s ease;

    overflow:hidden;

}


/*======================================
TOP GLOW
======================================*/

.wallet-action::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:4px;

    background:linear-gradient(90deg,#2563eb,#60a5fa);

    transform:scaleX(0);

    transform-origin:left;

    transition:.30s;

}

.wallet-action:hover::before{

    transform:scaleX(1);

}


/*======================================
HOVER
======================================*/

.wallet-action:hover{

    transform:translateY(-6px);

    box-shadow:

        0 20px 40px rgba(37,99,235,.18);

}


/*======================================
ICON
======================================*/

.wallet-action svg{

    width:30px;

    height:30px;

    color:#2563eb;

    transition:.30s;

}

.wallet-action:hover svg{

    transform:scale(1.15);

}


/*======================================
TITLE
======================================*/

.wallet-action span{

    font-size:.95rem;

    font-weight:700;

    color:#1e293b;

    text-align:center;

}


/*======================================
COMING SOON
======================================*/

.wallet-action small{

    margin-top:2px;

    color:#64748b;

    font-size:.75rem;

    text-align:center;

}


/*======================================
DISABLED
======================================*/

.wallet-action.disabled{

    opacity:.75;

    cursor:not-allowed;

}

.wallet-action.disabled:hover{

    transform:none;

    box-shadow:

        0 10px 25px rgba(15,23,42,.08);

}

.wallet-action.disabled:hover svg{

    transform:none;

}


/*======================================
ACTIVE
======================================*/

.wallet-action:active{

    transform:scale(.97);

}


/*======================================
TABLET
======================================*/

@media(max-width:992px){

    .wallet-actions{

        grid-template-columns:repeat(2,1fr);

    }

}


/*======================================
PHONE
======================================*/

@media(max-width:768px){

    .wallet-actions{

        gap:14px;

        margin-top:20px;

    }

    .wallet-action{

        min-height:120px;

        border-radius:20px;

        padding:18px 12px;

    }

}


/*======================================
SMALL PHONE
======================================*/

@media(max-width:480px){

    .wallet-actions{

        grid-template-columns:repeat(2,1fr);

        gap:12px;

    }

    .wallet-action{

        min-height:110px;

        padding:16px 10px;

        border-radius:18px;

    }

    .wallet-action svg{

        width:26px;

        height:26px;

    }

    .wallet-action span{

        font-size:.85rem;

    }

    .wallet-action small{

        font-size:.70rem;

    }

}


/*======================================
VERY SMALL PHONE
======================================*/

@media(max-width:340px){

    .wallet-actions{

        grid-template-columns:1fr;

    }

}