/* Frontend Popup styling */
.fr-popup-c1c86c23 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.fr-popup-c1c86c23.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Editor mode preview styling */
.fr-popup-c1c86c23.is-editor-mode {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
    min-height: 200px;
    background: transparent;
}

.fr-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.is-editor-mode .fr-popup-overlay {
    display: none;
}

.fr-popup-content {
    position: relative;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.fr-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    padding: 0;
}

.fr-popup-close:hover {
    color: #ff0000;
}

.fr-popup-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
    color: #333;
}

.fr-popup-body {
    margin-bottom: 25px;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.fr-popup-button {
    display: inline-block;
    background-color: #0073e6;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.fr-popup-button:hover {
    background-color: #005bb5;
    color: #fff;
}