.search-page {
    height: 100%;
    width: 100%;
    padding: 1rem;
}

.search-container {
    display: flex;
    gap: 2rem;
    height: 100%;
    position: relative;
}

/* Results Section */
.results-section {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.results-section .panel .panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Group Selector Styles */
.group-selector {
    display: flex;
    padding: 0;
    height: auto;
    background: #f8f9fa;
    flex-direction: row;
    border: 1px solid #dee2e6;
}

.group-option {
    padding: 2px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    border-right: 1px solid #dee2e6;
    user-select: none;
}

.group-option:last-child {
    border-right: none;
}

.group-option i {
    margin-right: 8px;
    font-size: 14px;
    color: #6c757d;
}

.group-option span {
    font-size: 14px;
    color: #495057;
}

.group-option:hover {
    background: #e9ecef;
}

.group-option.active {
    background: #87bdf7;
}

.group-option.active i,
.group-option.active span {
    color: #fff;
}

/* Table Styles */
.table-container {
    overflow: auto;
}

.table {
    margin-bottom: 0;
    min-width: 800px; /* Minimum width to ensure proper column spacing */
}

/* Filter Section */
.filter-section {
    width: 500px;
    position: relative;
    transition: width 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filter-section.collapsed {
    width: 40px;
}

.filter-section.collapsed .panel {
    display: none;
}

.collapse-toggle {
    border: 1px solid #dee2e6;
}

/* Panel Styles */


/* Pagination Styles */
.pagination-info {
    padding: 6px 0;
}

.pagination-nav {
    display: flex;
    justify-content: flex-end;
}

.pagination {
    margin: 0;
}

.pagination .page-item .page-link {
    outline: none;
}

/* Utility Classes */
.mt-3 {
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-container {
        flex-direction: column-reverse;
    }

    .filter-section {
        width: 100%;
    }

    .filter-section.collapsed {
        width: 100%;
        height: 40px;
    }

    .collapse-toggle {
        left: 20px;
        top: -15px;
        transform: rotate(90deg);
    }

    .pagination-nav {
        justify-content: center;
        margin-top: 1rem;
    }

    .pagination-info {
        text-align: center;
    }
} 
