/* ── Scrollbar ── */

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-surface);
}
::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 3px;
}
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) var(--color-bg-surface);
}

/* Content area */
.content-area {
    flex-grow: 1;
    padding: 20px;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

.page-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--color-text);
}

.page-sticky-header {
    position: sticky;
    margin: 0px;
    padding: 10px 0px;
    top: -20px; /* due to padding top of content-area */
    background-color: var(--color-bg-page);
    z-index: 100; /* ensure header is above image preview */
}

.actions-bar {
    display: flex;
    justify-content: space-between;
    margin: 0 0 12px;
    height: 60px;
    padding: 10px;
}

.action-buttons {
    display: flex;
    flex: auto;
    gap: 12px;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    color: var(--color-content-muted);
    width: 100%;
    height: 300px;
    grid-column: 1 / -1;
}

/* invisible element, permits building of drag element without altering display */
.drag-preview {
    position: absolute;
    top: -9999px;
    left: -9999px;
    pointer-events: none;
    width: 360px;
}
