/**
 * Popup Modal Assets Version: 1.0.6
 */

/* Trigger Styles */
.pm-652dd56b-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.3s ease, border-color 0.3s ease; /* Removed background-color transition for cleaner text links */
    border: none;
    background: transparent;
    padding: 0;
    text-decoration: none;
}

.pm-652dd56b-trigger.type-button {
    background-color: #000000;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease; /* Re-add all transitions for button type */
}

.pm-652dd56b-trigger.type-text {
    color: #0066cc;
    border-bottom: 1px solid transparent;
    background-color: transparent !important; /* Force transparent background */
}

.pm-652dd56b-trigger.type-text:hover {
    color: #004499;
    background-color: transparent !important; /* Ensure no background on hover */
}

.pm-652dd56b-justified {
    width: 100%;
}

.pm-652dd56b-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Overlay Styles */
.pm-652dd56b-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: background-color 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.pm-652dd56b-overlay.pm-652dd56b-active {
    background-color: rgba(0, 0, 0, 0.85);
    opacity: 1;
    visibility: visible;
}

.pm-652dd56b-modal {
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.98);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.pm-652dd56b-overlay.pm-652dd56b-active .pm-652dd56b-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Modal Header */
.pm-652dd56b-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.pm-652dd56b-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-652dd56b-title-icon svg {
    width: 20px;
    height: 20px;
}

.pm-652dd56b-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pm-652dd56b-open-new,
.pm-652dd56b-close {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.pm-652dd56b-open-new:hover {
    background-color: #e9ecef;
    color: #0066cc;
}

.pm-652dd56b-close:hover {
    background-color: #ffebee;
    color: #dc3545;
}

/* Modal Body */
.pm-652dd56b-body {
    flex-grow: 1;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #e9ecef; /* grey background while loading */
}

.pm-652dd56b-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background-color: transparent;
}
