/* Diák-Center állásértesítő. A színek a téma tokenjeiből jönnek, tartalékértékkel. */
.dc-alert,
.dc-alert-page {
	--dc-alert-navy: var(--navy, #01365e);
	--dc-alert-sun: var(--sun, #fccd21);
	--dc-alert-sun-d: var(--sun-d, #e6b400);
	--dc-alert-paper: var(--paper, #f4f6f8);
	--dc-alert-ink: var(--ink, #0d2033);
	--dc-alert-error: #b3261e;
	color: var(--dc-alert-ink);
}

.dc-alert {
	background: var(--dc-alert-paper);
	border-left: 4px solid var(--dc-alert-sun);
	border-radius: 8px;
	padding: 20px;
	max-width: 520px;
}

.dc-alert__title {
	margin: 0 0 6px;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--dc-alert-navy);
}

.dc-alert__criteria,
.dc-alert__intro {
	margin: 0 0 12px;
	font-size: 0.95rem;
	line-height: 1.5;
}

.dc-alert__criteria strong {
	color: var(--dc-alert-navy);
}

.dc-alert__form {
	display: grid;
	gap: 12px;
}

.dc-alert__field label {
	display: block;
	margin-bottom: 4px;
	font-size: 0.9rem;
	font-weight: 600;
}

.dc-alert__field input {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #b8c4d0;
	border-radius: 6px;
	background: #fff;
	font: inherit;
	color: inherit;
}

.dc-alert__field input:focus-visible,
.dc-alert__consent input:focus-visible,
.dc-alert__button:focus-visible {
	outline: 3px solid var(--dc-alert-navy);
	outline-offset: 2px;
}

.dc-alert__consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: 0.85rem;
	line-height: 1.45;
}

.dc-alert__consent input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
}

.dc-alert__consent a {
	color: var(--dc-alert-navy);
	text-decoration: underline;
}

.dc-alert__button {
	justify-self: start;
	min-height: 44px;
	padding: 10px 22px;
	border: 0;
	border-radius: 6px;
	background: var(--dc-alert-sun);
	color: var(--dc-alert-navy);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.dc-alert__button:hover {
	background: var(--dc-alert-sun-d);
}

.dc-alert__button[disabled] {
	opacity: 0.6;
	cursor: wait;
}

.dc-alert__button--secondary {
	background: transparent;
	border: 2px solid var(--dc-alert-navy);
}

.dc-alert__button--secondary:hover {
	background: var(--dc-alert-paper);
}

.dc-alert__msg {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
}

.dc-alert__msg:empty {
	display: none;
}

.dc-alert__msg.is-error {
	color: var(--dc-alert-error);
}

/* Honeypot: embernek láthatatlan, a képernyőolvasó sem olvassa fel. */
.dc-alert__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Megerősítő és leiratkozó oldal. */
.dc-alert-page {
	display: block;
	padding: 48px 16px 64px;
	background: var(--dc-alert-paper);
}

.dc-alert-page__box {
	box-sizing: border-box;
	max-width: 640px;
	margin: 0 auto;
	padding: 32px 24px;
	background: #fff;
	border-top: 4px solid var(--dc-alert-sun);
	border-radius: 8px;
	line-height: 1.6;
}

.dc-alert-page__title {
	margin: 0 0 16px;
	font-size: 1.6rem;
	line-height: 1.3;
	color: var(--dc-alert-navy);
}

.dc-alert-page__criteria strong {
	color: var(--dc-alert-navy);
	font-size: 1.1rem;
}

.dc-alert-page__form {
	margin: 16px 0;
}

.dc-alert-page__back a {
	color: var(--dc-alert-navy);
	font-weight: 700;
}
