/* Lightbox Button Styles */
.eel-lightbox-wrapper {
    display: inline-block;
}

.eel-lightbox-trigger {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0073aa;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    outline: none;
}

.eel-lightbox-trigger:hover {
    background-color: #005a87;
    transform: translateY(-2px);
}

.eel-lightbox-trigger:active {
    transform: translateY(0);
}

.eel-lightbox-trigger:focus {
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.3);
}

/* Lightbox Overlay */
.eel-lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    overflow: auto;
    padding: 20px;
}

/* Lightbox Container */
.eel-lightbox-container {
    position: relative;
    margin: auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 95%;
    max-height: 95vh;
    top: 50%;
    transform: translateY(-50%);
}

/* Close Button */
.eel-lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    background-color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.eel-lightbox-close:hover {
    background-color: #f0f0f0;
    transform: scale(1.1);
}

.eel-lightbox-close:active {
    transform: scale(0.95);
}

.eel-lightbox-close span {
    font-size: 28px;
    line-height: 1;
    color: #333333;
    font-weight: 300;
}

/* Lightbox Content */
.eel-lightbox-content {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.eel-lightbox-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    border-radius: 8px;
}

/* Prevent body scroll when lightbox is open */
body.eel-lightbox-open {
    overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .eel-lightbox-container {
        width: 95% !important;
        height: 90% !important;
        max-height: 90vh;
    }

    .eel-lightbox-overlay {
        padding: 10px;
    }

    .eel-lightbox-close {
        top: -10px;
        right: -10px;
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .eel-lightbox-close span {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .eel-lightbox-trigger {
        padding: 10px 20px;
        font-size: 14px;
    }
}

