.wc_payment_method img{vertical-align: middle;
    height: 20px;       
    margin-left: 5px;   
    margin-bottom: -4px; 
}

/* ========== CAIXA DE REFERÊNCIA APPYPAY ========== */

.appypay-reference-container {
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.appypay-reference-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

.appypay-ref-header {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.appypay-ref-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.appypay-ref-header h2 {
    color: white;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.appypay-ref-content {
    background: white;
    padding: 30px;
}

.appypay-ref-info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    border: 2px solid #e9ecef;
}

.appypay-ref-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.appypay-ref-label {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 8px;
}

.label-icon {
    font-size: 20px;
}

.appypay-ref-value {
    font-size: 22px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    background: white;
    border: 2px solid #dee2e6;
}

.appypay-entity {
    color: #667eea;
    border-color: #667eea;
    background: #f0f3ff;
}

.appypay-reference {
    color: #764ba2;
    border-color: #764ba2;
    background: #f5f0ff;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}

.appypay-amount {
    color: #28a745;
    border-color: #28a745;
    background: #f0fff4;
}

.appypay-ref-separator {
    height: 1px;
    background: linear-gradient(to right, transparent, #dee2e6, transparent);
    margin: 5px 0;
}

.appypay-ref-instructions {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 5px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: start;
}

.instruction-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.instruction-text {
    flex: 1;
}

.instruction-text strong {
    color: #856404;
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
}

.instruction-text p {
    color: #856404;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.appypay-ref-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.appypay-ref-actions button {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.appypay-btn-print {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.appypay-btn-print:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.appypay-btn-copy {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.appypay-btn-copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.6);
}

/* ========== CHECKOUT INSTRUCTIONS ========== */
.appypay-ref-checkout-instructions {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	padding: 15px;
	margin: 15px 0;
	border-left: 4px solid #667eea;
	border-radius: 6px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.appypay-ref-checkout-instructions p {
	margin: 0;
	line-height: 1.6;
	color: #333;
}

.appypay-ref-checkout-instructions p:last-child {
	margin-bottom: 0;
}

.appypay-ref-checkout-instructions strong {
	color: #667eea;
}

/* ========== MOBILE FIELD ========== */
.appypay-ref-mobile-field {
	margin-top: 15px;
}

.appypay-ref-mobile-field label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
	color: #333;
}

.appypay-ref-mobile-field input[type="tel"] {
	width: 100%;
	padding: 12px;
	border: 2px solid #ddd;
	border-radius: 6px;
	font-size: 16px;
	transition: border-color 0.3s ease;
}

.appypay-ref-mobile-field input[type="tel"]:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.appypay-ref-mobile-field small {
	display: block;
	margin-top: 5px;
	color: #666;
	font-size: 13px;
}





/* Responsivo */
@media (max-width: 768px) {
    .appypay-ref-row {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .appypay-ref-value {
        font-size: 20px;
        width: 100%;
        text-align: center;
    }
    
    .appypay-ref-actions {
        flex-direction: column;
    }
    
    .appypay-ref-header h2 {
        font-size: 20px;
    }

    .appypay-ref-checkout-instructions {
		padding: 12px;
		font-size: 14px;
	}
}

/* Estilo para impressão */
@media print {
    body * {
        visibility: hidden;
    }
    
    .appypay-reference-container,
    .appypay-reference-container * {
        visibility: visible;
    }
    
    .appypay-reference-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
    
    .appypay-ref-actions {
        display: none !important;
    }
}