/* Híbrido: casco Dataflow + catálogo estilo streaming */
:root {
	--dg-sidebar: 340px;
	--dg-scroll: #2377fc;
	--dg-scroll-track: rgba(148, 163, 184, .28);
}

body.dark-theme {
	background: #0b0d12 !important;
}

body.dark-theme .layout-wrap .section-content-right .main-content {
	background: #0b0d12 !important;
}

body.dark-theme .header-dashboard {
	background: #0b0d12;
	border-bottom-color: rgba(255, 255, 255, .06);
}

body.dark-theme .section-menu-left,
body.dark-theme .section-menu-left::before,
body.dark-theme .section-menu-left > .box-logo {
	background: #0a0c10 !important;
}

body.dark-theme .wg-box,
body.dark-theme .wg-chart-default {
	background: #12141b;
	border-color: rgba(255, 255, 255, .06);
}

/* Sidebar mais larga para caber o nome das categorias */
.layout-wrap .section-menu-left,
.layout-wrap .section-menu-left > .box-logo {
	width: var(--dg-sidebar);
	min-width: var(--dg-sidebar);
}

.layout-wrap .section-content-right .main-content {
	padding-left: var(--dg-sidebar);
}

.header-dashboard {
	width: calc(100% - var(--dg-sidebar));
	overflow: visible;
}

.header-dashboard .wrap .header-left {
	max-width: 640px;
	overflow: visible;
}

.header-dashboard .form-search {
	position: relative;
	z-index: 30;
}

.header-dashboard .wrap .header-left .box-content-search {
	background: #14141c;
	border: 1px solid rgba(255, 255, 255, .08);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
	color: #fff;
	height: auto;
	max-height: min(70vh, 540px);
	padding: 8px;
	z-index: 40;
}

.header-dashboard .wrap .header-left .box-content-search.active {
	top: 52px;
}

.plw-busca-msg {
	padding: 18px 14px;
	color: #9aa3b2;
	font-size: 13px;
	text-align: center;
}

.plw-busca-item {
	margin: 0;
}

.plw-busca-link {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 8px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: inherit;
	text-align: left;
	cursor: pointer;
}

.plw-busca-link:hover,
.plw-busca-item.is-on .plw-busca-link {
	background: rgba(255, 255, 255, .06);
}

.plw-busca-link img {
	width: 42px;
	height: 62px;
	object-fit: cover;
	border-radius: 6px;
	background: #2a2a35;
	flex-shrink: 0;
}

.plw-busca-link span {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.plw-busca-link strong {
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	line-height: 1.3;
}

.plw-busca-link small {
	font-size: 11px;
	color: #9aa3b2;
}

.section-menu-left .box-logo img,
.brand-logo {
	display: block;
	height: 38px;
	width: auto;
	max-width: 230px;
	object-fit: contain;
}

.login-page .brand-logo {
	height: 44px;
	margin-bottom: 16px;
}

.admin-top .brand-logo {
	height: 36px;
}

.brand-mark {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	text-decoration: none;
}

.brand-mark .body-title {
	font-size: 22px;
	letter-spacing: .06em;
	color: var(--Secondary) !important;
}

.brand-mark .body-text {
	font-size: 18px;
	font-weight: 700;
	color: var(--Main-Dark);
}

.login-page .brand-mark {
	margin-bottom: 16px;
}

.layout-wrap .section-menu-left .section-menu-left-wrap {
	width: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	padding-bottom: 24px;
	scrollbar-width: thin;
	scrollbar-color: var(--dg-scroll) var(--dg-scroll-track);
}

.layout-wrap .section-menu-left .menu-item a .text {
	white-space: normal;
	text-transform: none;
	overflow-wrap: anywhere;
	line-height: 1.35;
}

.layout-wrap .section-menu-left .menu-item.has-children .sub-menu {
	overflow-x: hidden !important;
	overflow-y: auto !important;
}

.layout-wrap .section-menu-left .menu-item.has-children .sub-menu .sub-menu-item {
	padding: 8px 18px 8px 28px;
}

.layout-wrap .section-menu-left .menu-item.has-children .sub-menu a .text {
	font-size: 13px;
	font-weight: 500;
	white-space: normal;
	text-transform: none;
	overflow-wrap: anywhere;
	line-height: 1.4;
}

.dg-cats {
	max-height: min(46vh, 460px);
	overflow-y: auto;
	overflow-x: hidden;
	margin: 0 8px 8px 0;
	padding-right: 6px;
	scrollbar-width: thin;
	scrollbar-color: var(--dg-scroll) var(--dg-scroll-track);
}

.dg-cats::-webkit-scrollbar,
.dg-rail::-webkit-scrollbar,
.layout-wrap .section-menu-left .section-menu-left-wrap::-webkit-scrollbar,
.layout-wrap .section-menu-left .menu-item.has-children .sub-menu::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

.dg-cats::-webkit-scrollbar-track,
.dg-rail::-webkit-scrollbar-track,
.layout-wrap .section-menu-left .section-menu-left-wrap::-webkit-scrollbar-track,
.layout-wrap .section-menu-left .menu-item.has-children .sub-menu::-webkit-scrollbar-track {
	background: var(--dg-scroll-track);
	border-radius: 999px;
}

.dg-cats::-webkit-scrollbar-thumb,
.dg-rail::-webkit-scrollbar-thumb,
.layout-wrap .section-menu-left .section-menu-left-wrap::-webkit-scrollbar-thumb,
.layout-wrap .section-menu-left .menu-item.has-children .sub-menu::-webkit-scrollbar-thumb {
	background: var(--dg-scroll);
	border-radius: 999px;
	border: 2px solid transparent;
	background-clip: padding-box;
}

.dg-hero {
	position: relative;
	height: 340px;
	border-radius: 18px;
	overflow: hidden;
	background: #111827;
	margin-bottom: 28px;
}

.dg-hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity .45s ease;
}

