/* Portfolio detail — lightbox only (layout uses Tailwind) */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 18, 51, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-color);
    z-index: 2;
}

.lightbox-close:hover {
    background: var(--primary-color);
    color: #fff;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.92);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-color);
    z-index: 2;
}

.lightbox-nav:hover {
    background: var(--primary-color);
    color: #fff;
}

.lightbox-prev {
    left: 12px;
}

.lightbox-next {
    right: 12px;
}

@media (max-width: 640px) {
    .lightbox {
        padding: 12px;
    }

    .lightbox-nav {
        width: 36px;
        height: 36px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }
}

/* Dashboard portfolio details */
.portfolio-details-page {
    max-width: var(--container-max);
    margin: 0 auto;
}

.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    background: var(--bg-muted);
    border-radius: var(--radius);
    color: var(--text-muted);
}

.no-image-placeholder i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.portfolio-meta p {
    margin: 0 0 8px;
    font-size: 0.875rem;
    color: var(--text-color);
}

.portfolio-description {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-color);
}
