/* BUILD: 2026-04-21-07 | file: wp-content/plugins/telaveo-smart-adsense/assets/telaveo-smart-adsense.css */
:root {
	--tsa-ink: #172033;
	--tsa-muted: #667085;
	--tsa-line: #d8e0ec;
	--tsa-soft: #f5f8fc;
	--tsa-blue: #1237d7;
	--tsa-blue-soft: #eaf0ff;
	--tsa-green: #137a4b;
	--tsa-amber: #a76000;
	--tsa-radius: 18px;
	--tsa-shadow: 0 22px 50px -38px rgba(15, 23, 42, 0.55);
}

.telaveo-smart-ad {
	box-sizing: border-box;
	clear: both;
	display: block;
	margin: 28px auto;
	max-width: 100%;
	min-height: var(--tsa-ad-height-desktop, 280px);
	position: relative;
	text-align: center;
	width: 100%;
}

.telaveo-smart-ad[data-tsa-placement="top_entry"] {
	margin: 0 auto 18px;
	padding: 0;
}

.telaveo-smart-ad[data-tsa-placement="after_image"] {
	margin: 18px auto 22px;
}

.telaveo-smart-ad *,
.telaveo-smart-ad *::before,
.telaveo-smart-ad *::after {
	box-sizing: border-box;
}

