/* Shared UI Styles for consistent look across pages */

/* Filter Item Styling */
.filter-item select:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    border-color: #80bdff !important;
}

.filter-item select option:first-child {
    color: #6c757d;
}

/* Input Group Styling */
.input-group-text {
    background-color: #f8f9fa !important;
}

/* Responsive Styles for Filters */
@media (max-width: 768px) {
    .d-flex.flex-wrap.align-items-center.gap-3 {
        flex-direction: column;
        align-items: stretch !important;
    }
    
    .d-flex.align-items-center.gap-2 {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-item {
        flex: 1;
        min-width: 100px;
    }
}

/* GitLab-style Filter Card */
.gitlab-filter-card {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #fff;
}

.gitlab-filter-card .card-body {
    padding: 1rem 1.25rem;
}

/* Three Dots Menu Styling */
.three-dots-menu {
    color: #6c757d;
    border: none;
    background: none;
    padding: 0;
    font-size: 1rem;
    cursor: pointer;
}

.three-dots-menu:hover {
    color: #495057;
}

.three-dots-menu:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Page Header Styling */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.page-header h1 {
    margin-bottom: 0;
    font-size: 1.75rem;
    font-weight: 500;
}

.page-header .actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Compact Filter Styling */
.compact-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.compact-filters .search-input {
    flex-grow: 1;
    min-width: 200px;
}

.compact-filters .filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.compact-filters .filter-label {
    color: #6c757d;
    font-size: 0.875rem;
}

.compact-filters .filter-select {
    border: 0;
    background-color: #f8f9fa;
    font-size: 0.875rem;
}

.compact-filters .action-buttons {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Table Action Menu */
.table-action-menu .dropdown-toggle::after {
    display: none;
}

.table-action-menu .btn {
    border: none;
    background: none;
    padding: 0;
}

.table-action-menu .btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Empty State Styling */
.empty-state {
    padding: 2rem;
    text-align: center;
}

.empty-state .icon {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.empty-state h5 {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.empty-state .actions {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.bi-three-dots-vertical::before {
    font-size: 20px;
}