.dg-hero-slide.is-on {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

.dg-hero-slide img,
.dg-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(.5);
}

.dg-hero-copy {
	position: absolute;
	left: 28px;
	bottom: 28px;
	right: 28px;
	z-index: 2;
}

.dg-hero-copy span {
	display: inline-block;
	background: #2377fc;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 10px;
}

.dg-hero-copy h1 {
	color: #fff;
	font-size: 32px;
	margin: 0 0 8px;
}

.dg-hero-copy p {
	color: rgba(255,255,255,.78);
	margin: 0 0 16px;
	max-width: 620px;
}

.dg-hero-nav {
	position: absolute;
	right: 20px;
	bottom: 22px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 10px;
}

.dg-hero-arrow,
.dg-hero-dot {
	border: 0;
	cursor: pointer;
}

.dg-hero-arrow {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .45);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.dg-hero-dots {
	display: flex;
	gap: 6px;
}

.dg-hero-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .35);
}

.dg-hero-dot.is-on {
	width: 22px;
	border-radius: 999px;
	background: #2377fc;
}

.dg-row-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 8px 0 14px;
}

.dg-row-head h2 {
	margin: 0;
	font-size: 20px;
	color: var(--Main);
}

.dg-row-head a {
	color: #2377fc;
	font-weight: 600;
}

.dg-rail {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	padding-bottom: 14px;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	scrollbar-color: var(--dg-scroll) var(--dg-scroll-track);
}

.poster-card {
	flex: 0 0 168px;
	scroll-snap-align: start;
	background: transparent;
	border: 0;
	overflow: visible;
}

.poster-card form,
.poster-grid .poster-card form {
	margin: 0;
}

.poster-cover {
	position: relative;
	height: auto;
	aspect-ratio: 2 / 3;
	background: var(--Surface-2);
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 10px;
}

.poster-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.poster-cover .block-warning,
.poster-cover .block-available,
.poster-cover .block-pending {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
}

.poster-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, .28);
	opacity: 0;
	transition: .2s ease;
	color: var(--White);
	text-decoration: none;
}

.poster-card:hover .poster-play {
	opacity: 1;
}

.poster-play i {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--Secondary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 0;
	color: #fff;
}

.poster-card .body-title {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 4px;
}

.poster-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px 16px;
}

.poster-grid .poster-card {
	flex: none;
	width: auto;
}

.layout-wrap .section-menu-left .menu-item.has-children .sub-menu .sub-menu-item.is-on a .text {
	color: var(--Secondary);
	font-weight: 700;
}

