/* Sanrise Careers — matches Sanrise For Care / Mediax tokens */
.sanrise-careers-wrap {
	--scc-accent: var(--theme-color, #04ce78);
	--scc-accent-2: var(--theme-color2, #1f5fff);
	--scc-title: var(--title-color, #000d44);
	--scc-body: var(--body-color, #788094);
	--scc-smoke: var(--smoke-color, #f5f7fa);
	--scc-border: var(--th-border-color, #d8dde1);
	--scc-font-title: var(--title-font, "Outfit", system-ui, sans-serif);
	--scc-font-body: var(--body-font, "DM Sans", system-ui, sans-serif);
	max-width: var(--main-container, 900px);
	margin-left: auto;
	margin-right: auto;
	padding: 0 1rem 3rem;
	color: var(--scc-body);
	font-family: var(--scc-font-body);
	font-size: 15px;
	line-height: 1.55;
}

/* See sanrise-for-care public.css — Mediax hides native checkbox/radio globally. */
.sanrise-careers-wrap input[type="checkbox"],
.sanrise-careers-wrap input[type="radio"] {
	visibility: visible !important;
	opacity: 1 !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	display: inline-block !important;
	vertical-align: middle !important;
	-webkit-appearance: auto !important;
	appearance: auto !important;
	position: relative;
	z-index: 1;
	pointer-events: auto !important;
}

.scc-form__head {
	margin-bottom: 1.75rem;
}
.scc-form__kicker {
	font-family: var(--scc-font-title);
	font-weight: 600;
	color: var(--scc-title);
	margin: 0 0 0.25rem;
	letter-spacing: 0.02em;
}
.scc-form__title {
	font-family: var(--scc-font-title);
	color: var(--scc-title);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	margin: 0 0 0.75rem;
	line-height: 1.2;
}
.scc-form__notice {
	background: var(--scc-smoke);
	border-left: 4px solid var(--scc-accent);
	padding: 0.85rem 1rem;
	margin: 0;
	font-size: 0.95rem;
	color: var(--scc-title);
}

.scc-muted {
	color: var(--scc-body);
	margin: 0 0 1rem;
	font-size: 0.95rem;
}

.scc-back a {
	color: var(--scc-accent-2);
	font-weight: 600;
	text-decoration: none;
}
.scc-back a:hover {
	text-decoration: underline;
}

.scc-job-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
}
@media (min-width: 640px) {
	.scc-job-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.scc-job-card {
	border: 1px solid var(--scc-border);
	border-radius: 10px;
	padding: 1.25rem;
	background: #fff;
	box-shadow: 0 4px 18px rgba(0, 13, 68, 0.06);
	display: flex;
	flex-direction: column;
}
.scc-job-card__title {
	font-family: var(--scc-font-title);
	font-size: 1.15rem;
	margin: 0 0 0.35rem;
	line-height: 1.25;
}
.scc-job-card__title a {
	color: var(--scc-title);
	text-decoration: none;
}
.scc-job-card__title a:hover {
	color: var(--scc-accent-2);
}
.scc-job-card__meta {
	font-size: 0.9rem;
	color: var(--scc-accent);
	font-weight: 600;
	margin: 0 0 0.75rem;
}
.scc-job-card__excerpt {
	flex: 1;
	margin: 0 0 1rem;
	font-size: 0.95rem;
}
.scc-job-card__cta {
	margin: 0;
}
.scc-job-card__cta .th-btn {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.scc-job-meta {
	font-size: 1rem;
	color: var(--scc-title);
	margin: 0 0 1rem;
}

.scc-section {
	margin: 2rem 0;
	padding: 1.25rem 0 0;
	border-top: 1px solid var(--scc-border);
}
.scc-section--inline {
	border-top: none;
	padding-top: 0;
	margin: 0;
}
.scc-section__title {
	font-family: var(--scc-font-title);
	font-size: 1.1rem;
	color: #fff;
	background: linear-gradient(90deg, var(--scc-title) 0%, #182a6e 100%);
	margin: 0 0 1rem;
	padding: 0.5rem 0.85rem;
	border-radius: 4px;
}
.scc-detail .scc-section--inline .scc-section__title {
	font-size: 0.95rem;
}
.scc-list {
	margin: 0;
	padding-left: 1.25rem;
}
.scc-list li {
	margin-bottom: 0.35rem;
}

.scc-facts {
	margin-top: 1rem;
}

.scc-apply-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.5rem 0 0.5rem;
}
.scc-apply-actions .th-btn {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

abbr.scc-req {
	color: #b32d2e;
	font-weight: 700;
	text-decoration: none;
	border: 0;
	cursor: help;
	margin-left: 0.12em;
}

.scc-form__body label,
.scc-fieldset > legend {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	color: var(--scc-title);
	font-size: 0.92rem;
}

.scc-fieldset {
	border: 1px solid var(--scc-border);
	border-radius: 8px;
	padding: 1rem;
	margin: 1rem 0;
}
.scc-fieldset > legend {
	padding: 0 0.35rem;
	font-size: 0.95rem;
}

.scc-form__body input[type="text"],
.scc-form__body input[type="email"],
.scc-form__body input[type="tel"],
.scc-form__body input[type="date"],
.scc-form__body select,
.scc-form__body textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.55rem 0.75rem;
	margin-top: 0.25rem;
	margin-bottom: 1rem;
	border: 1px solid var(--scc-border);
	border-radius: 6px;
	font: inherit;
	background: #fff;
	box-sizing: border-box;
}
.scc-form__body textarea {
	min-height: 88px;
	resize: vertical;
}
.scc-form__body input:focus,
.scc-form__body select:focus,
.scc-form__body textarea:focus {
	outline: 2px solid var(--scc-accent);
	outline-offset: 1px;
}

.scc-grid {
	display: grid;
	gap: 0 1.25rem;
}
.scc-grid--2 {
	grid-template-columns: 1fr;
}
@media (min-width: 640px) {
	.scc-grid--2 {
		grid-template-columns: 1fr 1fr;
	}
	.scc-span-2 {
		grid-column: 1 / -1;
	}
}

.scc-choice-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}
.scc-choice-card {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--scc-border);
	border-radius: 8px;
	background: var(--scc-smoke);
	cursor: pointer;
	font-weight: 500;
	margin-bottom: 0.35rem !important;
}
.scc-choice-card input {
	margin-top: 0.2rem;
	flex-shrink: 0;
}
.scc-choice-card__text {
	font-size: 0.9rem;
	color: var(--scc-title);
}

.scc-upload label {
	margin-bottom: 1rem;
	display: block;
}
.scc-upload input[type="file"] {
	margin-top: 0.35rem;
	font-size: 0.88rem;
}

.scc-ack {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	font-weight: 500;
	font-size: 0.92rem;
	margin: 1.5rem 0;
	cursor: pointer;
}
.scc-ack input {
	margin-top: 0.25rem;
	flex-shrink: 0;
}

.scc-actions {
	margin-top: 1.5rem;
}

/* Validation (mirrors For Care) */
.scc-form--show-errors .scc-field-invalid,
.scc-form--show-errors label.scc-field-invalid {
	color: #9b1c1c;
}
.scc-form--show-errors .scc-field-invalid input:not([type="checkbox"]):not([type="radio"]),
.scc-form--show-errors .scc-field-invalid select,
.scc-form--show-errors .scc-field-invalid textarea {
	border-color: #c62828 !important;
	box-shadow: 0 0 0 1px rgba(198, 40, 40, 0.35);
}
.scc-form--show-errors .scc-field-invalid input[type="radio"],
.scc-form--show-errors .scc-field-invalid input[type="checkbox"] {
	outline: 2px solid #c62828;
	outline-offset: 2px;
}
.scc-form--show-errors fieldset.scc-field-invalid {
	outline: 2px solid #c62828;
	outline-offset: 2px;
	border-radius: 8px;
}

/* Toasts */
.scc-toast {
	position: fixed;
	bottom: 1.25rem;
	right: 1.25rem;
	left: 1.25rem;
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
	padding: 1rem 1.15rem;
	border-radius: 8px;
	font-size: 0.95rem;
	z-index: 99999;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
	animation: scc-toast-in 0.35s ease;
}
.scc-toast--ok {
	background: #e8f8ef;
	color: #145a3a;
	border: 1px solid var(--scc-accent);
}
.scc-toast--err {
	background: #fdeaea;
	color: #7a1e1e;
	border: 1px solid #dc3545;
}
@keyframes scc-toast-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media print {
	.scc-no-print,
	.scc-back,
	.scc-apply-actions,
	.scc-actions {
		display: none !important;
	}
}
