/* Agencies List Component Styles */

/* Agencies Header */
.agencies-header {
    margin-bottom: 2rem;
}

.agencies-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1rem;
}

.agencies-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Agencies List */
.agencies-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Agency Cards */
.agency-card {
    border: 1px solid #e0e0e0;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 1.5rem;
}

.agency-card:hover {
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
    border-color: #1e40af;
    transform: translateY(-1px);
}

.agency-card-content {
    flex: 1;
}

.agency-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.agency-card-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e40af;
}

.agency-card-type {
    background: #f0f4ff;
    color: #1e40af;
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.agency-card-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.agency-card-state {
    color: #888;
}

.agency-card-links {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.agency-link {
    padding: 0.3rem 0.6rem;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    border: 1px solid #e0e0e0;
    transition: all 0.2s;
}

.agency-link:hover {
    background: #1e40af;
    color: white;
    border-color: #1e40af;
}

/* Search and Filter Bar */
.search-filter-bar {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.search-filter-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-filter-container input,
.search-filter-container select {
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    font-size: 0.9rem;
    transition: border-color 0.2s;
    border-radius: 0;
}

.search-filter-container input:focus,
.search-filter-container select:focus {
    outline: none;
    border-color: #1e40af;
}

#agencySearch {
    flex: 1;
    min-width: 300px;
}

.filter-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

/* Loading States */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: #666;
}

.end-message {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

