@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
.job-listing-container {
    margin-top: 20px;
    margin-bottom: 20px;
}

.filters-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 5px;
    width: 30%;
}

.dropdown-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-right: 1rem;
}

.filter-container, .search-container, .office-container {
    flex: 1;
    margin-right: 1rem;
}

.filter-container:last-child, .search-container:last-child, .office-container:last-child {
    margin-right: 0; /* Remove margin from the last element to avoid extra space */
}

.filter-container p, .search-container p, .office-container p {
    margin: 0 !important;
    padding: 0 !important;
}

.filter-container h5, .search-container h5, .office-container h5 {
    margin: 0;
    padding: 0;
    font-size: 0.75rem !important;
    font-family: "IBM Plex Sans", serif !important;
    font-weight: 500 !important;
    font-style: normal !important;
    color: #32312f !important;
}

.search-input, .filter-select {
    width: 200px !important;
    height: 2.15rem !important;
    padding: 5px !important;
    box-sizing: border-box !important;
    border-color: #d7d7d7 !important;
    background-color: #fff !important;
    outline-color: #92c8f3 !important;
    border-radius: 0.18rem !important;
    color: #6e6e6e !important;
}

.job-count {
    display: none;
    margin: none;
}

.job-count p {
    padding: none;
    margin-top: 0;
    font-size: 1rem;
    font-family: "IBM Plex Sans", serif;
    font-weight: 500;
    font-style: normal;
}

.job-list h5 {
    background-color: #32312f;
    color: #fff !important;
    padding-top: 0 !important;
    padding-bottom: 15px;
    padding-left: 20px;
    margin-top: 15px;
    margin-bottom: 0px;
    font-size: 18px !important;
    font-family: "IBM Plex Sans", serif !important;
    font-weight: 500 !important;
    font-style: normal;
    line-height: 26px !important;
}

.job-list {
    list-style-type: none;
    padding: 0;
    margin: 0 auto;    
    position: relative;
    border-collapse: collapse;
    background-color: #fff !important;
    border: none !important;
}

.job-list .department-row {
    background-color: #32312f;
    text-align: left;
    margin-top: 40px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 1rem;
    font-family: "IBM Plex Sans", serif;
    font-weight: bold;
    font-style: normal;
    line-height: 30px;
}

.job-list .job-row {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    padding-top: 12px;
    border-top: none !important;
    border-bottom: 1px solid #32312f !important;
    border-left: none !important;
    border-right: none !important;
    height: auto;
}

.job-list .job-details {
    display: flex;
    flex: 1;
    flex-direction: row;
    justify-content: space-between;
    
}

.job-list .job-name {
    flex: 3;
    font-size: 1rem;
    align-self: center;
    font-family: "IBM Plex Sans", serif;
    font-weight: 400;
    font-style: normal;
    line-height: 30px;
}

.job-list .job-location {
    flex: 1;
    align-self: center;
    font-size: 1rem;
    font-family: "IBM Plex Sans", serif;
    font-weight: 400;
    font-style: normal;
    line-height: 30px;
}

.name-link {
    text-decoration: none;
}

.name-link:hover,
.name-link.hovered {
    color: #A17D24 !important;
}

.job-list .button-form {
    display: flex;
    align-items: center;
}

.job-list .apply-button {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
    background-image: url('arrow_forward_35dp_707070_FILL0_wght400_GRAD0_opsz40.png');
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 35px !important;
    height: 35px !important;
    border: none !important;
    cursor: pointer !important;
    text-indent: -9999px !important; 
    overflow: hidden !important;
    background-color: #fff !important;
}

.job-list .apply-button:hover,
.job-list .apply-button.hovered {
    background-color: #fff !important;
    outline: none !important;
    background-image: url('arrow_forward_35dp_707070_FILL0_wght400_GRAD0_opsz40.png');
    transition: transform 0.3s ease-in-out;
    transform: translateX(10px);
}

.name-link:focus,
.name-link:focus-visible,
.name-link:visited {
    outline: none !important;
}

.job-list .apply-button:focus,
.job-list .apply-button:focus-visible,
.job-list .apply-button:visited {
    background-color: #fff !important;
    background-image: url('arrow_forward_35dp_707070_FILL0_wght400_GRAD0_opsz40.png');
    outline: none !important;
}

/* Media query for mobile devices */
@media (max-width: 576px) {
    .filters-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: left;
        margin-bottom: 5px;
        width: 100%;
    }

    .dropdown-container {
        justify-content: left;
        width: 100%;
        margin: 0;
    }

    .filter-container, .office-container {
        width: 100%;
        margin-right: 1rem;
        margin-bottom: 0.625rem;
        display: block;
    }

    .filter-select {
        width: 100% !important;
    }

    .search-input {
        width: 100% !important;
    }

    .job-list .department-row {
        font-size: 17px;
        line-height: 25px;
    }

    .job-list .job-name:last-child, .job-list .job-location:last-child {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }

    .job-list .job-details {
        display: flex;
        flex: 1;
        flex-direction: column;
        justify-content: space-between;
        
    }

    .job-list .job-name, .job-list .job-location {
        line-height: 24px;
        margin-bottom: 1rem;
        align-self: flex-start;
    }

    .job-list .button-form {
        align-self: center;
    }

}

/* Small devices (tablets, 576px and up) */
@media (min-width: 576px) and (max-width: 1024px) {
    .filters-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: left;
        margin-bottom: 0.3125rem;
        width: 100%;
    }

    .dropdown-container {
        justify-content: left;
        width: 100%;
        margin: 0;
    }

    .filter-container, .office-container {
        max-width: 12.5rem;
        margin-right: 1rem;
        margin-bottom: 0.625rem;
        display: block;
    }

    .filter-select {
        max-width: 200px;
    }

    .search-input {
        width: 416px !important;
    }

    .job-list .job-name {
        margin-right: 0.5rem;
    }
}