.search-filters-card {
    max-height: calc(100vh - 130px);
    overflow-y: auto;
}

.search-results-card {
    height: calc(100vh - 130px);
}

.search-results-card-empty {
    height: auto;
}

.search-results-card > .card-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.search-results-frame,
.search-results-frame > turbo-frame,
.search-results-panel {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.search-results-panel {
    margin-bottom: 0;
}

.search-results-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.search-empty {
    flex: 1;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    border: 1px dashed #d9d4cb;
    border-radius: 8px;
    background-color: #fbfaf8;
}

.search-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 50%;
    background-color: #f0ede7;
    color: #a8a29a;
    font-size: 26px;
}

.search-empty-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #3e3f3a;
}

.search-empty-hint {
    margin: 6px 0 0;
    max-width: 380px;
    color: #8a867e;
    font-size: 0.95rem;
}

.search-empty-action {
    margin-top: 18px;
}

.search-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 14px;
}

.search-pagination-summary {
    color: #6c757d;
    font-size: 0.95rem;
}

.search-pagination .page-link {
    font-size: 1rem;
    min-width: 2.5rem;
    padding: 0.5rem 0.75rem;
    text-align: center;
}
