/* reset WP admin interferences */
.wrap {
	background: #f9fafb;
	padding: 0 20px 10px 20px;
	font-family: "Segoe UI", sans-serif;
	max-width : 1600px;
	min-height: 90vh;

}
.social-icons{
	max-width: 200px;
}

/* ---- header ---- */
.form-header {
	/* display: flex; */
	align-items: center;
	/* justify-content: space-between; */
	margin-bottom: 24px;
}
.settings-title {
	/* margin: 0; */
	margin: 10px !important;
	font-size: 2rem !important;
	/* font-weight: 600 !important; */
	padding: 10px 0 0px 0 !important;
	color: #111827;
}
.form-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap : 1rem;
}
.form-toggle{
	display: flex;
	align-items: center;
	justify-content:flex-start;
	gap: 10px;
	min-width:fit-content;
}
.toggle-title{
	/* width : 8rem; */
	font-size:x-large;
	font-weight: 500;
}
.btn-primary {
	background-color: #2563eb;
	color: #fff;
	border: none;
	padding: 8px 16px;
	font-size: 0.875rem;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color .2s;
}
.btn-primary:hover {
	background-color: #1e40af;
}
.head-banner{
	width: 100%;
	max-width: 960px;
}
.head-banner img{
	width: 100%;
}
#adx_save_top {
	font-size: large;
	padding: 0 14px;
	/* font-weight: 600; */
	/* color: #2563eb; */
}

/* ---- toggle switch ---- */
.switch {
	position: relative;
	display: inline-block;
	width: 42px;
	height: 24px;
	margin-right: 16px;
}
.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}
.slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	background-color: #d1d5db;
	transition: .4s;
	border-radius: 34px;
}
.slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}
input:checked + .slider {
	background-color: #10b981;
}
input:checked + .slider:before {
	transform: translateX(18px);
}
.slider.round {
	border-radius: 34px;
}

/* ---- overall layout ---- */
.settings-container {
	display: grid;
	grid-template-columns: 4fr 1fr;
	gap: 24px;
}

/* ---- left side: nav + panels ---- */
.settings-left {
	display: grid;
	grid-template-columns: 1fr 3fr;
	gap: 16px;
}
.settings-nav ul {
	list-style: none;
	padding: 1px;
	margin: 0;
}
.settings-nav li + li {
	margin-top: 8px;
}
.nav-tab {
	display: block;
	padding: 10px 14px;
	text-decoration: none;
	color: #4b5563;
	font-size: 0.875rem;
	border-left: 4px solid transparent;
	transition: background-color .2s, border-color .2s;
	width: 100%;
}
.nav-tab:hover {
	background: #f3f4f6;
}
.nav-tab-active {
	background: #eff6ff;
	border-left-color: #3b82f6;
	color: #1e40af;
}

/* panel area */
.settings-main {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 20px;
}
.bottom-save {
	margin-top: 24px;
	text-align: right;
}

/* ---- right sidebar: status ---- */
.settings-sidebar {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 20px;
}
.settings-sidebar h2 {
	margin-top: 0;
	font-size: 1rem;
	font-weight: 500;
	color: #111827;
	margin-bottom: 12px;
}
.settings-sidebar ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.settings-sidebar li {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
}
.status-indicator {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	margin-right: 8px;
}
.status-empty {
	background: transparent;
	border: 2px solid #d1d5db;
}
.status-filled {
	background: #d34343;
	border: none;
}
.status-active {
	background: #10b981;
	border: none;
}
.status-label {
	font-size: 0.875rem;
	color: #374151;
}
.form-script-input{
	width: 100%;
}
.script-input{
	display: flex;
	gap: .5rem;
}