.dg-empty {
	padding: 28px;
	text-align: center;
	color: var(--Bodytext);
}

.page-watch .layout-wrap .section-content-right .main-content .main-content-inner {
	padding-top: 28px;
}

.watch-box {
	max-width: 1320px;
}

.watch-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	column-gap: 36px;
	align-items: start;
}

.watch-layout.is-solo {
	grid-template-columns: 1fr;
}

.watch-col-poster {
	width: 260px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.watch-col-main {
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.watch-poster {
	width: 100%;
	border-radius: 18px;
	overflow: hidden;
	background: #111;
	border: 1px solid rgba(255, 255, 255, .12);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.watch-poster img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

.watch-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.watch-actions .tf-button {
	width: 100%;
}

.tf-button.style-3.is-on {
	background-color: var(--Secondary);
	color: #fff;
}

.watch-info {
	min-width: 0;
}

.watch-info h3 {
	margin: 0 0 4px;
}

.watch-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 14px 0 18px;
	padding: 14px 0;
	border-top: 1px solid rgba(255, 255, 255, .16);
	border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.watch-stat {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
	padding: 0 16px;
	border-right: 1px solid rgba(255, 255, 255, .16);
}

.watch-stat:first-child {
	padding-left: 0;
}

.watch-stat:last-child {
	border-right: 0;
	padding-right: 0;
}

.watch-stat i {
	color: var(--Secondary);
	font-size: 18px;
	margin-top: 2px;
	flex: 0 0 auto;
}

.watch-stat-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.watch-stat small {
	color: var(--Note);
	font-size: 12px;
	font-weight: 500;
}

.watch-stat b {
	color: var(--Secondary);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.watch-info h5 {
	margin: 0 0 8px;
}

.watch-player {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin-top: 22px;
	background-color: #0a0c10;
	background-image: linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .45) 100%), var(--player-poster);
	background-size: cover;
	background-position: center;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .14);
}

.watch-player.is-playing {
	background-image: none;
}

.watch-player #player,
.watch-player .jwplayer {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
}

.watch-player:not(.is-playing) #player,
.watch-player:not(.is-playing) .jwplayer {
	opacity: 0;
	pointer-events: none;
}

.watch-player .jwplayer,
.watch-player .jw-reset {
	background: transparent !important;
}

.watch-play-overlay {
	position: absolute;
	inset: 0;
	z-index: 4;
	border: 0;
	background: transparent;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.watch-play-overlay span {
	width: 74px;
	height: 74px;
	border-radius: 50%;
	border: 3px solid var(--Secondary);
	background: rgba(0, 0, 0, .42);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 28px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}

.watch-player.is-playing .watch-play-overlay {
	display: none;
}

.page-watch .jw-error,
.page-watch .jw-error-msg {
	display: none !important;
}

.watch-extra {
	margin-top: 18px;
}

.guide {
	margin-top: 0;
}

.guide-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.guide-head h3 {
	margin: 0;
}

.guide-head-icon {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: rgba(35, 119, 252, .16);
	color: #2377fc;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.guide-list {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 460px;
	overflow-y: auto;
	padding-right: 6px;
	scrollbar-width: thin;
	scrollbar-color: var(--dg-scroll) var(--dg-scroll-track);
}

.guide-list::-webkit-scrollbar {
	width: 10px;
}

.guide-list::-webkit-scrollbar-thumb {
	background: var(--dg-scroll);
	border-radius: 999px;
}

.guide-item {
	position: relative;
	display: grid;
	grid-template-columns: 72px 16px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 14px;
	background: #0f1218;
	border: 1px solid rgba(255, 255, 255, .06);
}

.guide-item.is-play {
	cursor: pointer;
}

.guide-item.is-play:hover,
.guide-item.is-on {
	border-color: rgba(35, 119, 252, .45);
	background: rgba(35, 119, 252, .1);
}

.guide-item.is-live {
	border-color: rgba(255, 116, 51, .5);
	background: linear-gradient(90deg, rgba(255, 116, 51, .16) 0%, rgba(15, 18, 24, .4) 55%);
}

.guide-item.is-next:not(.is-play) {
	border-color: rgba(35, 119, 252, .22);
}

.guide-time {
	text-align: center;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .02em;
	color: #fff;
	background: #1b2130;
	border-radius: 10px;
	padding: 8px 4px;
	line-height: 1.1;
}

.guide-item.is-live .guide-time {
	background: var(--Secondary);
	color: #fff;
}

.guide-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #3b4254;
	justify-self: center;
	box-shadow: 0 0 0 4px rgba(59, 66, 84, .25);
}

.guide-item.is-live .guide-dot {
	background: var(--Secondary);
	box-shadow: 0 0 0 4px rgba(255, 116, 51, .22);
}

.guide-item.is-next .guide-dot,
.guide-item.is-on .guide-dot {
	background: #2377fc;
	box-shadow: 0 0 0 4px rgba(35, 119, 252, .22);
}

.guide-copy {
	min-width: 0;
}

.guide-copy .body-title {
	margin-bottom: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.guide-copy .body-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.guide-side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	flex: 0 0 auto;
}

.guide-chip {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, .08);
	color: #dbe4f5;
	white-space: nowrap;
}

