/* PhonePay Gateway - Frontend Styles */

/* Reset and Base Styles */
.ppg-product-single *,
.ppg-products-grid *,
.ppg-payment-page * {
    box-sizing: border-box;
}

/* Utility Classes */
.ppg-hidden {
    display: none !important;
}

.ppg-text-center {
    text-align: center;
}

/* Loading States */
.ppg-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.ppg-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: ppg-spin 1s linear infinite;
}

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

/* Responsive Utilities */
@media (max-width: 480px) {
    .ppg-hide-mobile {
        display: none !important;
    }
}

@media (min-width: 481px) {
    .ppg-show-mobile {
        display: none !important;
    }
}

/* Accessibility */
.ppg-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Print Styles */
@media print {
    .ppg-payment-apps,
    .ppg-copy-btn,
    .ppg-submit-btn {
        display: none !important;
    }
}