*,
:after,
:before {
	--tw-border-spacing-x: 0;
	--tw-border-spacing-y: 0;
	--tw-translate-x: 0;
	--tw-translate-y: 0;
	--tw-rotate: 0;
	--tw-skew-x: 0;
	--tw-skew-y: 0;
	--tw-scale-x: 1;
	--tw-scale-y: 1;
	--tw-pan-x: ;
	--tw-pan-y: ;
	--tw-pinch-zoom: ;
	--tw-scroll-snap-strictness: proximity;
	--tw-gradient-from-position: ;
	--tw-gradient-via-position: ;
	--tw-gradient-to-position: ;
	--tw-ordinal: ;
	--tw-slashed-zero: ;
	--tw-numeric-figure: ;
	--tw-numeric-spacing: ;
	--tw-numeric-fraction: ;
	--tw-ring-inset: ;
	--tw-ring-offset-width: 0px;
	--tw-ring-offset-color: #fff;
	--tw-ring-color: rgba(59, 130, 246, 0.5);
	--tw-ring-offset-shadow: 0 0 #0000;
	--tw-ring-shadow: 0 0 #0000;
	--tw-shadow: 0 0 #0000;
	--tw-shadow-colored: 0 0 #0000;
	--tw-blur: ;
	--tw-brightness: ;
	--tw-contrast: ;
	--tw-grayscale: ;
	--tw-hue-rotate: ;
	--tw-invert: ;
	--tw-saturate: ;
	--tw-sepia: ;
	--tw-drop-shadow: ;
	--tw-backdrop-blur: ;
	--tw-backdrop-brightness: ;
	--tw-backdrop-contrast: ;
	--tw-backdrop-grayscale: ;
	--tw-backdrop-hue-rotate: ;
	--tw-backdrop-invert: ;
	--tw-backdrop-opacity: ;
	--tw-backdrop-saturate: ;
	--tw-backdrop-sepia: ;
	--tw-contain-size: ;
	--tw-contain-layout: ;
	--tw-contain-paint: ;
	--tw-contain-style: ;
}
::backdrop {
	--tw-border-spacing-x: 0;
	--tw-border-spacing-y: 0;
	--tw-translate-x: 0;
	--tw-translate-y: 0;
	--tw-rotate: 0;
	--tw-skew-x: 0;
	--tw-skew-y: 0;
	--tw-scale-x: 1;
	--tw-scale-y: 1;
	--tw-pan-x: ;
	--tw-pan-y: ;
	--tw-pinch-zoom: ;
	--tw-scroll-snap-strictness: proximity;
	--tw-gradient-from-position: ;
	--tw-gradient-via-position: ;
	--tw-gradient-to-position: ;
	--tw-ordinal: ;
	--tw-slashed-zero: ;
	--tw-numeric-figure: ;
	--tw-numeric-spacing: ;
	--tw-numeric-fraction: ;
	--tw-ring-inset: ;
	--tw-ring-offset-width: 0px;
	--tw-ring-offset-color: #fff;
	--tw-ring-color: rgba(59, 130, 246, 0.5);
	--tw-ring-offset-shadow: 0 0 #0000;
	--tw-ring-shadow: 0 0 #0000;
	--tw-shadow: 0 0 #0000;
	--tw-shadow-colored: 0 0 #0000;
	--tw-blur: ;
	--tw-brightness: ;
	--tw-contrast: ;
	--tw-grayscale: ;
	--tw-hue-rotate: ;
	--tw-invert: ;
	--tw-saturate: ;
	--tw-sepia: ;
	--tw-drop-shadow: ;
	--tw-backdrop-blur: ;
	--tw-backdrop-brightness: ;
	--tw-backdrop-contrast: ;
	--tw-backdrop-grayscale: ;
	--tw-backdrop-hue-rotate: ;
	--tw-backdrop-invert: ;
	--tw-backdrop-opacity: ;
	--tw-backdrop-saturate: ;
	--tw-backdrop-sepia: ;
	--tw-contain-size: ;
	--tw-contain-layout: ;
	--tw-contain-paint: ;
	--tw-contain-style: ;
} /*! tailwindcss v3.4.18 | MIT License | https://tailwindcss.com*/
*,
:after,
:before {
	box-sizing: border-box;
	border: 0 solid #e5e7eb;
}
:after,
:before {
	--tw-content: "";
}
:host,
html {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;
	font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji,
	Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
	font-feature-settings: normal;
	font-variation-settings: normal;
	-webkit-tap-highlight-color: transparent;
}
body {
	margin: 0;
	line-height: inherit;
}
hr {
	height: 0;
	color: inherit;
	border-top-width: 1px;
}
abbr:where([title]) {
	-webkit-text-decoration: underline dotted;
	text-decoration: underline dotted;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: inherit;
	font-weight: inherit;
}
a {
	color: inherit;
	text-decoration: inherit;
}
b,
strong {
	font-weight: bolder;
}
code,
kbd,
pre,
samp {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
	Liberation Mono, Courier New, monospace;
	font-feature-settings: normal;
	font-variation-settings: normal;
	font-size: 1em;
}
small {
	font-size: 80%;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sub {
	bottom: -0.25em;
}
sup {
	top: -0.5em;
}
table {
	text-indent: 0;
	border-color: inherit;
	border-collapse: collapse;
}
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-feature-settings: inherit;
	font-variation-settings: inherit;
	font-size: 100%;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	color: inherit;
	margin: 0;
	padding: 0;
}
button,
select {
	text-transform: none;
}
button,
input:where([type="button"]),
input:where([type="reset"]),
input:where([type="submit"]) {
	-webkit-appearance: button;
	background-color: transparent;
	background-image: none;
}
:-moz-focusring {
	outline: auto;
}
:-moz-ui-invalid {
	box-shadow: none;
}
progress {
	vertical-align: baseline;
}
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
	height: auto;
}
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}
::-webkit-search-decoration {
	-webkit-appearance: none;
}
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}
summary {
	display: list-item;
}
blockquote,
dd,
dl,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
pre {
	margin: 0;
}
fieldset {
	margin: 0;
}
fieldset,
legend {
	padding: 0;
}
menu,
ol,
ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
dialog {
	padding: 0;
}
textarea {
	resize: vertical;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
	opacity: 1;
	color: #9ca3af;
}
input::placeholder,
textarea::placeholder {
	opacity: 1;
	color: #9ca3af;
}
[role="button"],
button {
	cursor: pointer;
}
:disabled {
	cursor: default;
}
audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
	display: block;
	vertical-align: middle;
}
img,
video {
	max-width: 100%;
	height: auto;
}
[hidden]:where(:not([hidden="until-found"])) {
	display: none;
}
.container {
	width: 100%;
}
@media (min-width: 640px) {
	.container {
	max-width: 640px;
	}
}
@media (min-width: 768px) {
	.container {
	max-width: 768px;
	}
}
@media (min-width: 1024px) {
	.container {
	max-width: 1024px;
	}
}
@media (min-width: 1280px) {
	.container {
	max-width: 1280px;
	}
}
@media (min-width: 1536px) {
	.container {
	max-width: 1536px;
	}
}
.pointer-events-auto {
	pointer-events: auto;
}
.static {
	position: static;
}
.fixed {
	position: fixed;
}
.absolute {
	position: absolute;
}
.relative {
	position: relative;
}
.sticky {
	position: sticky;
}
.top-10 {
	top: 2.5rem;
}
.my-5 {
	margin-top: 1.25rem;
	margin-bottom: 1.25rem;
}
.mb-0 {
	margin-bottom: 0;
}
.block {
	display: block;
}
.inline {
	display: inline;
}
.flex {
	display: flex;
}
.grid {
	display: grid;
}
.contents {
	display: contents;
}
.hidden {
	display: none;
}
.w-full {
	width: 100%;
}
.flex-grow {
	flex-grow: 1;
}
.transform {
	transform: translate(var(--tw-translate-x), var(--tw-translate-y))
	rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
	scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.select-none {
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}
.resize {
	resize: both;
}
.grid-cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.justify-between {
	justify-content: space-between;
}
.gap-10 {
	gap: 2.5rem;
}
.gap-2 {
	gap: 0.5rem;
}
.gap-4 {
	gap: 1rem;
}
.rounded-lg {
	border-radius: 0.5rem;
}
.rounded-md {
	border-radius: 0.375rem;
}
.border {
	border-width: 1px;
}
.border-2 {
	border-width: 2px;
}
.border-slate-200 {
	--tw-border-opacity: 1;
	border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
}
.p-3 {
	padding: 0.75rem;
}
.px-6 {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
.py-3 {
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}
.py-5 {
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
}
.opacity-75 {
	opacity: 0.75;
}
.shadow-lg {
	--tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
	0 4px 6px -4px rgba(0, 0, 0, 0.1);
	--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color),
	0 4px 6px -4px var(--tw-shadow-color);
	box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
	var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.filter {
	filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)
	var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate)
	var(--tw-sepia) var(--tw-drop-shadow);
}
.transition {
	transition-property: color, background-color, border-color,
	text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
	-webkit-backdrop-filter;
	transition-property: color, background-color, border-color,
	text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
	backdrop-filter;
	transition-property: color, background-color, border-color,
	text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
	backdrop-filter, -webkit-backdrop-filter;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.duration-150,
.transition {
	transition-duration: 0.15s;
}
.duration-200 {
	transition-duration: 0.2s;
}
.hover\:rounded-none:hover {
	border-radius: 0;
}
.hover\:opacity-100:hover {
	opacity: 1;
}
.hover\:shadow-lg:hover {
	--tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
	0 4px 6px -4px rgba(0, 0, 0, 0.1);
	--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color),
	0 4px 6px -4px var(--tw-shadow-color);
}
.hover\:shadow-lg:hover,
.hover\:shadow-xl:hover {
	box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
	var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hover\:shadow-xl:hover {
	--tw-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
	0 8px 10px -6px rgba(0, 0, 0, 0.1);
	--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color),
	0 8px 10px -6px var(--tw-shadow-color);
}


