.job-page-background {
	background-color: #f2f3f9 !important;
	padding: 40px 0px;
}

/* General container styling */
.job-details {
    max-width: 1200px;
    margin: auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}
.job-details-top-holder {

}
/* Breadcrumb navigation */
.job-details .bread-nav {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}
.job-details-text-color {
	color: #777;
}

/* Main heading */
.job-details h1 {
    font-size: 28px;
    font-weight: bold;
    margin: 0px;
    color: #0073aa;
}
.job-details-date-holder {
	display: block;
	margin-bottom: 20px;
}
.job-details-date-holder p {
	font-size: 13px;
	color: gray;
	margin-bottom: 0px !important;
}
.job-details-info-holder {
	padding: 10px 0px;
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;
	margin-bottom: 20px;
}
.job-details-info-holder p {
	margin-bottom: 3px !important;
	font-size: 15px;
}
/* Strong labels */
.job-details p strong {
    color: #444;
    font-weight: bold;
}

/* Paragraphs */


/* Buttons */
.job-details .button {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 10px;
    background-color: #0073aa;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.job-details .button:hover {
    background-color: #005a87;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.3);
}
.job-details-description {
	margin-bottom: 20px;
	display: block;
}
/* Highlighted information blocks */
.job-details p.highlight {
    padding: 10px;
    background-color: #f9f9f9;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
    font-size: 16px;
}

/* Description text */
.job-details p:last-child {
    margin-bottom: 0;
    color: #555;
}

/* Email link */
.job-details a[href^="mailto"] {
    color: #0073aa;
    text-decoration: underline;
}

.job-details a[href^="mailto"]:hover {
    color: #005a87;
}

/* Loader Overlay */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top of everything */
}

/* Heading */
.loader-overlay h2 {
    font-size: 20px;
    color: #0073aa;
    margin-bottom: 20px;
    text-align: center;
}

/* Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #f3f3f3; /* Light gray border */
    border-top: 6px solid #0073aa; /* Blue border */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Spinner Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.customer-job-board-holder {
	display: flex;
	gap: 20px;
}
.customer-job-board-row {
	width: 20%;
}
.customer-job-board-row-inner {

}
.customer-job-board-item {
	padding: 15px;
	background: white;
	border: 1px solid #eee;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
	-webkit-box-shadow: 0 8px 6px -6px #d2d2d2;
	-moz-box-shadow: 0 8px 6px -6px #d2d2d2;
	box-shadow: 0 8px 6px -6px #d2d2d2;
	cursor: pointer;
}
.customer-job-board-row-top {
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
    border-bottom: 1px solid black;
    padding-bottom: 8px;
}
.customer-job-board-row-top .heading {
	font-size: 20px;
	display: inline-block;
	font-weight: bold;
}
.customer-job-board-row-top .count {
	font-size: 20px;
	display: inline-block;
	font-weight: bold;
}
.customer-job-board-item {
	margin-bottom: 15px;
}
.customer-job-board-item .saved-jobs-job-title {
	display: block;
	font-size: 17px;
	font-weight: bold;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}
.customer-job-board-item span {
	display: block;
}
.customer-job-board-item .job-title {
	display: block;
	font-size: 14px;
}
.customer-job-board-item .saved-jobs-company-name, .saved-jobs-job-location, .saved-jobs-job-occupation {
	font-size: 13px;
}
.customer-job-board-item .button {
	cursor: pointer;
	display: block;
    padding: 5px 10px;
    margin-top: 10px;
    background-color: #0073aa;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.customer-job-board-item .red-button {
	background-color: #c84949 !important;
}
.job-board-summary-heading {
	color: black;
	font-size: 18px;
	display: block;
}
.job-board-summary-count {
	display: block;
	color: black;
	font-size: 45px;
	font-weight: bold;
}


/* Form Styling */
#job-search-form {
    max-width: 1200px;
    margin: auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #333;
    line-height: 1.6;
    margin-bottom: 30px;
}
#job-search-form h1 {
	margin: 0px;
}
.job-search-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.job-search-box div {
    flex: 1;
    min-width: 200px;
}

.job-search-box label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #333;
}
.job-search-box input,
.job-search-box select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.3s;
}

.job-search-box input:focus,
.job-search-box select:focus {
    border-color: #0073aa;
    outline: none;
}
/* Ensure Select2 matches normal input fields */
.job-search-box .select2-container .select2-selection--single {
    width: 100%;

    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.3s;
    height: auto;
}

/* Match the focus effect of normal inputs */
.job-search-box .select2-container--default .select2-selection--single:focus,
.job-search-box .select2-container--default .select2-selection--single:hover {
    border-color: #0073aa !important;
    outline: none;
}

/* Ensure the text inside Select2 looks the same */
.job-search-box .select2-container .select2-selection__rendered {
    font-size: 16px;
    color: #333;
	padding: 7px 10px 7px 10px;
    max-width: 85%;
    display: inline-block;
}
.select2-selection__clear {
	margin-left: 5px; 
}
.select2-selection__clear:hover {
	color: red;
}

/* Ensure the dropdown arrow matches styling */
.job-search-box .select2-container .select2-selection__arrow {
    height: 100%;
    right: 10px;
}

/* Style the dropdown results to match */
.select2-dropdown {
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
}

/* Highlight hovered and selected options */
.select2-results__option--highlighted {
    background-color: #0073aa !important;
    color: white !important;
}

.select2-results__option--selected {
    background-color: #005f8d !important;
    color: white !important;
}


.job-search-box button {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: #0073aa;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.job-search-box button:hover {
    background-color: #005f8d;
}

/* Job Results */
#job-results {
    margin-top: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.job-list {
    list-style: none;
    padding: 0;
}

.job-list li {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    transition: transform 0.2s;
}

.job-list li:hover {
    transform: translateY(-3px);
}

.job-list li strong {
    font-size: 18px;
    color: #333;
}

.job-list li p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.job-list li a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    cursor: pointer;
}

.job-list li a:hover {
    background: #005f8d;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 5px;
    background: #ddd;
    text-decoration: none;
    color: #333;
    transition: background 0.3s;
}

.pagination a:hover {
    background: #0073aa;
    color: white;
}
/* Responsive design */
@media (max-width: 768px) {
    .job-details {
        padding: 20px;
    }

    .job-details h1 {
        font-size: 24px;
    }

    .job-details p {
        font-size: 14px;
    }

    .job-details .button {
        font-size: 14px;
        padding: 8px 15px;
    }
    #job-search-form {
	    border-radius: 0px;
    }
    .customer-job-board-holder {
        flex-wrap: wrap; /* Allows wrapping on small screens */
        justify-content: center; /* Center align if needed */
    }

    .customer-job-board-row {
        width: 100%; /* Make boxes full width on mobile */
    }
}