.guide-chip.is-live {
	background: var(--Secondary);
	color: #fff;
}

.guide-chip.is-next,
.guide-chip.is-play {
	background: rgba(35, 119, 252, .18);
	color: #9ec1ff;
}

.guide-meta {
	font-size: 12px;
	color: var(--Note);
	white-space: nowrap;
}

.guide-thumb {
	display: none;
}

.guide-item.has-thumb .guide-thumb {
	display: block;
	width: 72px;
	height: 42px;
	object-fit: cover;
	border-radius: 8px;
	background: #111;
}

@media (min-width: 992px) {
	.guide-item.has-thumb {
		grid-template-columns: 72px 16px minmax(0, 1fr) auto 72px;
	}
}

@media (max-width: 640px) {
	.guide-item,
	.guide-item.has-thumb {
		grid-template-columns: 62px minmax(0, 1fr);
		grid-template-areas:
			"time copy"
			"time side";
	}
	.guide-time { grid-area: time; }
	.guide-dot { display: none; }
	.guide-copy { grid-area: copy; }
	.guide-side {
		grid-area: side;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
	}
	.guide-thumb {
		display: none !important;
	}
}

.login-page .left {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px;
	background: linear-gradient(160deg, #0f172a 0%, #1d4ed8 55%, #0ea5e9 100%);
}

.login-page .left img {
	opacity: 1 !important;
	width: min(82%, 480px);
	height: auto;
	max-height: 220px;
	object-fit: contain;
	filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .28));
}

body.dark-theme .popup-wrap > .dropdown > .dropdown-menu,
body.dark-theme .dropdown-menu {
	background: #161922 !important;
	border: 1px solid rgba(255, 255, 255, .12) !important;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .45) !important;
}

body.dark-theme .dropdown-menu .dropdown-item,
body.dark-theme .dropdown-menu .user-item,
body.dark-theme .dropdown-menu .body-title-2 {
	color: #fff !important;
}

body.dark-theme .popup-wrap.user .dropdown-menu.show .user-item {
	display: flex !important;
	align-items: center;
	height: auto;
	min-height: 40px;
	padding: 8px 10px;
	gap: 10px;
	text-decoration: none;
}

body.dark-theme .dropdown-menu .dropdown-item:hover,
body.dark-theme .dropdown-menu .dropdown-item:focus,
body.dark-theme .popup-wrap.user .dropdown-menu.show .user-item:hover {
	background: rgba(35, 119, 252, .2) !important;
	color: #fff !important;
}

body.dark-theme .popup-wrap.user .dropdown-menu.show .user-item .icon i {
	color: #9ec1ff;
}

.header-dashboard .wg-user {
	width: auto;
	min-width: 0;
}

.plw-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, #1e3a8a 0%, #2377fc 58%, #38bdf8 100%);
	color: #fff;
	overflow: hidden;
	position: relative;
	box-shadow: 0 0 0 2px rgba(35, 119, 252, .35);
}

.plw-avatar i {
	font-size: 20px;
	line-height: 1;
}

