#jpstar-custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.jpstar-lightbox-content {
    position: relative;
    z-index: 100000;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lightboxFadeIn 0.3s ease-out;
}

.jpstar-lightbox-close {
    position: absolute;
    top: -40px;
    right: -10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: color 0.2s;
}

.jpstar-lightbox-close:hover {
    color: #ccc;
    background: transparent !important;
}

.jpstar-lightbox-img-wrapper {
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

#jpstar-lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    border-radius: 2px;
}

.jpstar-lightbox-info {
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 4px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    color: #333;
}

.lightbox-info-row {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.5;
}

.lightbox-info-row:last-child {
    margin-bottom: 0;
}

.lightbox-label {
    font-weight: bold;
    color: #005A9C;
    margin-right: 8px;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .jpstar-lightbox-info {
        font-size: 14px;
        padding: 12px 15px;
    }
    .jpstar-lightbox-close {
        top: -35px;
        right: 0;
        font-size: 35px;
    }
}
