.tps-photo-gallery-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.tps-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tps-photo-item {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tps-photo-item:hover {
    transform: translateY(-5px);
}

.tps-photo-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
}

.tps-photo-actions {
    padding: 15px;
    text-align: center;
}

.tps-photo-actions .button {
    width: 100%;
}

.tps-no-photos {
    text-align: center;
    grid-column: 1 / -1;
    padding: 40px;
    color: #666;
}

.tps-gallery-actions {
    text-align: center;
    margin-top: 30px;
}

/* Lightbox */
.tps-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.tps-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.tps-lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
}

.tps-close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
}