/* wp-content/plugins/lcps-popup-manager/assets/css/lcps-popup.css */
.lcps-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    /* initially hidden via inline style */
}

.lcps-popup-content-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lcps-popup-close {
    position: absolute;
    top: -20px;
    right: -20px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 2;
    transition: background 0.3s ease, transform 0.2s ease;
}

.lcps-popup-close:hover {
    background: #eee;
    transform: scale(1.1);
}

.lcps-popup-link {
    display: block;
}

.lcps-popup-image {
    max-width: 100%;
    max-height: calc(90vh - 60px); /* Leave room for footer */
    object-fit: contain;
    border: none;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.lcps-popup-footer {
    width: 100%;
    margin-top: 15px;
    text-align: right;
    color: #fff;
    font-family: sans-serif;
    font-size: 14px;
}

.lcps-popup-footer label {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    background: rgba(0,0,0,0.5);
    padding: 5px 10px;
    border-radius: 4px;
}

.lcps-popup-footer input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}
