/**
 * Ciklid Lightbox - Enkel lightbox styling
 */

.ciklid-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.ciklid-lightbox.active {
    display: flex;
}

.ciklid-lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.ciklid-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 1;
}

.ciklid-lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    height: auto;
    display: block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.ciklid-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s;
}

.ciklid-lightbox-close:hover {
    background: rgba(255, 255, 255, 1);
}

.ciklid-lightbox-close .material-icons {
    color: #333;
    font-size: 24px;
}

/* Responsiv design */
@media (max-width: 768px) {
    .ciklid-lightbox-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }

    .ciklid-lightbox-close .material-icons {
        font-size: 20px;
    }
}

