﻿.album-tile {
    cursor: pointer;
}

.album-cover {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: .5rem;
}

.album-card {
    border: 1px solid #e9ecef;
    border-radius: .75rem;
    overflow: hidden;
    transition: transform .08s ease;
}

    .album-card:hover {
        transform: translateY(-2px);
    }

.album-meta {
    padding: .75rem;
}

.infinite-sentinel {
    height: 1px;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    margin: auto;
    border-radius: .5rem;
}

.lightbox-caption {
    margin-top: .5rem;
    color: #6c757d;
    text-align: center;
    min-height: 1.5rem;
}
/* Positioning container already has position:relative via .lightbox-wrap */

/* Circular nav buttons */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex; /* ensures content centers */
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
    font-size: 30px; /* slightly larger arrow */
    line-height: 1; /* no extra spacing */
    font-family: 'Segoe UI Symbol', 'Arial Unicode MS', sans-serif;
    color: #212529;
    cursor: pointer;
    user-select: none;
    z-index: 2;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

.lightbox-nav:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.lightbox-nav:active {
    transform: translateY(-50%) scale(0.98);
}

.lightbox-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Smaller on narrow screens */
@media (max-width: 576px) {
    .lightbox-nav {
        width: 48px;
        height: 48px;
        font-size: 26px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }
}


/* Existing image/caption styles (keep yours if you already have them) */
.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    border-radius: .5rem;
}

.lightbox-caption {
    margin-top: .5rem;
    color: #6c757d;
    text-align: center;
    min-height: 1.5rem;
}
#lightboxTitle {
    font-size: 1.05rem;
}

.btn-close {
    z-index: 1056 !important; /* higher than .modal-backdrop (1055) and nav buttons */
}