:root {
    --primary-blue: #6c9bd1;
    --light-blue: #e3f2fd;
    --border-gray: #dee2e6;
}

.filter-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    padding: 1.5rem;
}
.dropdown-menu {
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 0;
    z-index: 1050;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.125rem;
}    
.dropdown-menu.show {
    display: block;
}    
.dropdown-menu:not(.show) {
    display: none;
}    
.filter-dropdown {
    position: relative;
}    
.filter-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.125rem;
}    
.filter-btn {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: left;
    color: var(--text-gray);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
}    
.filter-btn:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(108, 155, 209, 0.25);
}    
.filter-btn::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    transition: transform 0.2s ease;
}

.filter-btn.active::after {
    transform: rotate(180deg);
}

.dropdown-search {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid #dee2e6;
    padding: 0.75rem;
    z-index: 10;
}    
.dropdown-search input {
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s ease;
}    
.dropdown-search input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(108, 155, 209, 0.25);
}    
.dropdown-search input::placeholder {
    color: #6c757d;
}    
.dropdown-options.career-dropdown-options {
    max-height: 200px;
    overflow-y: auto;
}    
.dropdown-item.career-dropdown-item {
    padding: 0.75rem;
    border: none;
    transition: background-color 0.2s ease;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    color: #6c757d;
    display: block;
}    
.dropdown-item.career-dropdown-item:hover {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    text-decoration: none;
}    
.dropdown-item.career-dropdown-item.active {
    background-color: var(--primary-blue);
    color: white;
}
.dropdown-item.career-dropdown-item.hidden {
    display: none;
}
.no-results {
    padding: 1rem;
    text-align: center;
    color: #6c757d;
    font-style: italic;
    display: none;
}
.jobs-table {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-top: 2rem;
}    
.table {
    margin-bottom: 0;
    width: 100%;
}    
.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid var(--border-gray);
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    padding: 1rem 0.75rem;
    text-align: left;

}
.table tbody td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f4;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.job-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

.team-badge {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.location-text {
    color: var(--primary-blue);
    font-weight: 500;
}

.summary-text {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: #f1f3f4;
    color: #495057;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.posted-date {
    color:#6c757d;
    font-size: 0.9rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .filter-section {
        padding: 1rem;
    }

    .table-responsive {
        border-radius: 8px;
    }

    .table thead {
        display: none;
    }    
    .table tbody tr {
        display: block;
        border: 1px solid var(--border-gray);
        border-radius: 8px;
        margin-bottom: 1rem;
        padding: 1rem;
        background: white;
    }    
    .table tbody td {
        display: block;
        border: none;
        padding: 0.5rem 0;
        text-align: left;
    }    
    .table tbody td::before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: #495057;
        display: inline-block;
        width: 80px;
        margin-right: 0.5rem;
    }

    .tags {
        margin-top: 0.5rem;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .table thead th,
    .table tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }

    .summary-text {
        font-size: 0.8rem;
    }
}    
.loading {
    display: none;
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.spinner-border {
    color: var(--primary-blue);
}

/* Job Link Styles */
.job-link {
    color: #333;
    text-decoration: none;
    font-size:14px;
    transition: color 0.2s ease;
}

.job-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}