.saldo-header{
    margin:20px 0;
}

.saldo-badge{
    display:inline-block;
    padding:6px 12px;
    border-radius:999px;
    background:#dbeafe;
    color:#2563eb;
    font-size:12px;
    font-weight:700;
}

.page-title{
    margin-top:10px;
    font-size:32px;
    font-weight:800;
}

.saldo-card{
    background:linear-gradient(
        135deg,
        #2563eb,
        #4f86ff
    );
    color:#fff;
    padding:25px;
    border-radius:24px;
    box-shadow:0 15px 30px rgba(37,99,235,.25);
}

.saldo-top{
    display:flex;
    justify-content:space-between;
    margin-bottom:15px;
}

.saldo-card h2{
    margin:0;
    font-size:40px;
    font-weight:900;
}

.saldo-bottom{
    display:flex;
    justify-content:space-between;
    margin-top:20px;
}

.saldo-bottom small{
    display:block;
    opacity:.8;
}

.saldo-menu{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-top:20px;
}

.saldo-btn{
    text-decoration:none;
    text-align:center;
    padding:14px;
    border-radius:16px;
    background:#fff;
    color:#111827;
    font-weight:700;
    box-shadow:0 5px 15px rgba(0,0,0,.05);
}

.saldo-btn{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    background:#fff;

    padding:16px;

    border-radius:18px;

    text-decoration:none;

    color:#111827;

    font-weight:700;

    box-shadow:
    0 5px 15px rgba(0,0,0,.05);

    transition:.2s;
}

.saldo-btn:hover{

    transform:translateY(-2px);

    box-shadow:
    0 10px 20px rgba(0,0,0,.08);

}

.saldo-btn svg{

    width:20px;

    height:20px;

    color:#2563eb;

    stroke-width:2.2;
}


.history-list{
    display:flex;
    flex-direction:column;
    gap:18px;
    margin-top:25px;
}

.history-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px;

    background:#fff;

    border-radius:20px;

    border:1px solid #e5e7eb;

    box-shadow:
    0 4px 15px rgba(0,0,0,.03);
}

.history-left{

    display:flex;

    align-items:center;

    gap:16px;
}

.history-icon{

    width:56px;

    height:56px;

    border-radius:16px;

    background:#eff6ff;

    color:#2563eb;

    display:flex;

    align-items:center;

    justify-content:center;
}

.history-icon svg{

    width:24px;

    height:24px;

    stroke-width:2.2;
}

.history-title{

    font-size:18px;

    font-weight:700;

    color:#111827;

    margin-bottom:6px;
}

.history-date{

    font-size:13px;

    color:#64748b;
}

.history-right{

    text-align:right;
}

.amount{

    font-size:30px;

    font-weight:800;

    margin-bottom:8px;
}

.plus{
    color:#10b981;
}

.minus{
    color:#ef4444;
}

.status{

    display:inline-block;

    padding:6px 14px;

    border-radius:999px;

    font-size:12px;

    font-weight:700;
}

.status.success{

    background:#dcfce7;

    color:#16a34a;
}

@media(max-width:768px){

    .history-item{
        padding:15px;
    }

    .history-icon{
        width:48px;
        height:48px;
    }

    .history-title{
        font-size:15px;
    }

    .amount{
        font-size:18px;
    }
}

.history-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin:30px 0 15px;
}

.history-header h3{

    font-size:24px;

    font-weight:800;

    margin:0;
}

.history-header a{

    color:#2563eb;

    text-decoration:none;

    font-weight:700;
}

.saldo-card{

    position:relative;

    overflow:hidden;

    background:linear-gradient(
        135deg,
        #2563eb,
        #4f86ff
    );

    border-radius:28px;

    padding:28px;

    color:#fff;

    box-shadow:
    0 20px 40px rgba(37,99,235,.25);

    animation:
    cardFloat 4s ease-in-out infinite;
}

.saldo-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;
}

.saldo-top span{

    font-size:18px;

    font-weight:600;

    opacity:.95;
}

.saldo-icon{

    width:50px;

    height:50px;

    border-radius:16px;

    background:rgba(255,255,255,.15);

    display:flex;

    align-items:center;

    justify-content:center;

    backdrop-filter:blur(10px);
}

.saldo-icon svg{

    width:24px;

    height:24px;
}

.saldo-card h2{

    font-size:54px;

    font-weight:900;

    margin:15px 0 30px;

    letter-spacing:-2px;
}

.saldo-bottom{

    display:flex;

    justify-content:space-between;

    align-items:center;
}

.saldo-info{

    display:flex;

    flex-direction:column;
}

.saldo-info small{

    font-size:13px;

    opacity:.8;

    margin-bottom:5px;
}

.saldo-info strong{

    font-size:28px;

    font-weight:800;
}

.saldo-circle{

    position:absolute;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    animation:
    pulseCircle 8s linear infinite;
}

.saldo-circle-1{

    width:220px;

    height:220px;

    top:-80px;

    right:-60px;
}

.saldo-circle-2{

    width:150px;

    height:150px;

    bottom:-50px;

    left:-40px;
}

@keyframes pulseCircle{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.15);
    }

    100%{
        transform:scale(1);
    }
}

