/* Estilos para o pop-up da Pushinpay */


/* Compatibilidade com botões do Elementor */
a.elementor-button.pushinpay-button {
    cursor: pointer !important;
}

/* Ocultar ícone de link externo se estiver presente */
a.elementor-button.pushinpay-button i.fa-external-link,
a.elementor-button.pushinpay-button i.fa-external-link-alt {
    display: none !important;
}

#pushinpay-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#pushinpay-popup {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.pushinpay-popup-header {
    background: linear-gradient(to right, #4A00E0, #8E2DE2);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pushinpay-popup-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

#pushinpay-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

#pushinpay-close:hover {
    opacity: 1;
}

.pushinpay-popup-body {
    padding: 20px;
}

#pushinpay-loading {
    text-align: center;
    padding: 30px 0;
}

.pushinpay-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #8E2DE2;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pushinpay-amount {
    text-align: center;
    margin-bottom: 20px;
}

.pushinpay-amount p {
    margin: 0 0 5px;
    color: #666;
}

.pushinpay-amount h2 {
    margin: 0;
    color: #4A00E0;
    font-size: 28px;
}

.pushinpay-qrcode {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.pushinpay-qrcode img {
    max-width: 200px;
    margin: 0 auto;
}

.pushinpay-code {
    margin-bottom: 20px;
}

.pushinpay-code p {
    margin: 0 0 5px;
    color: #666;
}

.pushinpay-code-container {
    display: flex;
    gap: 10px;
}

#pushinpay-code-text {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    resize: none;
    height: 40px;
}

#pushinpay-copy-code {
    background-color: #4A00E0;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 15px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

#pushinpay-copy-code:hover {
    background-color: #3700b3;
}

.pushinpay-status {
    text-align: center;
    margin-bottom: 20px;
}

#pushinpay-status-text {
    color: #666;
    margin: 0;
}

.pushinpay-success {
    color: #4CAF50;
    font-weight: 600;
}

.pushinpay-error {
    color: #F44336;
}

.pushinpay-actions {
    text-align: center;
}

#pushinpay-check-payment {
    background-color: #4A00E0;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

#pushinpay-check-payment:hover {
    background-color: #3700b3;
}

#pushinpay-check-payment:disabled {
    background-color: #9e9e9e;
    cursor: not-allowed;
}

.pushinpay-success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 99999;
}

