/* AIGrowthOS Sütikezelő — az oldal stílusában: fehér, lekerekített, lebegő kártya; Inter; korall kiemelés. */

.agos-suti,
.agos-suti * {
	box-sizing: border-box;
}

.agos-suti {
	--agos-ink: #0f172a;
	--agos-ink-2: #334155;
	--agos-muted: #64748b;
	--agos-line: #e5e7eb;
	--agos-soft: #f4f5f9;
	--agos-accent: var(--agos-suti-accent, #ff7a5c);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--agos-ink);
	font-size: 15px;
	line-height: 1.55;
	letter-spacing: normal;
	text-align: left;
}

/* A téma / Elementor gombstílusai ne szivárogjanak be. */
.agos-suti button,
.agos-suti input {
	all: unset;
	box-sizing: border-box;
	font-family: inherit;
}

.agos-suti button:focus-visible,
.agos-suti a:focus-visible,
.agos-suti .agos-suti__switch-input:focus-visible + .agos-suti__switch-track {
	outline: 3px solid rgba(255, 122, 92, 0.45);
	outline-offset: 2px;
}

/* ---- a sütiablak ---- */

.agos-suti-banner {
	position: fixed;
	z-index: 2147483000;
	left: 24px;
	bottom: 24px;
	width: min(460px, calc(100vw - 32px));
	padding: 24px;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 24px;
	box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
	animation: agos-suti-in 0.25s ease-out;
}

@keyframes agos-suti-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.agos-suti-banner {
		animation: none;
	}
}

.agos-suti .agos-suti__title {
	margin: 0 0 8px;
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--agos-ink);
}

.agos-suti .agos-suti__body {
	margin: 0 0 18px;
	font-size: 14px;
	color: var(--agos-ink-2);
}

.agos-suti .agos-suti__link {
	color: var(--agos-ink);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.agos-suti__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.agos-suti .agos-suti__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 14px;
	white-space: nowrap;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

/* Az elfogadás és az elutasítás ugyanakkora, egymás mellett. */
.agos-suti .agos-suti__btn--primary {
	background: var(--agos-accent);
	color: #fff;
	box-shadow: 0 8px 20px rgba(255, 122, 92, 0.28);
}

.agos-suti .agos-suti__btn--primary:hover {
	background: #f2633f;
}

.agos-suti .agos-suti__btn--secondary {
	background: #fff;
	color: var(--agos-ink);
	border: 1px solid var(--agos-line);
}

.agos-suti .agos-suti__btn--secondary:hover {
	border-color: #cbd5e1;
	background: var(--agos-soft);
}

.agos-suti .agos-suti__btn--ghost {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.agos-suti .agos-suti__text-btn {
	display: block;
	margin: 14px auto 0;
	padding: 4px 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--agos-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.agos-suti .agos-suti__text-btn:hover {
	color: var(--agos-ink);
}

/* ---- a beállítások ---- */

.agos-suti-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(15, 23, 42, 0.42);
	backdrop-filter: blur(3px);
}

.agos-suti-modal__box {
	width: min(560px, 100%);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 28px;
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
}

.agos-suti__modal-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.agos-suti .agos-suti__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: -6px -6px 0 0;
	border-radius: 999px;
	font-size: 24px;
	line-height: 1;
	color: var(--agos-muted);
	cursor: pointer;
}

.agos-suti .agos-suti__close:hover {
	background: var(--agos-soft);
	color: var(--agos-ink);
}

.agos-suti__cats {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 20px;
}

.agos-suti__cat {
	padding: 14px 16px;
	background: var(--agos-soft);
	border-radius: 16px;
}

.agos-suti__cat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.agos-suti .agos-suti__cat-label {
	font-size: 15px;
	font-weight: 700;
	color: var(--agos-ink);
	cursor: pointer;
}

.agos-suti .agos-suti__cat-desc {
	margin: 4px 0 0;
	font-size: 13.5px;
	color: var(--agos-muted);
}

.agos-suti__switch {
	position: relative;
	display: inline-flex;
	flex: none;
}

.agos-suti .agos-suti__switch-input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 1;
}

.agos-suti .agos-suti__switch-input:disabled {
	cursor: not-allowed;
}

.agos-suti__switch-track {
	position: relative;
	display: block;
	width: 44px;
	height: 26px;
	background: #cbd5e1;
	border-radius: 999px;
	transition: background-color 0.15s ease;
}

.agos-suti__switch-track::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 999px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
	transition: transform 0.15s ease;
}

.agos-suti__switch-input:checked + .agos-suti__switch-track {
	background: var(--agos-accent);
}

.agos-suti__switch-input:checked + .agos-suti__switch-track::after {
	transform: translateX(18px);
}

.agos-suti__switch-input:disabled + .agos-suti__switch-track {
	opacity: 0.55;
}

.agos-suti-noscroll {
	overflow: hidden;
}

/* ---- visszanyitó gomb ---- */

.agos-suti.agos-suti-reopen {
	position: fixed;
	z-index: 2147482999;
	left: 18px;
	bottom: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.15s ease;
}

.agos-suti.agos-suti-reopen:hover {
	transform: translateY(-2px);
}

/* ---- beágyazott videó helyőrzője ---- */

.agos-suti-embed-host {
	position: relative;
	min-height: 260px;
}

.agos-suti-embed-host > .agos-suti-embed {
	position: absolute;
	inset: 0;
}

.agos-suti-embed {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	min-height: 260px;
	aspect-ratio: 16 / 9;
	padding: 24px;
	text-align: center;
	color: #fff;
	background: radial-gradient(120% 120% at 20% 0%, #8b5cf6 0%, #57b8ff 38%, #0f172a 100%);
	border-radius: 20px;
}

.agos-suti-embed__play {
	width: 64px;
	height: 64px;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 999px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.3);
	position: relative;
}

.agos-suti-embed__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 11px 0 11px 18px;
	border-color: transparent transparent transparent var(--agos-accent);
}

.agos-suti .agos-suti-embed__text {
	max-width: 460px;
	margin: 0;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.92);
}

.agos-suti-embed__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

/* ---- [suti_lista] ---- */

.agos-suti-lista table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 24px;
	font-size: 14px;
}

.agos-suti-lista th,
.agos-suti-lista td {
	padding: 10px 12px;
	border-bottom: 1px solid #e5e7eb;
	text-align: left;
	vertical-align: top;
}

.agos-suti-lista th {
	font-weight: 700;
	background: #f4f5f9;
}

/* ---- mobil ---- */

@media (max-width: 600px) {
	.agos-suti-banner {
		left: 8px;
		right: 8px;
		bottom: 8px;
		width: auto;
		padding: 20px;
		border-radius: 20px;
	}

	.agos-suti__actions {
		grid-template-columns: 1fr;
	}

	.agos-suti-modal {
		align-items: flex-end;
		padding: 0;
	}

	.agos-suti-modal__box {
		max-height: 92vh;
		border-radius: 24px 24px 0 0;
		padding: 22px;
	}
}
