/* ------------- PAGO ACEPTADO ------------------*/


/* ==================================================
   ICPV - Recibo de Pago Exitoso (AZUL)
   ================================================== */

/* Contenedor Principal (Tarjeta estilo recibo) */
.icpv-receipt-container {
    max-width: 550px;
    margin: 40px auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    font-family: system-ui, -apple-system, sans-serif;
}

/* Encabezado con Icono */
.icpv-receipt-header {
    text-align: center;
    margin-bottom: 30px;
}

.icpv-success-icon {
    width: 64px;
    height: 64px;
    background: #f0fdf4;
    color: #30c15c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.icpv-success-icon svg {
    width: 32px;
    height: 32px;
}

.icpv-receipt-header h2 {
    color: #213056;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.icpv-receipt-header p {
    color: #6b7280;
    font-size: 15px;
    margin: 0;
}

/* Estilo de la Lista de AZUL */
#AZUL_PaymentPage {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
}

/* Ocultar o estilizar el mensaje por defecto si ya tenemos el header */
#AZUL_PayStatus {
    display: none; /* Lo ocultamos porque el header nuevo ya lo dice de forma más bonita */
}

/* Filas del recibo */
#AZUL_PaymentPage li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 15px;
    color: #374151;
    border-bottom: 1px dashed #f3f4f6;
}

#AZUL_PaymentPage li:last-child {
    border-bottom: none;
}

/* Etiquetas (Izquierda) */
#AZUL_PaymentPage li span {
    font-weight: 600;
    color: #6b7280;
}

/* Tratar de manera especial el Monto y la Orden */
#AZUL_Amount {
    font-size: 18px !important;
    font-weight: 700;
    color: #213056 !important;
    border-bottom: none !important;
    padding-top: 16px !important;
}

#AZUL_PaymentPage li#AZUL_IsoCode{
    display: none;
}

#AZUL_Amount .amount, 
#AZUL_Amount {
    color: #30c15c !important; /* Resalta el monto en verde */
}

#AZUL_OrderNumber {
    font-size: 16px;
    font-weight: 600;
}

/* Línea divisoria interna */
.receipt-divider {
    border: none;
    border-top: 2px dashed #e5e7eb;
    margin: 15px 0;
}

/* Botón de Salida */
.icpv-receipt-footer {
    text-align: center;
}

.btn-return-home {
    display: inline-block;
    width: 100%;
    background: #213056;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 16px;
    transition: background 0.2s, transform 0.2s;
}

.btn-return-home:hover {
    background: #17223e;
    transform: translateY(-1px);
}

/* Responsivo para móviles */
@media (max-width: 480px) {
    .icpv-receipt-container {
        padding: 20px;
        margin: 20px 15px;
    }
    
    #AZUL_PaymentPage li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    #AZUL_PaymentPage li span {
        font-size: 13px;
    }
}