.gallery-app {
    display: flex;
    height: 100%;
    font-family: sans-serif;
}

/* Sidebar */
.sidebar {
    width: 350px;
    border-right: 1px solid #ddd;
    padding: 1rem;
    background: #f9f9f9;
    overflow-y: auto;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.sidebar-header-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.gallery-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gallery-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
}

    .gallery-item.active {
        background: #007bff;
        color: white;
    }

.gallery-item-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

/* Main area */
.gallery-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.gallery-toolbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.gallery-actions {
    display: flex;
    gap: 0.5rem;
}

/* Photo grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.photo-item {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ddd;
}

    .photo-item img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Selection checkbox (optional) */
.select-checkbox {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 1;
}