@keyframes cardFloat{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-4px);
    }

    100%{
        transform:translateY(0);
    }
}

@media(max-width:768px){

.saldo-card h2{

    font-size:42px;
}

.saldo-info strong{

    font-size:22px;
}

}

.login-required{

    min-height:70vh;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:20px;
}

.login-required-card{

    background:#fff;

    padding:40px;

    border-radius:24px;

    text-align:center;

    max-width:420px;

    width:100%;

    box-shadow:
    0 15px 40px rgba(0,0,0,.08);
}

.login-required-card svg{

    width:70px;

    height:70px;

    color:#2563eb;

    margin-bottom:20px;
}

.login-required-card h2{

    margin-bottom:10px;
}

.login-required-card p{

    color:#64748b;

    line-height:1.7;

    margin-bottom:25px;
}

.login-btn{

    display:inline-block;

    background:#2563eb;

    color:#fff;

    padding:14px 28px;

    border-radius:14px;

    text-decoration:none;

    font-weight:700;
}

.login-image{
    text-align:center;
    margin-bottom:20px;
}

.login-image img{
    width:180px;
    max-width:100%;
    height:auto;

    animation:floatImage 3s ease-in-out infinite;

    filter:
        drop-shadow(0 10px 20px rgba(37,99,235,.25))
        drop-shadow(0 0 25px rgba(59,130,246,.15));
}
@keyframes floatImage{

    0%{
        transform:translateY(0) scale(1);
    }

    50%{
        transform:translateY(-12px) scale(1.03);
    }

    100%{
        transform:translateY(0) scale(1);
    }

}

.success-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);

    display:flex;
    align-items:center;
    justify-content:center;

    z-index:9999;
}

.success-box{
    width:90%;
    max-width:360px;

    background:#fff;

    border-radius:28px;

    padding:30px 25px;

    text-align:center;

    animation:popScale .3s ease;
}

.success-icon{
    width:90px;
    height:90px;

    margin:auto;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        #22c55e,
        #16a34a
    );

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;
}

.success-icon svg{
    width:46px;
    height:46px;
}

.success-box h3{
    margin:20px 0 10px;
    font-size:28px;
    font-weight:800;
}

.success-box p{
    color:#64748b;
    margin-bottom:20px;
}

.success-amount{
    font-size:36px;
    font-weight:900;
    color:#16a34a;
    margin-bottom:25px;
}

.success-btn{
    display:block;

    background:linear-gradient(
        135deg,
        #2563eb,
        #4f86ff
    );

    color:#fff;

    text-decoration:none;

    padding:14px;

    border-radius:16px;

    font-weight:700;
}

@keyframes popScale{

    from{
        opacity:0;
        transform:scale(.8);
    }

    to{
        opacity:1;
        transform:scale(1);
    }

}

.status.pending{
    background:#fef3c7;
    color:#92400e;
}

.status.danger{
    background:#fee2e2;
    color:#dc2626;
}

.empty-history{
    text-align:center;
    padding:40px 20px;
    color:#94a3b8;
}

.empty-history svg{
    width:50px;
    height:50px;
    margin-bottom:10px;
}

.success-btn{
    width:100%;
    height:50px;

    border:none;
    border-radius:14px;

    background:#2563eb;
    color:#fff;

    font-size:16px;
    font-weight:700;

    cursor:pointer;

    margin-top:20px;
}

.success-btn:hover{
    opacity:.9;
}

.success-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.65);
    backdrop-filter:blur(5px);
    z-index:99999;
    display:flex;
    justify-content:center;
    align-items:center;
    animation:fadeIn .3s ease;
}

.success-box{
    width:90%;
    max-width:420px;
    background:#fff;
    border-radius:28px;
    text-align:center;
    padding:35px 25px;
    animation:zoomIn .4s ease;
}

.success-check{
    width:90px;
    height:90px;
    margin:auto;
    border-radius:50%;
    background:linear-gradient(
        135deg,
        #22c55e,
        #16a34a
    );
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
}

.success-check svg{
    width:50px;
    height:50px;
}

.success-box h2{
    margin-top:20px;
    margin-bottom:10px;
}

.success-box p{
    color:#666;
}

.success-nominal{
    margin-top:20px;
    font-size:34px;
    font-weight:700;
    color:#16a34a;
}

.success-ok{
    width:100%;
    margin-top:25px;
    border:none;
    border-radius:16px;
    padding:15px;
    font-weight:700;
    color:#fff;
    background:linear-gradient(
        135deg,
        #2563eb,
        #4f46e5
    );
    cursor:pointer;
}

@keyframes zoomIn{
    from{
        transform:scale(.7);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

@keyframes fadeIn{
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}

.pagination-wrapper{
    margin-top:20px;
    display:flex;
    justify-content:center;
}

.pagination{
    display:flex;
    gap:8px;
    list-style:none;
    padding:0;
}

.pagination li a,
.pagination li span{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:38px;
    height:38px;
    border-radius:10px;
    text-decoration:none;
    background:#fff;
    color:#333;
    border:1px solid #eee;
    font-weight:600;
}

.pagination li.active span{
    background:#2563eb;
    color:#fff;
    border-color:#2563eb;
}

.pagination li.disabled span{
    opacity:.5;
}