.dg-suti {
	--suti-kek: #1863dc;
	--suti-szoveg: #212121;
	color: var(--suti-szoveg);
	font-family: "Onest", Arial, sans-serif;
}

.dg-suti-overlay,
.dg-suti-doboz,
.dg-suti-panel,
.dg-suti-ujra,
.dg-suti-hosszu {
	display: none;
}

.dg-suti.elso-latogatas .dg-suti-overlay,
.dg-suti.panel-nyitva .dg-suti-overlay {
	display: block;
}

.dg-suti.elso-latogatas:not(.panel-nyitva) .dg-suti-doboz {
	display: block;
}

.dg-suti.panel-nyitva .dg-suti-panel {
	display: flex;
}

.dg-suti.van-valasztas:not(.panel-nyitva) .dg-suti-ujra {
	display: flex;
}

.dg-suti.leiras-nyitva .dg-suti-hosszu {
	display: block;
}

.dg-suti.leiras-nyitva .dg-suti-rovid,
.dg-suti-rovid[hidden],
.dg-suti-hosszu[hidden] {
	display: none !important;
}

.dg-suti-overlay {
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: #000;
	opacity: 0.4;
}

.dg-suti-doboz {
	position: fixed;
	z-index: 2010;
	left: 40px;
	bottom: 40px;
	box-sizing: border-box;
	width: 440px;
	max-width: calc(100vw - 80px);
	padding: 20px 26px;
	background: #fff;
	border: 1px solid #d4d8df;
	border-radius: 6px;
	box-shadow: 0 -1px 10px 0 rgba(172, 171, 171, 0.3);
	color: #1e2b3d;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.2;
}

.dg-suti-cim,
.dg-suti-panel-cim {
	margin: 0 0 12px;
	color: var(--suti-szoveg);
	font-size: 18px;
	font-weight: 700;
	line-height: 24px;
}

.dg-suti-doboz .dg-suti-szoveg p {
	margin: 0;
	color: var(--suti-szoveg);
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
}

.dg-suti-bevezeto {
	padding: 12px 0;
	color: var(--suti-szoveg);
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
}

.dg-suti-bevezeto p,
.dg-suti-kat-leiras {
	margin: 0 0 14px;
	color: var(--suti-szoveg);
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
}

.dg-suti-ures {
	margin: 0 0 8px;
	padding: 12px 16px;
	background: #f4f4f4;
	border-radius: 6px;
	color: var(--suti-szoveg);
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
}

.dg-suti-rovid,
.dg-suti-hosszu p:last-child {
	margin-bottom: 0;
}

.dg-suti-szoveg p:last-child,
.dg-suti-bevezeto p:last-child {
	margin-bottom: 0;
}

.dg-suti-gombok,
.dg-suti-panel-lab {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
}

.dg-suti-gombok {
	flex-wrap: nowrap;
}

.dg-suti-gombok .dg-suti-gomb {
	flex: 1 1 auto;
	text-align: center;
}

.dg-suti-gomb {
	box-sizing: border-box;
	height: 44px;
	min-height: 44px;
	margin: 0;
	padding: 8px;
	border: 2px solid var(--suti-kek);
	border-radius: 2px;
	background: #fff;
	color: var(--suti-kek);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 24px;
	white-space: nowrap;
	cursor: pointer;
}

.dg-suti-gomb--teli {
	background: var(--suti-kek);
	color: #fff;
}

.dg-suti-gomb:hover,
.dg-suti-gomb:focus-visible {
	filter: brightness(0.9);
	outline: none;
}

.dg-suti-panel {
	position: fixed;
	z-index: 2020;
	top: 0;
	left: 0;
	flex-direction: column;
	width: min(480px, 100vw);
	height: 100%;
	background: #fff;
	border-right: 1.5px solid #f4f4f4;
	color: var(--suti-szoveg);
}

.dg-suti-panel-fej,
.dg-suti-panel-lab {
	flex: 0 0 auto;
	margin: 0;
	padding: 22px 24px;
}

.dg-suti-panel-fej {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-bottom: 1px solid #f4f4f4;
}

.dg-suti-panel-cim {
	margin: 0;
	font-size: 18px;
}

.dg-suti-bezar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #000;
	cursor: pointer;
}

.dg-suti-bezar svg {
	width: 12px;
	height: 12px;
}

.dg-suti-panel-test {
	flex: 1 1 auto;
	overflow: auto;
	padding: 0 24px;
}

.dg-suti-tobbet {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--suti-kek);
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
	text-decoration: underline;
	white-space: nowrap;
	cursor: pointer;
}

.dg-suti-kat {
	margin-top: 10px;
	padding: 0;
	border-bottom: 1px solid #f4f4f4;
}