/* custom css */
.custom-code-wrapper {
	display: flex;
	max-width: 900px;
	margin-top: 15px;
}

.custom-tab-buttons {
	display: flex;
	flex-direction: column;
	border: 1px solid #ccc;
	border-right: none;
	background: #f1f1f1;
}

.custom-tab-buttons button {
	background: none;
	border: none;
	padding: 12px 20px;
	cursor: pointer;
	font-weight: 600;
	text-align: left;
	border-bottom: 1px solid #ccc;
}

.custom-tab-buttons button.active {
	background: #fff;
	border-left: 4px solid #2271b1;
	color: #2271b1;
}

.custom-tab-content {
	flex-grow: 1;
	border: 1px solid #ccc;
	padding: 10px;
	background: #fff;
}

.custom-tab-content textarea {
	width: 100%;
	height: 200px;
	font-family: monospace;
	font-size: 13px;
	background: #1e1e1e;
	color: #eee;
	border: none;
	padding: 10px;
	resize: vertical;
}
.ads-txt-content textarea {
	width: 100%;
	/* height: 200px; */
	font-family: monospace;
	font-size: 13px;
	background: #1e1e1e;
	color: #eee;
	border: none;
	padding: 10px;
	resize: vertical;

	/* min-height: 100px; */
}


/* display slot */
	.display-tabs {
		display: flex;
	position: relative;
	gap: 10px;
	z-index: 10;
	justify-content: space-between;
	}

	.display-tab {
	border: 1px solid #ccc;
	padding: 5px 12px;
	border-radius: 4px 4px 0 0;
	cursor: pointer;
	background: #f4f4f4;
	font-weight: bold;
	color: #444;
	font-size: 14px;
	width: 100%;
	}

	.display-tab.active {
	background: #fff;
	border-bottom: 2px solid white;
	color: red;
	}

	.display-tab-contents {
	border: 1px solid #ccc;
	position: relative;
	padding: 0;
	top: -1px;
	z-index: 0;
	}

	.display-content {
	display: none;
	padding: 16px;
	background: #fff;
	}

	.display-content.active {
	display: block;
	}

	.form-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px 20px;
	margin: 14px 0;
	}

	.form-inline {
	display: flex;
	gap: 40px;
	margin: 18px 0;
	align-items: center;
	justify-content: space-between;
	}
	h2 {
	margin-top : 0;
	}
	.sub-slot-block {
	padding: 5px 0 25px;
	}
	.tab-green { color: green !important;  }
	.tab-red   { color: red !important; }
	.tab-grey  { color: #595959ff !important; }



/* flying carpet */
