/* Concepts Popup Plugin Styles */

.cpp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.cpp-popup {
    background: white;
    padding: 20px;
    max-width: 500px;
    /* Default - can be overridden per popup */
    width: 100%;
    max-height: 80vh;
    /* Default - can be overridden per popup */
    overflow-y: auto;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    /* margin: 20px; */
}

.cpp-popup:focus {
    outline: 0;
}

.cpp-close {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    line-height: 1;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cpp-close:hover {
    color: #000;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .cpp-popup {
        max-width: 95%;
        margin: 10px;
        max-height: 90vh;
    }
}

/* Ensure popup content doesn't interfere with close button */
.cpp-popup .cpp-content {
    margin-top: 10px;
}

/* Reset some common styles that might interfere */
.cpp-popup * {
    box-sizing: border-box;
}

.cpp-popup img {
    max-width: 100%;
    height: auto;
}

/* Example Custom Popup Classes */
/* You can use these class names in the "Custom CSS Class" field */

/* Large popup for detailed content */
.large-popup {
    max-width: 800px !important;
    max-height: 90vh !important;
}

/* Small popup for quick messages */
.small-popup {
    max-width: 300px !important;
    max-height: 400px !important;
}

/* Full width popup (with some margin) */
.wide-popup {
    max-width: 95% !important;
    width: 95% !important;
}

/* Tall popup for forms */
.tall-popup {
    max-height: 95vh !important;
    max-width: 600px !important;
}

/* Promo popup styling */
.promo-popup {
    max-width: 700px !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.promo-popup .spp-close {
    color: white !important;
}

.promo-popup .spp-close:hover {
    color: #ccc !important;
}

/* Minimal popup */
.minimal-popup {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 2px !important;
}