/* Frontend Styles */

.spl-lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    animation: fadeIn 0.3s ease-in-out;
}

.spl-lightbox-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spl-lightbox-content {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-in-out;
}

.spl-lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.spl-lightbox-close:hover {
    color: #333;
}

.spl-lightbox-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
}

.spl-lightbox-body {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.spl-lightbox-body p {
    margin: 0 0 15px 0;
}

.spl-lightbox-body p:last-child {
    margin-bottom: 0;
}

.spl-lightbox-body a {
    color: #0073aa;
    text-decoration: none;
}

.spl-lightbox-body a:hover {
    text-decoration: underline;
}

.spl-lightbox-body b,
.spl-lightbox-body strong {
    font-weight: 600;
}

.spl-lightbox-body i,
.spl-lightbox-body em {
    font-style: italic;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .spl-lightbox-content {
        padding: 30px;
        max-width: 95%;
    }

    .spl-lightbox-title {
        font-size: 20px;
    }

    .spl-lightbox-body {
        font-size: 14px;
    }
}