.telaveo-smart-ad__label {
	color: #64748b;
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.telaveo-smart-ad__slot {
	align-items: center;
	background:
		linear-gradient(135deg, rgba(18, 55, 215, 0.04), rgba(19, 122, 75, 0.045)),
		repeating-linear-gradient(135deg, rgba(15, 23, 42, 0.035) 0, rgba(15, 23, 42, 0.035) 1px, transparent 1px, transparent 12px);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 16px;
	display: flex;
	justify-content: center;
	min-height: calc(var(--tsa-ad-height-desktop, 280px) - 24px);
	overflow: hidden;
	padding: 0;
	width: 100%;
}

.telaveo-smart-ad--eligible .telaveo-smart-ad__slot {
	background: transparent;
	border-color: transparent;
}

.telaveo-smart-ad--ineligible {
	margin: 0 !important;
	min-height: 0 !important;
}

.telaveo-smart-ad--ineligible .telaveo-smart-ad__label,
.telaveo-smart-ad--ineligible .telaveo-smart-ad__slot {
	display: none;
}

.telaveo-smart-ad ins.adsbygoogle {
	display: block;
	min-height: calc(var(--tsa-ad-height-desktop, 280px) - 24px);
	width: 100%;
}

.telaveo-smart-ad__test {
	align-items: center;
	background: linear-gradient(135deg, #f8fbff, #eef4ff);
	border: 1px dashed #a9bbdf;
	border-radius: 14px;
	color: #344054;
	display: flex;
	font-size: 13px;
	font-weight: 800;
	justify-content: center;
	min-height: calc(var(--tsa-ad-height-desktop, 280px) - 36px);
	padding: 18px;
	width: 100%;
}

@media (max-width: 767px) {
	.telaveo-smart-ad {
		margin: 24px auto;
		min-height: var(--tsa-ad-height-mobile, 300px);
	}

	.telaveo-smart-ad__slot,
	.telaveo-smart-ad ins.adsbygoogle {
		min-height: calc(var(--tsa-ad-height-mobile, 300px) - 24px);
	}

	.telaveo-smart-ad__test {
		min-height: calc(var(--tsa-ad-height-mobile, 300px) - 36px);
	}
}

.tsa-admin-hero {
	align-items: center;
	background:
		radial-gradient(circle at 10% 20%, rgba(18, 55, 215, 0.16), transparent 28%),
		linear-gradient(135deg, #0d1729 0%, #17233a 62%, #203456 100%);
	border-radius: 24px;
	box-shadow: var(--tsa-shadow);
	color: #fff;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin: 18px 0 22px;
	padding: 28px;
}

.tsa-admin-hero h1 {
	color: #fff;
	font-size: 34px;
	line-height: 1.1;
	margin: 0 0 10px;
}

.tsa-admin-hero p {
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
	margin: 0;
	max-width: 680px;
}

.tsa-quick-setup {
	background: linear-gradient(135deg, #f7fbff, #ecf4ff);
	border: 1px solid #cddcf4;
	border-radius: 18px;
	margin: 0 0 18px;
	padding: 18px 20px;
}

.tsa-quick-setup h2 {
	margin-top: 0;
}

.tsa-quick-setup p {
	color: #344054;
	font-size: 14px;
	margin: 8px 0 0;
	max-width: 920px;
}

.tsa-eyebrow {
	color: #9cc2ff !important;
	font-size: 11px !important;
	font-weight: 800;
	letter-spacing: 0.16em;
	margin: 0 0 8px !important;
	text-transform: uppercase;
}

.tsa-admin-status {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	min-width: 210px;
}

.tsa-pill {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	padding: 8px 12px;
}

.tsa-pill.is-on {
	background: rgba(35, 174, 112, 0.22);
	border-color: rgba(98, 239, 169, 0.4);
}

.tsa-pill.is-test {
	background: rgba(255, 184, 77, 0.22);
	border-color: rgba(255, 209, 128, 0.42);
}

.tsa-pill.is-muted {
	opacity: 0.72;
}

.tsa-admin-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 0 18px;
}

.tsa-panel {
	background: #fff;
	border: 1px solid var(--tsa-line);
	border-radius: var(--tsa-radius);
	box-shadow: 0 18px 46px -42px rgba(15, 23, 42, 0.55);
	padding: 20px;
}

.tsa-panel-wide {
	margin: 0 0 18px;
}

.tsa-panel h2 {
	color: var(--tsa-ink);
	font-size: 18px;
	line-height: 1.25;
	margin: 0 0 16px;
}

.tsa-field {
	display: grid;
	gap: 6px;
	margin: 0 0 13px;
}

.tsa-field > span {
	color: var(--tsa-ink);
	font-weight: 750;
}

.tsa-field em,
.tsa-panel .description {
	color: var(--tsa-muted);
	display: block;
	font-size: 12px;
	font-style: normal;
	line-height: 1.5;
}

.tsa-field input[type="text"],
.tsa-field input[type="number"],
.tsa-field textarea,
.tsa-slots-table input[type="text"],
.tsa-slots-table input[type="number"],
.tsa-slots-table select {
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	box-shadow: none;
	min-height: 36px;
	padding: 7px 10px;
	width: 100%;
}

.tsa-field textarea {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	resize: vertical;
}

.tsa-field--wide textarea {
	font-family: Consolas, Monaco, monospace;
	min-height: 168px;
	white-space: pre;
}

.tsa-field-check {
	align-items: flex-start;
	display: grid;
	gap: 4px 9px;
	grid-template-columns: 18px minmax(0, 1fr);
}

.tsa-field-check input {
	margin-top: 2px;
}

.tsa-field-check em {
	grid-column: 2;
}

.tsa-table-wrap {
	overflow-x: auto;
}

.tsa-slots-table th,
.tsa-slots-table td {
	vertical-align: middle;
}

.tsa-slots-table input[type="number"] {
	max-width: 86px;
}

.tsa-metabox {
	display: grid;
	gap: 10px;
}

.tsa-metabox label {
	display: grid;
	gap: 5px;
	line-height: 1.35;
}

.tsa-metabox input[type="number"],
.tsa-metabox textarea {
	width: 100%;
}

@media (max-width: 1100px) {
	.tsa-admin-grid {
		grid-template-columns: 1fr;
	}

	.tsa-admin-hero {
		align-items: flex-start;
		flex-direction: column;
	}

	.tsa-admin-status {
		justify-content: flex-start;
	}
}