.dg-suti-kat:last-child {
	border-bottom: 0;
}

.dg-suti-kat-fej {
	display: flex;
	align-items: center;
	gap: 12px;
}

.dg-suti-kat-nyit {
	display: flex;
	align-items: center;
	gap: 22px;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	text-align: left;
	cursor: pointer;
}

.dg-suti-nyil {
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-right: 1.4px solid currentColor;
	border-bottom: 1.4px solid currentColor;
	transform: rotate(-45deg);
}

.dg-suti-kat.is-nyitva .dg-suti-nyil {
	transform: rotate(45deg);
}

.dg-suti-mindig {
	flex: 0 0 auto;
	color: green;
	font-size: 14px;
	font-weight: 600;
	line-height: 24px;
}

.dg-suti-kapcsolo {
	position: relative;
	flex: 0 0 auto;
	width: 44px;
	height: 24px;
	margin: 0;
}

.dg-suti-kapcsolo input {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.dg-suti-kapcsolo span {
	display: block;
	width: 44px;
	height: 24px;
	background: #d0d5d2;
	border-radius: 50px;
	pointer-events: none;
}

.dg-suti-kapcsolo span::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.4s;
}

.dg-suti-kapcsolo input:checked + span {
	background: var(--suti-kek);
}

.dg-suti-kapcsolo input:checked + span::after {
	transform: translateX(20px);
}

.dg-suti-kapcsolo input:focus-visible + span {
	outline: 2px solid var(--suti-kek);
	outline-offset: 2px;
}

.dg-suti-kat-leiras {
	margin: 10px 0 16px 28px;
}

.dg-suti-kat-test {
	margin: 0 0 16px 28px;
}

.dg-suti-tabla {
	margin: 0 0 8px;
	padding: 10px 12px;
	background: #f4f4f4;
	border: 1px solid #ebebeb;
}

.dg-suti-tabla div {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 8px;
	padding: 3px 0;
	font-size: 13px;
	line-height: 1.4;
}

.dg-suti-tabla dt {
	margin: 0;
	font-weight: 700;
}

.dg-suti-tabla dd {
	margin: 0;
}

.dg-suti-panel-lab {
	position: relative;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	border-top: 1px solid #f4f4f4;
	background: #fff;
}

.dg-suti-panel-lab::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(100% - 1px);
	height: 40px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
	pointer-events: none;
}

.dg-suti-panel-lab .dg-suti-gomb {
	width: 100%;
	margin: 8px 0 0;
}

.dg-suti-panel-lab .dg-suti-gomb:first-child {
	margin-top: 0;
}

.dg-suti-ujra {
	position: fixed;
	z-index: 2010;
	left: 40px;
	bottom: 40px;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--suti-kek);
	color: var(--dg-white);
	box-shadow: 0 6px 16px rgba(30, 40, 46, 0.2);
	cursor: pointer;
}

.dg-suti-ujra svg {
	width: 22px;
	height: 22px;
}

.dg-suti-ujra:hover,
.dg-suti-ujra:focus-visible,
.dg-suti-bezar:focus-visible,
.dg-suti-tobbet:focus-visible,
.dg-suti-kat-nyit:focus-visible {
	outline: 2px solid var(--suti-kek);
	outline-offset: 2px;
}

body.dg-suti-nyitva {
	overflow: hidden;
}

@media (max-width: 576px) {
	.dg-suti-doboz,
	.dg-suti-ujra {
		left: 0;
		bottom: 0;
	}
}

@media (max-width: 440px) {
	.dg-suti-doboz {
		width: 100%;
		max-width: 100%;
		padding: 20px 0;
		border-radius: 0;
	}

	.dg-suti-doboz .dg-suti-cim,
	.dg-suti-doboz .dg-suti-szoveg,
	.dg-suti-doboz .dg-suti-gombok {
		padding-right: 24px;
		padding-left: 24px;
	}

	.dg-suti-doboz .dg-suti-szoveg {
		max-height: 40vh;
		overflow-y: auto;
	}

	.dg-suti-gombok {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		margin-top: 16px;
	}

	.dg-suti-gombok .dg-suti-gomb {
		width: 100%;
		margin: 0;
		white-space: normal;
	}

	.dg-suti-gombok [data-suti="elfogad"] {
		order: 1;
	}

	.dg-suti-gombok [data-suti="testreszab"] {
		order: 2;
	}

	.dg-suti-gombok [data-suti="elutasit"] {
		order: 3;
	}

	.dg-suti-ujra {
		left: 12px;
		bottom: 12px;
	}
}

@media (max-width: 767px) {
	.dg-suti-panel {
		width: 100vw;
	}
}

@media print {
	.dg-suti {
		display: none !important;
	}
}
