/* Job-alert dashboard and logged-out invitation. */
body.icm-job-alerts-ui {
	--icm-alert-navy: #0b2d45;
	--icm-alert-blue: #1689c2;
	--icm-alert-cyan: #65d7e3;
	--icm-alert-ink: #172b3f;
	--icm-alert-muted: #66788b;
	--icm-alert-line: #dbe6ee;
	--icm-alert-surface: #ffffff;
	background: #f4f8fb;
}

body.icm-job-alerts-ui .page-header {
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: clamp(56px, 8vw, 100px) 24px;
	background: linear-gradient(125deg, #08283f 0%, #0d4965 72%, #15839c 100%);
	border: 0;
	text-align: center;
}

body.icm-job-alerts-ui .page-header::after {
	position: absolute;
	right: -90px;
	top: -130px;
	width: 360px;
	height: 360px;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 50%;
	box-shadow: 0 0 0 48px rgba(255, 255, 255, .035), 0 0 0 96px rgba(255, 255, 255, .025);
	content: "";
}

body.icm-job-alerts-ui .page-header .page-title {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #fff !important;
	font-size: clamp(34px, 5vw, 58px);
	font-weight: 700;
	letter-spacing: -.03em;
}

body.icm-job-alerts-ui #primary.content-area {
	width: min(100% - 32px, 1080px);
	max-width: 1080px;
	margin: 0 auto;
	padding: clamp(42px, 7vw, 82px) 0 90px;
}

body.icm-job-alerts-ui #primary article,
body.icm-job-alerts-ui #primary .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
}

body.icm-job-alerts-ui #primary .entry-content > p {
	margin: 0;
}

/* Invitation shown to visitors who are not signed in. */
body.icm-job-alerts-ui .jm-notice.type-dialog {
	position: relative;
	overflow: hidden;
	max-width: 760px;
	margin: 0 auto !important;
	padding: clamp(32px, 6vw, 58px);
	background: var(--icm-alert-surface);
	border: 1px solid var(--icm-alert-line);
	border-radius: 24px;
	box-shadow: 0 22px 55px rgba(10, 45, 69, .11);
	text-align: center;
}

body.icm-job-alerts-ui .jm-notice.type-dialog::before {
	display: grid;
	width: 64px;
	height: 64px;
	margin: 0 auto 24px;
	place-items: center;
	background: linear-gradient(135deg, var(--icm-alert-cyan), #b8f0f4);
	border-radius: 18px;
	color: var(--icm-alert-navy);
	content: "\1F514";
	font-size: 28px;
	box-shadow: 0 12px 28px rgba(22, 137, 194, .18);
}

body.icm-job-alerts-ui .jm-notice__message {
	max-width: 570px;
	margin: 0 auto;
	color: var(--icm-alert-ink);
	font-size: clamp(20px, 3vw, 27px);
	font-weight: 700;
	line-height: 1.4;
}

body.icm-job-alerts-ui .jm-notice__footer {
	margin-top: 30px;
}

body.icm-job-alerts-ui .jm-ui-actions-row {
	display: flex;
	justify-content: center;
	gap: 12px;
}

body.icm-job-alerts-ui .jm-ui-actions-row a {
	display: inline-flex;
	min-width: 180px;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border: 2px solid var(--icm-alert-blue);
	border-radius: 12px;
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body.icm-job-alerts-ui .jm-ui-actions-row a:first-child {
	background: var(--icm-alert-blue);
	color: #fff;
}

body.icm-job-alerts-ui .jm-ui-actions-row a:last-child {
	background: #fff;
	color: var(--icm-alert-blue);
}

body.icm-job-alerts-ui .jm-ui-actions-row a:hover,
body.icm-job-alerts-ui .jm-ui-actions-row a:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(22, 137, 194, .2);
}

/* Signed-in alert list. */
body.icm-job-alerts-ui #job-manager-alerts,
body.icm-job-alerts-ui .jm-alert-form {
	padding: clamp(24px, 5vw, 44px);
	background: #fff;
	border: 1px solid var(--icm-alert-line);
	border-radius: 22px;
	box-shadow: 0 18px 48px rgba(10, 45, 69, .09);
}

body.icm-job-alerts-ui .jm-alert {
	margin: 0 0 18px;
	padding: 24px;
	background: #f9fcfe;
	border: 1px solid var(--icm-alert-line);
	border-radius: 16px;
	box-shadow: none;
}

body.icm-job-alerts-ui .jm-alert__title,
body.icm-job-alerts-ui .jm-alert-form h2,
body.icm-job-alerts-ui .jm-alert-form h3 {
	color: var(--icm-alert-ink);
	font-weight: 700;
}

body.icm-job-alerts-ui .jm-alert__term {
	display: inline-flex;
	margin: 4px 4px 4px 0;
	padding: 6px 10px;
	background: #e9f7fb;
	border: 0;
	border-radius: 999px;
	color: #126f98;
}

body.icm-job-alerts-ui .jm-alert__actions a,
body.icm-job-alerts-ui #job-manager-alerts a {
	font-weight: 700;
}

body.icm-job-alerts-ui .jm-alerts__add-new a,
body.icm-job-alerts-ui input[name="submit-job-alert"] {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 13px 24px;
	background: linear-gradient(135deg, #1498d2, #147caf) !important;
	border: 0 !important;
	border-radius: 12px;
	color: #fff !important;
	font-weight: 700;
	box-shadow: 0 10px 24px rgba(20, 137, 194, .2);
}

body.icm-job-alerts-ui .jm-alert-form fieldset,
body.icm-job-alerts-ui .jm-form-section {
	margin: 0 0 22px !important;
	padding: 0 0 22px !important;
	border-bottom: 1px solid #edf2f5;
}

body.icm-job-alerts-ui .jm-alert-form label {
	display: block;
	margin-bottom: 9px;
	color: var(--icm-alert-ink);
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .035em;
	text-transform: uppercase;
}

body.icm-job-alerts-ui .jm-alert-form input[type="text"],
body.icm-job-alerts-ui .jm-alert-form input[type="email"],
body.icm-job-alerts-ui .jm-alert-form select {
	width: 100%;
	min-height: 54px;
	padding: 12px 16px;
	background: #f6fafc;
	border: 1px solid #cad9e3;
	border-radius: 11px;
	color: var(--icm-alert-ink);
}

body.icm-job-alerts-ui .jm-alert-form input:focus,
body.icm-job-alerts-ui .jm-alert-form select:focus {
	background: #fff;
	border-color: var(--icm-alert-blue);
	box-shadow: 0 0 0 4px rgba(22, 137, 194, .12);
	outline: 0;
}

@media (max-width: 700px) {
	body.icm-job-alerts-ui #primary.content-area {
		width: min(100% - 24px, 1080px);
		padding-top: 30px;
	}

	body.icm-job-alerts-ui .jm-ui-actions-row {
		flex-direction: column;
	}

	body.icm-job-alerts-ui .jm-ui-actions-row a {
		width: 100%;
	}

	body.icm-job-alerts-ui #job-manager-alerts,
	body.icm-job-alerts-ui .jm-alert-form {
		padding: 18px;
		border-radius: 17px;
	}

	body.icm-job-alerts-ui .jm-alert {
		padding: 18px;
	}
}
