.payup-pk-checkout-section {
    margin: 20px 0;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.payup-pk-qr-container {
    text-align: center;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#payup-pk-qrcode {
    margin: 15px auto;
    display: flex;
    justify-content: center;
    padding: 15px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#payment .payment_methods li #payup-pk-qrcode img {
    margin: 0 auto;
    display: block;
    max-height: 100%;
}

.payup-pk-action-container {
    text-align: center;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

#payup-pk-upload-container {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #e0e0e0;
    text-align: center;
}

.payup-pk-upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    width: 100%;
}

#payup-pk-proof-file {
    width: 100%;
    padding: 20px;
    border: 2px dashed #007cba;
    border-radius: 6px;
    background: #f0f7ff;
    cursor: pointer;
    font-size: 15px;
    text-align: center;
    color: #007cba;
    transition: background 0.2s;
}

#payup-pk-proof-file:hover {
    background: #e6f2ff;
}

#payup-pk-upload-message {
    margin-top: 12px;
    font-weight: 600;
    font-size: 14px;
}

#payup-pk-upload-message .success,
.payup-pk-action-container .success {
    color: #008a20;
}

#payup-pk-upload-message .error {
    color: #d63638;
}

/* Mobile Only Button */
.payup-pk-mobile-only {
    display: none !important;
}

@media only screen and (max-width: 768px) {
    .payup-pk-mobile-only {
        display: block !important;
    }
}

/* Instructions Styling */
.payup-pk-instructions {
    margin-bottom: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #007cba;
    border-radius: 4px;
    font-size: 14px;
}

.payup-pk-instructions p {
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 600;
    color: #333;
}

.payup-pk-instructions ol {
    margin-left: 20px;
    margin-bottom: 0;
    color: #555;
}

.payup-pk-instructions li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Mobile Adjustments */
@media only screen and (max-width: 480px) {
    .payup-pk-instructions {
        padding: 15px;
        font-size: 13px;
    }

    .payup-pk-checkout-section {
        padding: 15px;
    }
}

/* Ensure images are responsive */
#payup-pk-qrcode img,
#payup-pk-qrcode canvas {
    max-width: 100%;
    height: auto;
}

/* Container Responsiveness */
.payup-pk-checkout-section {
    max-width: 100%;
    box-sizing: border-box;
}

/* Button enhancements */
#payup-pk-save-qr-btn,
#payup-pk-open-easypaisa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-weight: 500;
}

.payup-pk-bank-section {
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* Loading spinner animation */
@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

.dashicons.spin {
    animation: rotation 1s infinite linear;
    display: inline-block;
}