.plw-avatar img {
	display: none;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.plw-avatar.has-photo img {
	display: block;
}

.plw-avatar.has-photo i {
	display: none;
}

.plw-avatar-lg {
	width: 84px;
	height: 84px;
	box-shadow: 0 0 0 3px rgba(35, 119, 252, .35);
}

.plw-avatar-lg i {
	font-size: 36px;
}

.plw-perfil {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	flex-wrap: wrap;
	margin: 18px 0 20px;
}

.plw-perfil-form {
	min-width: 240px;
	flex: 1;
}

.plw-nome-input {
	display: block;
	width: 100%;
	max-width: 360px;
	margin-top: 8px;
	padding: 11px 14px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, .12);
	background: #101218;
	color: #fff;
	font-size: 14px;
}

body.dark-theme .popup-wrap.user .dropdown-menu.show {
	min-width: 220px;
	padding: 10px;
	gap: 4px !important;
}

body.dark-theme .popup-wrap.user .dropdown-menu .dropdown-item,
body.dark-theme .popup-wrap.user .dropdown-menu .user-item,
body.dark-theme .popup-wrap.user .dropdown-menu .plw-menu-text,
body.dark-theme .popup-wrap.user .dropdown-menu a,
body.dark-theme .popup-wrap.user .dropdown-menu button {
	color: #f4f7ff !important;
}

button.user-item.dropdown-item {
	width: 100%;
	background: transparent;
	border: 0;
	text-align: left;
}

@media (max-width: 1400px) {
	.poster-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (max-width: 1200px) {
	.poster-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.layout-wrap .section-content-right .main-content {
		padding-left: 0;
	}
	.header-dashboard {
		width: 100%;
	}
	.dg-hero {
		height: 280px;
	}
	.dg-hero-copy h1 {
		font-size: 24px;
	}
	.dg-hero-nav {
		right: 14px;
		bottom: 14px;
	}
	.watch-layout {
		grid-template-columns: 1fr;
	}
	.watch-col-poster {
		width: 220px;
		margin: 0 auto 8px;
	}
	.watch-info h3 {
		text-align: center;
	}
	.watch-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 0;
	}
	.watch-stat {
		padding: 8px 12px;
	}
	.watch-stat:nth-child(2n) {
		border-right: 0;
	}
	.watch-player {
		margin-top: 18px;
	}
	.poster-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.poster-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.admin-login-link {
	display: inline-block;
	margin-top: 6px;
	text-align: center;
	color: var(--Note) !important;
	text-decoration: none;
}

.admin-login-link:hover {
	color: var(--Secondary) !important;
}

.admin-page {
	max-width: 1100px;
	margin: 0 auto;
	padding: 28px 20px 60px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.admin-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

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

.admin-form fieldset {
	margin: 0;
}

.admin-form .admin-check {
	display: flex;
	align-items: end;
}

.admin-form .flex {
	grid-column: 1 / -1;
}

.admin-form .admin-span {
	grid-column: 1 / -1;
}

.admin-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.plw-brand-icon {
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: linear-gradient(145deg, #1e3a8a 0%, #2377fc 58%, #38bdf8 100%);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.login-page .left .brand-mark {
	align-items: center;
	gap: 14px;
}

.login-page .left .brand-mark .body-title {
	font-size: 40px;
	color: #fff !important;
}

.login-page .left .plw-brand-icon {
	width: 72px;
	height: 72px;
	font-size: 30px;
	border-radius: 22px;
}

.login-page .left .brand-logo {
	width: auto;
	height: auto;
	max-width: 78%;
	max-height: 140px;
	object-fit: contain;
	opacity: 1 !important;
	filter: none;
}

.plw-whatsapp {
	background: #16a34a !important;
}

.pix-wrap {
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.pix-qr {
	width: 220px;
	height: 220px;
	border-radius: 16px;
	background: #fff;
	padding: 10px;
}

.pix-copia {
	width: 100%;
	min-height: 88px;
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,.12);
	background: #0f1218;
	color: #fff;
	padding: 12px;
}

.admin-table-wrap {
	overflow-x: auto;
	margin-top: 14px;
}

.admin-table {
	width: 100%;
	border-collapse: collapse;
}

.admin-table th,
.admin-table td {
	text-align: left;
	padding: 12px 10px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	vertical-align: middle;
}

.admin-table th {
	color: var(--Note);
	font-size: 12px;
	font-weight: 600;
}

.admin-actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
}

.admin-actions form {
	margin: 0;
}

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