/* Payment Processing Overlay Styles */
.payment-processing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.payment-processing-modal {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-processing-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.payment-processing-spinner {
    width: 60px;
    height: 60px;
    color: #ef4444;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.payment-processing-content h3 {
    margin: 0;
    color: #111827;
    font-size: 24px;
    font-weight: 600;
}

.payment-processing-content p {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.5;
}

#paymentInstructions {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    width: 100%;
    text-align: left;
}

#paymentInstructions p {
    margin-bottom: 10px;
}

#paymentInstructions p:last-child {
    margin-bottom: 0;
}

#paymentDetails {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 15px;
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.6;
}

.payment-note {
    font-size: 13px !important;
    color: #9ca3af !important;
    font-style: italic;
}

.cancel-payment-btn {
    background: #6b7280;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 20px;
}

.cancel-payment-btn:hover {
    background: #4b5563;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .payment-processing-modal {
        padding: 30px 20px;
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .payment-processing-content h3 {
        font-size: 20px;
    }
    
    .payment-processing-content p {
        font-size: 14px;
    }
    
    .payment-processing-spinner {
        width: 50px;
        height: 50px;
    }
}
