/* Custom styles to match the provided screenshot */
body {
font-family: 'Mulish', sans-serif;
background-color: #f8f9fa;
/* A light grey background */
}

.site-header {
background-color: #ffffff;
border-bottom: 1px solid #e0e0e0;
}

.main-header .brand img {
height: 40px;
/* Adjust as needed */
}

.header-link {
color: #495057;
text-decoration: none;
display: flex;
align-items: center;
gap: 8px;
margin-right: 20px;
}

/* Job listing section styles */
.search-bar {
/* background-color: #ffffff; */
padding: 15px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.job-listings h2 {
font-size: 1.5rem;
font-weight: 600;
}

.job-listings .btn-outline-primary {
border-color: #007bff;
color: #ffffff;
background-color: #007bff;
}

.job-listings .btn-outline-primary.active {
background-color: #0056b3;
border-color: #0056b3;
}

.job-listings .card {
border: 1px solid #e0e0e0;
border-radius: 8px;
}

.card h4 {
font-size: 1.25rem;
font-weight: 600;
}

.card h5 {
font-size: 1rem;
font-weight: 500;
}

.card .badge {
padding: 0.5em 0.8em;
font-size: 0.75rem;
font-weight: bold;
background-color: #007bff;
color: #fff;
border-radius: 50rem;
}

/* Custom styles for the new search bar */
.job-search-panel {
background-color: #ffffff;
border: 1px solid #e0e0e0;
}

.job-search-panel .form-control,
.job-search-panel .btn-outline-secondary {
height: 48px;
border-radius: 8px;
font-size: 16px;
transition: all 0.3s ease;
}

.job-search-panel .form-control:focus,
.job-search-panel .btn-outline-secondary:focus {
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
border-color: #0d6efd;
}

.job-search-panel .search-field .bi-search {
left: 15px;
font-size: 1.25rem;
color: #999;
}

.job-search-panel .form-control.ps-5 {
padding-left: 3.5rem !important;
/* Adjust if needed */
}

.job-search-panel .btn-primary {
height: 48px;
border-radius: 8px;
font-size: 16px;
}

.job-search-panel .dropdown-menu {
border-radius: 8px;
border: 1px solid #e0e0e0;
}

.job-search-panel .dropdown-item {
padding: 10px 15px;
border-radius: 6px;
transition: background-color 0.2s ease;
}

.job-search-panel .dropdown-item:active,
.job-search-panel .dropdown-item:hover {
background-color: #f8f9fa;
color: #000;
}

/* General styling for the page layout */
body {
background-color: #f7f9fc;
}

.bg-light-gray {
background-color: #f7f9fc;
}

.search-panel,
.filters-panel {
background-color: #ffffff;
border: 1px solid #e0e0e0;
}

/* Styling the buttons inside the filter panel */
.filters-panel .btn-filter {
border-radius: 50px;
/* Pill-shaped buttons */
border-color: #e0e0e0;
color: #495057;
transition: all 0.3s ease;
}

.filters-panel .btn-filter:hover {
background-color: #f0f4f8;
border-color: #ced4da;
}

.filters-panel .btn-filter.active {
background-color: #0d6efd;
color: #ffffff;
border-color: #0d6efd;
}

.filters-panel h5,
.filters-panel h6 {
font-weight: 600;
}

.filters-panel hr {
margin: 1rem 0;
}

/* Styling for the collapsible filter panel */
.collapse.show.filters-panel {
background-color: #ffffff;
border: 1px solid #e0e0e0;
border-radius: 8px;
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.filters-panel .btn-filter {
border-radius: 50px;
border-color: #e0e0e0;
color: #495057;
transition: all 0.3s ease;
}

.filters-panel .btn-filter.active {
background-color: #0d6efd;
color: #ffffff;
border-color: #0d6efd;
}

/* Hide the Filters button on large screens if the filter panel is always visible */
@media (min-width: 992px) {
.search-panel .btn[data-bs-target="#filtersPanel"] {
display: none;
}
}

/* Custom CSS for the Modal */
.modal-content {
border-radius: 15px;
border: none;
}

.modal-header .btn-close {
background-color: transparent;
border: none;
font-size: 1.5rem;
}

.form-control.rounded-pill {
border-radius: 50px;
}

.btn.rounded-pill {
border-radius: 50px;
}

.modal-backdrop {
z-index: 9;
}


  /* Hide original inputs */
    .filters-panel input[type="checkbox"],
    .filters-panel input[type="radio"] {
        display: none;
    }

    /* Pill style labels */
    .filters-panel .btn-filter {
        display: inline-block;
        border-radius: 50px;
        padding: 6px 16px;
        border: 1px solid #ccc;
        background: #fff;
        color: #333;
        cursor: pointer;
        font-size: 14px;
        transition: all 0.2s ease-in-out;
    }

    /* Hover effect */
    .filters-panel .btn-filter:hover {
        background-color: #f8f9fa;
    }

    /* Checked (active) state */
    .filters-panel input[type="checkbox"]:checked + .btn-filter,
    .filters-panel input[type="radio"]:checked + .btn-filter {
        background-color: #0d6efd;  /* Bootstrap primary */
        color: #fff;
        border-color: #0d6efd;
    }
.filters-panel .btn-sm {
    border-radius: 20px; /* pill-like buttons */
    font-size: 14px;
    font-weight: 500;
}

.filters-panel .btn-outline-secondary {
    background: #fff;
    color: #6c757d;
    border: 1px solid #ccc;
    transition: all 0.2s;
}

.filters-panel .btn-outline-secondary:hover {
    background: #f8f9fa;
}

.filters-panel .btn-primary {
    background: #0d6efd;
    border-color: #0d6efd;
    transition: all 0.2s;
}

.filters-panel .btn-primary:hover {
    background: #0b5ed7;
    border-color: #0a58ca;
}
