.temp-popup-wrapper-outer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

body.admin-bar .temp-popup-wrapper-outer {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .temp-popup-wrapper-outer {
        top: 46px;
        height: calc(100% - 46px);
    }
}

.temp-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.temp-popup-box {
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    background: #ffffff;
    max-width: 90%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100000;
}

.temp-popup-editor-notice {
    background: #ffecb3;
    color: #856404;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 10px;
    text-align: center;
}

.temp-popup-content {
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
}

.temp-popup-actions {
    display: flex;
    justify-content: flex-end;
}

.temp-popup-close {
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
    font-weight: 600;
}

.temp-popup-close:hover {
    opacity: 0.9;
}
