/* ============================================
   PAYMENT - Popup iframe for payment
   ============================================ */

.payment-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.payment-overlay.active {
    display: block;
}

.payment-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.payment-popup.active {
    display: block;
}

.payment-popup-header {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 8px 8px 0 0;
}

.payment-popup-close {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-main);
}

.payment-popup-close:hover {
    background: #c0392b;
}

.payment-popup iframe {
    width: 100%;
    height: calc(100% - 50px);
    border: none;
    border-radius: 0 0 8px 8px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .payment-popup {
        width: 95%;
        height: 90%;
    }
}
