.checkout-modern-page{
    background:#f4f7fd;
    min-height:100vh;
    padding:0 0 80px;
    margin-top:-155px;
    font-family:'Poppins',sans-serif;
}

.checkout-header{
    background:linear-gradient(90deg,#2563eb,#60a5fa);
    border-radius:26px;
    padding:30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
    color:#fff;
}

.checkout-header-left{
    display:flex;
    align-items:center;
    gap:20px;
}

.checkout-header-icon{
    width:72px;
    height:72px;
    border-radius:18px;
    background:rgba(255,255,255,.12);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
}

.checkout-header h1{
    font-size:36px;
    font-weight:700;
    margin-bottom:5px;
}

.checkout-header p{
    margin:0;
    opacity:.9;
}

.checkout-header-right{
    font-size:55px;
}

.checkout-grid{
    display:grid;
    grid-template-columns:1fr 420px;
    gap:30px;
}

.modern-card,
.summary-modern-card{
    background:#fff;
    border-radius:24px;
    padding:28px;
}

.modern-title,
.summary-modern-title{
    font-size:28px;
    font-weight:700;
    margin-bottom:25px;
}

.payment-modern-item{
    display:flex;
    align-items:center;
    gap:18px;
    padding:22px;
    border:2px solid #e2e8f0;
    border-radius:18px;
    cursor:pointer;
    transition:.3s;
    margin-bottom:18px;
    position:relative;
}

.payment-modern-item.active{
    border-color:#3b82f6;
    background:#f8fbff;
}

.payment-modern-item input{
    position:absolute;
    opacity:0;
}

.payment-icon{
    width:58px;
    height:58px;
    border-radius:16px;
    background:#eff6ff;
    color:#2563eb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
}

.payment-title{
    font-size:18px;
    font-weight:700;
}

.payment-desc{
    color:#64748b;
    margin-top:4px;
}

.balance-alert{
    background:#fef2f2;
    border:1px solid #fecaca;
    color:#dc2626;
    padding:18px;
    border-radius:16px;
    margin-top:15px;
}

.checkout-modern-btn{
    width:100%;
    height:68px;
    border:none;
    border-radius:18px;
    background:linear-gradient(90deg,#2563eb,#60a5fa);
    color:#fff;
    font-size:22px;
    font-weight:700;
    margin-top:20px;
    transition:.3s;
}

.checkout-modern-btn:hover{
    transform:scale(1.02);
}

.summary-product-modern{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
    border-bottom:1px solid #eef2f7;
}

.summary-product-name{
    font-weight:700;
    font-size:17px;
}

.summary-product-period{
    color:#64748b;
    font-size:14px;
    margin-top:4px;
}

.summary-product-price{
    font-weight:700;
}

.summary-divider{
    height:1px;
    background:#e2e8f0;
    margin:18px 0;
}

.summary-row{
    display:flex;
    justify-content:space-between;
    margin-bottom:16px;
    color:#475569;
}

.summary-total-box{
    margin-top:25px;
    background:#f8fbff;
    border-radius:18px;
    padding:22px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:28px;
    font-weight:700;
}

@media(max-width:1100px){

    .checkout-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .checkout-header{
        flex-direction:column;
        gap:20px;
        text-align:center;
    }

    .checkout-header-left{
        flex-direction:column;
    }

    .checkout-header h1{
        font-size:28px;
    }

}