/* [agwp_codewin file="style.css" path="theme-custom/"] oder Klasse "agwp-codewin" am Enfold-Codeblock */

#top .agwp-codewin {
	margin: 0;
	border-radius: 22px;
	background: #161B22;
	border: 1px solid rgba(255, 255, 255, .08);
	box-shadow: 0 40px 90px -30px rgba(29, 168, 235, .35);
	overflow: hidden;
}
.agwp-codewin__bar {
	display: flex;
	align-items: stretch;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	font: 500 var(--agwp-fs-kicker)/1.4 var(--agwp-font-mono);
}
#top .agwp-codewin .agwp-codewin__file {
	padding: 14px 20px;
	background: #1F252D;
	color: #67D9E9;
	border-right: 1px solid rgba(255, 255, 255, .08);
}
#top .agwp-codewin .agwp-codewin__path { margin-left: auto; padding: 14px 18px; color: #6B7785; }

#top .agwp-codewin pre {
	margin: 0;
	padding: 24px 26px 30px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font: 400 .875rem/1.8 var(--agwp-font-mono);
	color: #C9D3DD;
	white-space: pre-wrap;
	overflow-x: auto;
	min-height: 260px;
}
#top .agwp-codewin pre code { font: inherit; color: inherit; background: none; padding: 0; }

/* ---- [agwp_codetabs] – Datei-Reiter ohne JavaScript ---- */
#top .agwp-codetabs .agwp-codewin__tab {
	position: relative;
	display: block;
	margin: 0;
	padding: 14px 20px;
	border-right: 1px solid rgba(255, 255, 255, .08);
	background: transparent;
	color: #6B7785;
	font: 500 var(--agwp-fs-kicker)/1.4 var(--agwp-font-mono);
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
#top .agwp-codetabs .agwp-codewin__tab:hover { color: #C9D3DD; }
#top .agwp-codetabs .agwp-codewin__tab:has(.agwp-codewin__radio:checked) { background: #1F252D; color: #67D9E9; }
#top .agwp-codetabs .agwp-codewin__tab:has(.agwp-codewin__radio:focus-visible) {
	outline: 2px solid #67D9E9;
	outline-offset: -2px;
}
.agwp-codewin__radio {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	pointer-events: none;
}

#top .agwp-codetabs .agwp-codewin__pane { display: none; }
.agwp-codetabs:has(.agwp-codewin__tab:nth-child(1) .agwp-codewin__radio:checked) .agwp-codewin__pane:nth-child(1),
.agwp-codetabs:has(.agwp-codewin__tab:nth-child(2) .agwp-codewin__radio:checked) .agwp-codewin__pane:nth-child(2),
.agwp-codetabs:has(.agwp-codewin__tab:nth-child(3) .agwp-codewin__radio:checked) .agwp-codewin__pane:nth-child(3),
.agwp-codetabs:has(.agwp-codewin__tab:nth-child(4) .agwp-codewin__radio:checked) .agwp-codewin__pane:nth-child(4),
.agwp-codetabs:has(.agwp-codewin__tab:nth-child(5) .agwp-codewin__radio:checked) .agwp-codewin__pane:nth-child(5),
.agwp-codetabs:has(.agwp-codewin__tab:nth-child(6) .agwp-codewin__radio:checked) .agwp-codewin__pane:nth-child(6) { display: block !important; }

@supports not selector(:has(*)) {
	#top .agwp-codetabs .agwp-codewin__pane:first-child { display: block; }
}

@media (max-width: 560px) {
	#top .agwp-codetabs .agwp-codewin__bar { flex-wrap: wrap; }
	#top .agwp-codetabs .agwp-codewin__path { display: none; }
	#top .agwp-codetabs .agwp-codewin__tab { padding: 12px 14px; }
}
