/* bs5_candidate_arj.css - ARJ-only styles for BS5 candidate pages */


/* Select2 v4 fix: counter height:100%!important in select2-4.0.5.css */

.select2-container .select2-selection--single {
	padding: 0.375rem 0.75rem;
	border: 1px solid #dee2e6;
	border-radius: 0.375rem;
	height: auto !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 1.5;
	padding-left: 0;
}

.select2-container .select2-selection--single .select2-selection__arrow {
	height: 100%;
}


/* Buttons */

.btn-primary {
	background-color: #1a6bb5;
	border-color: #1a6bb5;
}

.btn-primary:hover {
	background-color: #155a9a;
	border-color: #155a9a;
}

.arj_btn_large {
	padding: 10px 28px;
}


/* Job cards */

.job-card {
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.job-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-1px);
}

.job-item {
	transition: background-color 0.15s ease;
}

.job-item:hover {
	background-color: #f8f9fa;
}


/* Recruiter logos */

.sr-logo {
	width: 140px;
	height: 90px;
	object-fit: contain;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	padding: 16px;
	display: block;
	margin: 0 auto;
	background-color: #fff;
}

/* ARJ brand colours */

.arj_blue_bg {
	background-color: #004C7A;
}

.arj_blue_text {
	color: #1a6bb5;
}

.btn-outline-arj {
	color: #004C7A;
	border-color: #004C7A;
}

.btn-outline-arj:hover,
.btn-outline-arj.active {
	background-color: #004C7A;
	border-color: #004C7A;
	color: #fff;
}


/* Search results description */

@media (min-width: 768px) {
	.job-description-text {
		max-width: calc(100% - 170px);
	}
}


/* Pulse animations */

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	50% {
		transform: scale(1.25);
		opacity: 0.7;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.pulse-once, .pulse {
	animation: pulse 1s forwards 1;
}

.pulse-twice {
	animation: pulse 1s forwards 2;
}


/* Navbar */

.navbar-brand {
	color: white;
}

.navbar-toggler {
	background-color: #8cbe2e;
}

.navbar {
	background-color: #083279;
	color: red;
	min-height: 50px;
	padding-bottom: 0px;
}

#mainnavbar .nav-link {
	background-color: #67a4de;
	color: #fff;
	padding-top: 15px;
	padding-bottom: 15px;
	padding-right: 15px;
	padding-left: 15px;
	line-height: 20px;
	margin-right: 0.5em;
	margin-bottom: 0em;
}

#mainnavbar .nav-link:hover, #mainnavbar .nav-link:active {
	background-color: #8cbe2e;
}


/* Footer */

.footer .navbar {
	background-color: #084e79;
	color: #fff;
	font-size: 14px;
}

.footer .nav-link {
	color: #fff;
}

.footer .nav-link:hover, .nav-link:active {
	color: #88bdf0;
}


/* Pagination */

.pagination-bar {
	background-color: #f8f9fa;
	border-radius: 8px;
}


/* ARJ header */

#arj_bs5_header {
	background-color: #fff;
	margin: 0 auto;
}

#arj_bs5_header .nav-link {
	color: #fff !important;
}

#arj_bs5_header .nav-link:hover {
	background-color: #8cbe2e !important;
	color: #fff !important;
}

#arj_bs5_header .nav-link.active {
	background-color: #8cbe2e !important;
	color: #fff !important;
}

#arj_top_nav {
	color: white;
}

#arj_top_nav a {
	text-decoration: none;
	color: white;
	margin-right: 0.75em;
}

#arj_top_nav a:hover {
	color: #8cbe2e;
}

#arj_top_nav .dropdown-item {
	color: #212529;
	margin-left: 0;
}

#arj_top_nav .dropdown-item:hover {
	color: #212529;
}


/* Homepage hero */

:root {
	--primary-blue: #0A2C6E;
	--accent-green: #4a7c59;
}

.hero-section {
	position: relative;
	overflow: visible;
	min-height: 550px;
}

.hero-content {
	position: relative;
	z-index: 2;
	padding: 4rem 0;
}

.hero-image {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero-overlay {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right,
		rgba(10, 44, 110, 0.875) 0%,
		rgba(10, 44, 110, 0.825) 40%,
		rgba(10, 44, 110, 0.85) 100%);
	z-index: 1;
}

.hero-row {
	padding-left: 15px;
	padding-right: 15px;
}

.alert-column {
	display: flex;
	flex-direction: column;
}

.search-card,
.job-alert-card {
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(10px);
	border: none;
	border-radius: 16px;
	opacity: 1;
	transition: opacity 0.3s ease;
}

.job-alert-card {
	margin-top: auto;
}

@media (min-width: 768px) {

	.search-card,
	.job-alert-card {
		opacity: 0.75;
	}

	.search-card:hover,
	.search-card:focus-within,
	.job-alert-card:hover,
	.job-alert-card:focus-within {
		opacity: 1 !important;
	}

}

@media (max-width: 992px) {

	.hero-overlay {
		background: rgba(10, 44, 110, 0.925);
	}

	.hero-section {
		min-height: 700px;
	}

	.alert-column {
		margin-top: 1.5rem;
	}

	.job-alert-card {
		margin-top: 0;
	}

}


