*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{

    background:#0f172a;
    color:white;

    min-height:100vh;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:30px;
}

.checkout-box{

    width:100%;
    max-width:500px;

    background:#111827;

    border:1px solid rgba(255,255,255,0.08);

    border-radius:24px;

    padding:35px;

    box-shadow:
    0 20px 40px rgba(0,0,0,0.4);

    animation:fadeIn .4s ease;
}

@keyframes fadeIn{

    from{

        opacity:0;
        transform:translateY(20px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

.logo{

    display:flex;
    align-items:center;
    gap:10px;

    margin-bottom:25px;
}

.logo img{

    width:45px;

}

.logo h1{

    font-size:24px;

}

.logo span{

    color:#3b82f6;

}

.product-info{

    background:#1f2937;

    padding:20px;

    border-radius:18px;

    margin-bottom:25px;
}

.product-info h2{

    margin-bottom:10px;
    font-size:22px;

}

.price{

    font-size:32px;
    font-weight:bold;

    color:#10b981;

    margin-top:15px;
}

.pix-box{

    background:white;

    padding:20px;

    border-radius:20px;

    display:flex;
    justify-content:center;

    margin-bottom:20px;
}

.pix-box img{

    width:220px;
    height:220px;
    object-fit:contain;
}

.pix-code{

    background:#1f2937;

    border-radius:12px;

    padding:15px;

    font-size:14px;

    word-break:break-all;

    margin-bottom:20px;

    border:1px solid rgba(255,255,255,0.06);
}

.btn-pay{

    width:100%;
    height:55px;

    border:none;

    border-radius:14px;

    background:#2563eb;

    color:white;

    font-size:17px;
    font-weight:bold;

    cursor:pointer;

    transition:.2s;
}

.btn-pay:hover{

    transform:translateY(-2px);

    background:#1d4ed8;
}

.secure{

    margin-top:20px;

    display:flex;
    flex-direction:column;
    gap:10px;

    color:#9ca3af;

    font-size:14px;
}

.secure i{

    color:#10b981;
    margin-right:8px;
}



.order-summary h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 10px;
}

#lista-produtos-checkout {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Estilização da barra de rolagem */
#lista-produtos-checkout::-webkit-scrollbar {
    width: 5px;
}
#lista-produtos-checkout::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 10px;
}

.item-checkout {
    background: #1f2937;
    padding: 15px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.05);
}

.item-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.item-info span {
    font-size: 14px;
    color: #10b981;
    font-weight: bold;
}

.total-container {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.total-container span {
    color: #9ca3af;
    font-size: 14px;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-continue {
    width: 100%;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    transition: .2s;
    font-weight: bold;
}

.btn-continue:hover {
    background: rgba(255,255,255,0.05);
    color: white;
}


.swal2-loader {
    border-color: #2563eb transparent #2563eb transparent !important; /* Cor do seu tema */
}


@media (max-width: 600px) {
    body {
        padding: 15px;
        align-items: flex-start;
    }
 
    .checkout-box {
        padding: 25px 20px;
        border-radius: 18px;
    }
 
    .logo h1 {
        font-size: 18px;
    }
 
    .logo img {
        width: 36px;
    }
 
    .product-info h2 {
        font-size: 18px;
    }
 
    .price {
        font-size: 26px;
    }
 
    .pix-box img {
        width: 180px;
        height: 180px;
    }
 
    .btn-pay {
        height: 50px;
        font-size: 15px;
    }
 
    .item-checkout {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
 
    .total-container {
        align-items: flex-start;
    }
 
    #lista-produtos-checkout {
        max-height: 220px;
    }
}