﻿.list-panel-card {
    position: absolute;
    inset: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

    .list-panel-card .card-body {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

.list-controls {
    flex: 0 0 auto;
    margin-bottom: 1rem;
}

.sort-select {
    border-color: var(--pa-border);
    color: var(--brand);
    font-weight: 500;
}

.campground-list-row {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.campground-list {
    position: absolute;
    inset: 0;
    margin: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.list-pagination {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 0.5px solid var(--pa-border);
}

.page-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--pa-border);
    background: white;
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .page-btn:hover:not(:disabled) {
        background: var(--brand);
        color: white;
        border-color: var(--brand);
    }

    .page-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

.page-status {
    font-size: 0.85rem;
    color: var(--pa-muted);
}
