/*
 * Careers: job cards and the Apply modal. Banner, feature strip, buttons and
 * the call-to-action band come from pages.css.
 */

/* ---------- Job cards ---------- */
.job-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-bottom: 30px;
	padding: 28px;
	border-top: 3px solid transparent;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.job-card:hover {
	transform: translateY(-4px);
	border-top-color: #f87000;
	box-shadow: 0 16px 34px -12px rgba(3, 61, 117, .28);
}
.job-card-head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 16px;
}
.job-card-icon {
	flex: 0 0 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 10px;
	background: #033d75;
	color: #fff;
	font-size: 20px;
	transition: background-color .25s ease;
}
.job-card:hover .job-card-icon {
	background: #f87000;
}
.job-card h3 {
	margin: 2px 0 8px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}
.job-card h3 a {
	color: #222;
}
.job-card h3 a:hover {
	color: #f87000;
	text-decoration: none;
}
.job-chip {
	display: inline-flex;
	align-items: baseline;
	gap: 7px;
	padding: 5px 12px;
	border-radius: 6px;
	background: rgba(3, 61, 117, .07);
	color: #033d75;
	font-size: 12px;
	font-weight: 600;
	line-height: 18px;
}
.job-chip-mode {
	margin-top: 6px;
	background: rgba(248, 112, 0, .1);
	color: #c45a00;
}
.job-card-summary {
	flex: 1;
	margin-bottom: 22px;
	color: #3a3d44;
	font-size: 15px;
	line-height: 25px;
}
.job-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* ---------- Job detail ---------- */
.job-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 6px 0 28px;
}
.job-facts li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}
.job-facts i {
	color: #ffb071;
}
.job-section {
	margin-bottom: 24px;
	padding: 26px 28px;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}
.job-section h2 {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
	font-size: 20px;
	font-weight: 600;
	color: #222;
}
.job-section h2 .value-icon {
	width: 42px;
	height: 42px;
	margin: 0;
	font-size: 16px;
}
/* Darker and larger than the site's grey 14px body text, for easier reading. */
.job-section-body,
.job-section-body p,
.job-section-body li {
	color: #2f3238;
	font-size: 16px;
	line-height: 27px;
}
.job-section-body ul {
	padding-left: 20px;
	list-style: disc;
}
.job-section-body li {
	list-style: disc;
	margin-bottom: 4px;
}
.job-section-body ol {
	padding-left: 20px;
}
.job-section-body ol li {
	list-style: decimal;
}
.job-section-body h3,
.job-section-body h4 {
	margin: 18px 0 10px;
	font-size: 17px;
	font-weight: 600;
	color: #222;
}
/* Same as the editor's contents.css, so tables look as they did when entered. */
.job-section-body table {
	width: 100%;
	margin-bottom: 1.5em;
	border-collapse: collapse;
}
.job-section-body th,
.job-section-body td {
	padding: .6em .9em;
	border: 1px solid #dee2e6;
}
.job-section-body th {
	background: #f7f8fa;
	text-align: left;
}
.job-apply-card {
	position: sticky;
	top: 20px;
	padding: 28px;
	border-top: 3px solid #f87000;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}
.job-apply-card h3 {
	margin-bottom: 8px;
	font-size: 20px;
	font-weight: 700;
	color: #222;
}
.job-apply-card p {
	margin-bottom: 18px;
}
.job-apply-list {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid #edf0f4;
}
.job-apply-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 13px;
	color: #3c4a5c;
}
.job-apply-list i {
	width: 16px;
	color: #f87000;
	text-align: center;
}

.careers-empty {
	max-width: 520px;
	margin: 0 auto 30px;
	padding: 40px 30px;
	text-align: center;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}
.careers-empty i {
	margin-bottom: 14px;
	font-size: 34px;
	color: #f87000;
}
.careers-empty h4 {
	font-weight: 600;
	color: #222;
}

/* ---------- Apply modal ---------- */
.apply-modal .modal-content {
	overflow: hidden;
	border: 0;
	border-radius: 8px;
	box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .35);
}
.apply-modal .modal-header {
	align-items: center;
	padding: 20px 26px;
	border: 0;
	border-bottom: 3px solid #f87000;
	background: #033d75;
	color: #fff;
}
.apply-modal .modal-title {
	font-size: 19px;
	font-weight: 600;
	color: #fff;
}
.apply-role {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	color: #ffb071;
}
.apply-role:empty {
	display: none;
}
.apply-modal .close {
	color: #fff;
	opacity: .8;
	text-shadow: none;
	font-size: 28px;
	font-weight: 300;
}
.apply-modal .close:hover {
	color: #fff;
	opacity: 1;
}
.apply-modal .modal-body {
	padding: 24px 26px 8px;
}
.apply-modal label {
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #3c4a5c;
}
.apply-modal .form-control {
	height: auto;
	padding: 10px 12px;
	border: 1px solid #dde3ea;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.apply-modal .form-control:focus {
	border-color: #033d75;
	box-shadow: 0 0 0 3px rgba(3, 61, 117, .12);
}
.apply-file {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	width: 100%;
	padding: 18px 12px;
	border: 2px dashed #c9d3de;
	border-radius: 6px;
	background: #fafbfc;
	text-align: center;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease;
}
.apply-file:hover {
	border-color: #f87000;
	background: #fff8f2;
}
.apply-file i {
	font-size: 24px;
	color: #f87000;
}
.apply-file span {
	font-weight: 600;
	color: #033d75;
	word-break: break-all;
}
.apply-file small {
	font-weight: 400;
	color: #8a97a6;
}
.apply-file input[type=file] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}
.apply-modal .modal-footer {
	margin: 16px -26px 0;
	padding: 16px 26px;
	border-top: 1px solid #edf0f4;
	background: #fafbfc;
}

@media (max-width: 767px) {
	.job-card {
		padding: 22px;
	}
}
