/* LLLTLab Toolkit – süti sáv */

.lltk-cb {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999990;
	background: #fff;
	border-top: 1px solid #e3e7ec;
	box-shadow: 0 -1px 24px rgba(17, 50, 91, .08);
	font-size: 15px;
	line-height: 1.6;
	color: #4a5563;
	transform: translateY(100%);
	transition: transform .28s ease;
}

.lltk-cb[hidden] {
	display: none;
}

.lltk-cb.is-open {
	transform: translateY(0);
}

.lltk-cb__inner {
	max-width: 1080px;
	margin: 0 auto;
	padding: 22px 24px;
	max-height: 88vh;
	overflow-y: auto;
}

.lltk-cb__title {
	margin: 0 0 6px;
	font-size: 1rem;
	font-weight: 600;
	color: var(--lltk-primary, #11325B);
}

.lltk-cb__text {
	margin: 0;
	max-width: 76ch;
	font-size: .93rem;
}

.lltk-cb__text a {
	color: var(--lltk-primary, #11325B);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Kategóriák */

.lltk-cb__opts {
	margin-top: 20px;
	padding-top: 6px;
	border-top: 1px solid #e3e7ec;
}

.lltk-cb__opts[hidden] {
	display: none;
}

.lltk-opt {
	padding: 14px 0;
	border-bottom: 1px solid #eef1f4;
}

.lltk-opt:last-child {
	border-bottom: 0;
}

.lltk-opt__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.lltk-opt__name {
	font-size: .93rem;
	font-weight: 600;
	color: var(--lltk-primary, #11325B);
	cursor: pointer;
}

.lltk-opt__fixed {
	font-size: .8rem;
	color: #9aa3ad;
	white-space: nowrap;
}

.lltk-opt__desc {
	margin: 4px 0 0;
	font-size: .86rem;
	color: #6b7280;
	max-width: 74ch;
}

/* Kapcsoló */

.lltk-sw {
	position: relative;
	flex: 0 0 auto;
	cursor: pointer;
	line-height: 0;
}

.lltk-sw input {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
}

.lltk-sw__track {
	display: block;
	width: 42px;
	height: 24px;
	border-radius: 12px;
	background: #d6dbe1;
	transition: background .18s ease;
}

.lltk-sw__knob {
	display: block;
	width: 18px;
	height: 18px;
	margin: 3px;
	border-radius: 50%;
	background: #fff;
	transition: transform .18s ease;
}

.lltk-sw input:checked + .lltk-sw__track {
	background: var(--lltk-primary, #11325B);
}

.lltk-sw input:checked + .lltk-sw__track .lltk-sw__knob {
	transform: translateX(18px);
}

.lltk-sw input:focus-visible + .lltk-sw__track {
	outline: 2px solid var(--lltk-primary, #11325B);
	outline-offset: 2px;
}

/* Gombok */

.lltk-cb__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
}

.lltk-btn {
	appearance: none;
	font: inherit;
	font-size: .9rem;
	font-weight: 500;
	line-height: 1;
	padding: 12px 20px;
	border-radius: 4px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.lltk-cb__spacer {
	flex: 1 1 auto;
}

.lltk-btn--solid {
	background: var(--lltk-primary, #11325B);
	color: #fff;
}

.lltk-btn--solid:hover {
	background: #0c2545;
}

.lltk-btn--line {
	background: #fff;
	color: var(--lltk-primary, #11325B);
	border-color: #ccd4de;
}

.lltk-btn--line:hover {
	border-color: var(--lltk-primary, #11325B);
}

.lltk-btn--ghost {
	background: none;
	color: #6b7280;
	padding-left: 0;
	padding-right: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lltk-btn--ghost:hover {
	color: var(--lltk-primary, #11325B);
}

.lltk-btn:focus-visible {
	outline: 2px solid var(--lltk-primary, #11325B);
	outline-offset: 2px;
}

.lltk-hide {
	display: none;
}

/* Mobil */

@media (max-width: 720px) {
	.lltk-cb__inner {
		padding: 18px 16px 16px;
		max-height: 86vh;
		overflow-y: auto;
	}

	.lltk-cb__title {
		font-size: .97rem;
	}

	.lltk-cb__text {
		font-size: .89rem;
	}

	.lltk-cb__actions {
		flex-direction: column-reverse;
		align-items: stretch;
		gap: 8px;
	}

	.lltk-cb__spacer {
		display: none;
	}

	.lltk-btn {
		width: 100%;
		padding: 14px 18px;
	}

	.lltk-btn--ghost {
		padding: 8px 0 0;
		width: auto;
		align-self: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lltk-cb,
	.lltk-sw__track,
	.lltk-sw__knob {
		transition: none;
	}
}
