/**
 * Frontend Styles for Área do Cliente (Elementor Widgets)
 * Shadcn UI Neutral Black & White Theme
 */

/* ==========================================================================
   1. REGRAS GERAIS E BASE
   ========================================================================== */
.adc-guias-wrapper,
.adc-facas-container,
.adc-playlist-wrapper,
.adc-dicas-wrapper {
	box-sizing: border-box;
	font-family: inherit;
	color: #09090b;
}

.adc-guias-wrapper *,
.adc-facas-container *,
.adc-playlist-wrapper *,
.adc-dicas-wrapper * {
	box-sizing: border-box;
}

.adc-no-posts {
	padding: 32px 24px;
	text-align: center;
	background: #fafafa;
	border: 1px dashed #d4d4d8;
	border-radius: 10px;
	color: #71717a;
	font-size: 14px;
}

/* Badges de Formato (Shadcn UI Neutral) */
.adc-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	border-radius: 6px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: #fafafa;
	background-color: #09090b;
	border: 1px solid #27272a;
	text-transform: uppercase;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.adc-badge-top {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
}

.adc-badge-faca {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
}

/* ==========================================================================
   2. WIDGET: GUIAS DE DOWNLOAD
   ========================================================================== */
.adc-guias-grid {
	display: grid;
	gap: 20px;
}

.adc-guias-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.adc-guia-card {
	background: #ffffff;
	border: 1px solid #e4e4e7;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	display: flex;
	flex-direction: column;
}

.adc-guia-card:hover {
	border-color: #a1a1aa;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.06);
}

.adc-guias-list .adc-guia-card {
	flex-direction: row;
	align-items: center;
}

@media (max-width: 767px) {
	.adc-guias-list .adc-guia-card {
		flex-direction: column;
		align-items: stretch;
	}
}

.adc-guia-thumb-wrap {
	position: relative;
	width: 100%;
	height: 150px;
	background: #fafafa;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.adc-guias-list .adc-guia-thumb-wrap {
	width: 200px;
	height: 130px;
	flex-shrink: 0;
}

@media (max-width: 767px) {
	.adc-guias-list .adc-guia-thumb-wrap {
		width: 100%;
		height: 150px;
	}
}

.adc-guia-thumb {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 12px;
	transition: transform 0.35s ease;
}

.adc-guia-card:hover .adc-guia-thumb {
	transform: scale(1.05);
}

.adc-guia-thumb-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fafafa;
	color: #a1a1aa;
	font-size: 32px;
}

.adc-guia-content {
	padding: 14px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.adc-guia-title {
	margin: 0 0 6px 0;
	font-size: 14px;
	font-weight: 700;
	color: #09090b;
	line-height: 1.3;
}

.adc-guia-desc {
	margin: 0 0 12px 0;
	font-size: 12px;
	color: #71717a;
	line-height: 1.5;
	flex: 1;
}

.adc-guia-actions {
	margin-top: auto;
}

.adc-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: #09090b;
	color: #fafafa;
	padding: 8px 14px;
	border-radius: 6px;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid #09090b;
	transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
	width: 100%;
	cursor: pointer;
}

.adc-btn-primary:hover {
	background-color: #27272a;
	border-color: #27272a;
	color: #ffffff;
}

.adc-btn-primary:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px var(--adc-btn-focus-ring-color, rgba(9, 9, 11, 0.35));
}

.adc-btn-primary .adc-btn-icon {
	display: inline-flex;
	align-items: center;
}

.adc-btn-primary .adc-btn-icon svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.adc-btn-disabled {
	background-color: #f4f4f5 !important;
	border-color: #e4e4e7 !important;
	color: #a1a1aa !important;
	cursor: not-allowed !important;
	box-shadow: none !important;
}

/* ==========================================================================
   3. WIDGET: FACAS POR CATEGORIA
   ========================================================================== */
.adc-facas-container {
	position: relative;
}

/* Campo de busca */
.adc-search-box-wrapper {
	margin-bottom: 24px;
}

.adc-search-input-inner {
	position: relative;
	max-width: 440px;
}

.adc-search-input-inner i.eicon-search {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #a1a1aa;
	font-size: 15px;
}

.adc-facas-search-input {
	width: 100%;
	padding: 10px 36px 10px 40px !important;
	border: 1px solid #e4e4e7 !important;
	border-radius: 8px !important;
	font-size: 13.5px !important;
	background: #ffffff !important;
	color: #09090b !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.adc-search-style-outline .adc-facas-search-input {
	background: transparent;
	border-width: 2px;
}

.adc-search-style-filled .adc-facas-search-input {
	background: #f4f4f5;
	border-color: transparent;
}

.adc-facas-search-input:focus {
	outline: none !important;
	border-color: #09090b !important;
	box-shadow: 0 0 0 2px rgba(9, 9, 11, 0.08) !important;
}

.adc-search-clear {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	font-size: 18px;
	color: #a1a1aa;
	cursor: pointer;
	padding: 0;
	line-height: 1;
}

/* Abas de Navegação (Tabs - Shadcn UI) */
.adc-facas-tabs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
	border-bottom: 1px solid #e4e4e7;
	padding-bottom: 12px;
}

.adc-faca-tab {
	background: #fafafa;
	border: 1px solid #e4e4e7;
	border-radius: 8px;
	padding: 7px 16px;
	font-size: 13px;
	font-weight: 600;
	color: #52525b;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.15s ease;
}

.adc-faca-tab:hover {
	background: #f4f4f5;
	color: #09090b;
	border-color: #d4d4d8;
}

.adc-faca-tab.active {
	background: #09090b;
	border-color: #09090b;
	color: #fafafa;
}

.adc-tab-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #e4e4e7;
	color: #09090b;
	padding: 1px 6px;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 700;
}

.adc-faca-tab.active .adc-tab-count {
	background: #27272a;
	color: #fafafa;
}

.adc-facas-items-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

/* Acordeão de Categorias */
.adc-facas-accordion-wrapper {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.adc-accordion-item {
	border: 1px solid #e4e4e7;
	border-radius: 10px;
	overflow: hidden;
	background: #ffffff;
}

.adc-accordion-header {
	padding: 16px 20px;
	background: #fafafa;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-left: 3px solid transparent;
	transition: all 0.15s ease;
	user-select: none;
}

.adc-accordion-header.active {
	background: #ffffff;
	border-left-color: #09090b;
	border-bottom: 1px solid #f4f4f5;
}

.adc-accordion-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: #09090b;
	display: flex;
	align-items: center;
	gap: 10px;
}

.adc-accordion-badge {
	font-size: 11px;
	font-weight: 600;
	color: #71717a;
	background: #f4f4f5;
	border: 1px solid #e4e4e7;
	padding: 2px 7px;
	border-radius: 6px;
}

.adc-accordion-arrow {
	transition: transform 0.25s ease;
	color: #71717a;
	font-size: 13px;
}

.adc-accordion-header.active .adc-accordion-arrow {
	transform: rotate(180deg);
	color: #09090b;
}

.adc-accordion-body {
	padding: 20px;
}

/* Modo Seções */
.adc-category-section-block {
	margin-bottom: 32px;
}

.adc-category-section-header {
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 1px solid #e4e4e7;
}

.adc-category-section-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #09090b;
	padding-left: 10px;
	border-left: 3px solid #09090b;
	display: flex;
	align-items: center;
	gap: 8px;
}

.adc-section-count {
	font-size: 13px;
	color: #71717a;
	font-weight: 500;
}

/* Card Individual da Faca (Shadcn UI) */
.adc-faca-card {
	background: #ffffff;
	border: 1px solid #e4e4e7;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.adc-faca-card:hover {
	border-color: #a1a1aa;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.06);
}

.adc-faca-thumb-wrap {
	position: relative;
	width: 100%;
	height: 150px;
	background: #fafafa;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.adc-faca-thumb {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 12px;
	transition: transform 0.35s ease;
}

.adc-faca-card:hover .adc-faca-thumb {
	transform: scale(1.05);
}

.adc-faca-thumb-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #a1a1aa;
	font-size: 32px;
	background: #fafafa;
}

.adc-faca-info {
	padding: 14px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.adc-faca-title {
	margin: 0 0 6px 0;
	font-size: 14px;
	font-weight: 700;
	color: #09090b;
	line-height: 1.3;
}

.adc-faca-specs {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #71717a;
	margin-bottom: 12px;
}

.adc-faca-specs i {
	font-size: 12px;
	color: #a1a1aa;
}

.adc-faca-action {
	margin-top: auto;
}

.adc-faca-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #09090b;
	color: #fafafa;
	padding: 8px 14px;
	border-radius: 6px;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid #09090b;
	width: 100%;
	transition: background-color 0.15s ease, opacity 0.15s ease;
}

.adc-faca-btn:hover {
	background-color: #27272a;
	border-color: #27272a;
	color: #ffffff;
}

.adc-faca-btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px var(--adc-btn-focus-ring-color, rgba(9, 9, 11, 0.35));
}

.adc-faca-btn .adc-btn-icon {
	display: inline-flex;
	align-items: center;
}

.adc-faca-btn .adc-btn-icon svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
}

.adc-facas-no-search-results {
	padding: 30px;
	text-align: center;
	background: #fafafa;
	border: 1px dashed #d4d4d8;
	border-radius: 8px;
	color: #71717a;
	font-size: 14px;
}

.adc-facas-no-search-results i {
	font-size: 28px;
	color: #a1a1aa;
	margin-bottom: 6px;
	display: block;
}

/* ==========================================================================
   4. WIDGET: DICAS EM PLAYLIST (YOUTUBE - SHADCN DARK AESTHETIC)
   ========================================================================== */
.adc-playlist-wrapper {
	background: #09090b;
	color: #fafafa;
	border-radius: 12px;
	border: 1px solid #27272a;
	overflow: hidden;
	box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
	display: grid;
	grid-template-columns: 1fr 380px;
}

@media (max-width: 960px) {
	.adc-playlist-wrapper {
		grid-template-columns: 1fr;
	}
}

.adc-pl-player-section {
	background: #000000;
	display: flex;
	flex-direction: column;
}

.adc-pl-player-embed-wrap {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 ratio */
	height: 0;
	overflow: hidden;
	background: #000;
}

.adc-pl-player-embed-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.adc-pl-active-details {
	padding: 24px;
	background: #09090b;
	border-top: 1px solid #27272a;
}

.adc-pl-active-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.adc-pl-tag {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fafafa;
	background: #27272a;
	border: 1px solid #3f3f46;
	padding: 2px 8px;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.adc-pl-active-duration {
	font-size: 12px;
	color: #a1a1aa;
}

.adc-pl-active-title {
	margin: 0 0 8px 0;
	font-size: 19px;
	font-weight: 700;
	color: #fafafa;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.adc-pl-active-desc {
	font-size: 13.5px;
	color: #a1a1aa;
	line-height: 1.6;
}

.adc-pl-active-desc p {
	margin: 0 0 8px 0;
}

/* Sidebar da Playlist */
.adc-pl-sidebar {
	background: #09090b;
	display: flex;
	flex-direction: column;
	border-left: 1px solid #27272a;
	max-height: 600px;
}

@media (max-width: 960px) {
	.adc-pl-sidebar {
		border-left: none;
		border-top: 1px solid #27272a;
		max-height: 400px;
	}
}

.adc-pl-header {
	padding: 16px 20px;
	background: #18181b;
	border-bottom: 1px solid #27272a;
	display: flex;
	align-items: center;
	gap: 12px;
}

.adc-pl-header-icon {
	width: 34px;
	height: 34px;
	background: #27272a;
	color: #fafafa;
	border: 1px solid #3f3f46;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
}

.adc-pl-header-text h3 {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: #fafafa;
}

.adc-pl-header-text span {
	font-size: 12px;
	color: #a1a1aa;
}

.adc-pl-list-scroll {
	overflow-y: auto;
	flex: 1;
}

.adc-pl-list-scroll::-webkit-scrollbar {
	width: 5px;
}

.adc-pl-list-scroll::-webkit-scrollbar-thumb {
	background: #27272a;
	border-radius: 3px;
}

.adc-playlist-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	cursor: pointer;
	border-left: 3px solid transparent;
	transition: background-color 0.15s ease, border-color 0.15s ease;
	position: relative;
}

.adc-playlist-item:hover {
	background: #18181b;
}

.adc-playlist-item.active {
	background: #18181b;
	border-left-color: #ffffff;
}

.adc-pl-item-index {
	font-size: 11px;
	font-weight: 700;
	color: #52525b;
	width: 18px;
	text-align: center;
}

.adc-pl-item-thumb {
	position: relative;
	width: 80px;
	height: 48px;
	border-radius: 6px;
	overflow: hidden;
	flex-shrink: 0;
	background: #000;
	border: 1px solid #27272a;
}

.adc-pl-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.adc-pl-item-play-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 14px;
	opacity: 0;
	transition: opacity 0.15s ease;
}

.adc-playlist-item:hover .adc-pl-item-play-overlay {
	opacity: 1;
}

.adc-pl-item-duration {
	position: absolute;
	bottom: 2px;
	right: 3px;
	background: rgba(0, 0, 0, 0.85);
	color: #fafafa;
	font-size: 9px;
	font-weight: 600;
	padding: 1px 4px;
	border-radius: 2px;
}

.adc-pl-item-info {
	flex: 1;
	min-width: 0;
}

.adc-pl-item-title {
	margin: 0 0 3px 0;
	font-size: 13px;
	font-weight: 600;
	color: #f4f4f5;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.adc-pl-item-excerpt {
	margin: 0;
	font-size: 11px;
	color: #71717a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.adc-pl-playing-badge {
	display: none;
	margin-top: 4px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	background: #ffffff;
	color: #09090b;
	padding: 1px 6px;
	border-radius: 3px;
	width: fit-content;
}

.adc-playlist-item.active .adc-pl-playing-badge {
	display: inline-block;
}

/* ==========================================================================
   5. WIDGET: DICAS EM GRADE / DETALHADA
   ========================================================================== */
.adc-dicas-grid {
	display: grid;
	gap: 20px;
}

.adc-dicas-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.adc-dica-card {
	background: #ffffff;
	border: 1px solid #e4e4e7;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
	display: flex;
	flex-direction: column;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.adc-dica-card:hover {
	border-color: #a1a1aa;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.06);
}

.adc-dica-media-wrap {
	position: relative;
	width: 100%;
	background: #000;
}

.adc-dica-embed-wrap {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.adc-dica-embed-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.adc-dica-thumb-trigger {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	cursor: pointer;
}

.adc-dica-thumb-trigger img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.adc-dica-thumb-trigger:hover img {
	transform: scale(1.05);
}

.adc-play-btn-circle {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 52px;
	height: 52px;
	background: rgba(9, 9, 11, 0.85);
	color: #ffffff;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
	transition: transform 0.2s ease, background 0.2s ease;
}

.adc-dica-thumb-trigger:hover .adc-play-btn-circle {
	transform: translate(-50%, -50%) scale(1.1);
	background: #09090b;
}

.adc-dica-duration-badge {
	position: absolute;
	bottom: 10px;
	right: 12px;
	background: rgba(9, 9, 11, 0.85);
	color: #fafafa;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 7px;
	border-radius: 4px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.adc-dica-content {
	padding: 14px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.adc-dica-title {
	margin: 0 0 6px 0;
	font-size: 14px;
	font-weight: 700;
	color: #09090b;
	line-height: 1.3;
}

.adc-dica-desc {
	font-size: 12px;
	color: #71717a;
	line-height: 1.5;
	flex: 1;
}

.adc-dica-desc p {
	margin: 0 0 8px 0;
}

/* ==========================================================================
   6. MODAL / POPUP DE VÍDEO LIGHTBOX (SHADCN DARK MODAL)
   ========================================================================== */
.adc-video-modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.88);
	backdrop-filter: blur(4px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.adc-video-modal-backdrop.open {
	opacity: 1;
	visibility: visible;
}

.adc-video-modal-container {
	position: relative;
	width: 100%;
	max-width: 860px;
	background: #09090b;
	border-radius: 12px;
	border: 1px solid #27272a;
	overflow: hidden;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.adc-video-modal-frame-wrap {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
}

.adc-video-modal-frame-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.adc-video-modal-close {
	position: absolute;
	top: -38px;
	right: 0;
	background: none;
	border: none;
	color: #fafafa;
	font-size: 30px;
	cursor: pointer;
	line-height: 1;
	padding: 4px;
	transition: transform 0.15s ease;
}

.adc-video-modal-close:hover {
	transform: scale(1.2);
}

/* ==========================================================================
   7. WIDGET: CALCULADORA DE LOMBADA (SHADCN UI NEUTRAL)
   ========================================================================== */
.adc-lombada-wrapper {
	background: #ffffff;
	border: 1px solid #e4e4e7;
	border-radius: 12px;
	padding: 32px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.adc-lombada-header {
	margin-bottom: 28px;
	border-bottom: 1px solid #f4f4f5;
	padding-bottom: 16px;
}

.adc-lombada-title {
	margin: 0 0 6px 0;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #09090b;
	display: flex;
	align-items: center;
	gap: 10px;
}

.adc-lombada-title .dashicons {
	font-size: 22px;
	width: 22px;
	height: 22px;
	color: #09090b;
}

.adc-lombada-subtitle {
	margin: 0;
	font-size: 14px;
	color: #71717a;
	line-height: 1.5;
}

.adc-lombada-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 28px;
	align-items: start;
}

@media (max-width: 860px) {
	.adc-lombada-grid {
		grid-template-columns: 1fr;
	}
}

.adc-lombada-grid.adc-lombada-layout-vertical {
	grid-template-columns: 1fr;
}

/* Formulário da Calculadora */
.adc-lombada-form-col {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.adc-form-group label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13.5px;
	color: #09090b;
	margin-bottom: 6px;
}

.adc-label-hint {
	font-size: 11.5px;
	color: #a1a1aa;
	font-weight: normal;
}

.adc-select,
.adc-input-paginas {
	width: 100% !important;
	padding: 10px 14px !important;
	border: 1px solid #e4e4e7 !important;
	border-radius: 8px !important;
	font-size: 13.5px !important;
	background: #ffffff !important;
	color: #09090b !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.adc-select:focus,
.adc-input-paginas:focus {
	outline: none !important;
	border-color: #09090b !important;
	box-shadow: 0 0 0 2px rgba(9, 9, 11, 0.08) !important;
}

.adc-select:disabled {
	background: #f4f4f5 !important;
	color: #a1a1aa !important;
	cursor: not-allowed !important;
}

.adc-input-number-wrap {
	position: relative;
}

.adc-input-suffix {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 12px;
	color: #a1a1aa;
	font-weight: 600;
	pointer-events: none;
}

.adc-lombada-rules-notes {
	background: #fafafa;
	border: 1px solid #f4f4f5;
	border-radius: 8px;
	padding: 12px 14px;
}

.adc-lombada-rules-notes ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.adc-lombada-rules-notes li {
	font-size: 12px;
	color: #71717a;
	display: flex;
	align-items: center;
	gap: 6px;
}

.adc-lombada-rules-notes li i {
	font-size: 11px;
	color: #09090b;
}

/* Coluna de Resultado */
.adc-lombada-result-col {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.adc-lombada-result-box {
	background: #09090b;
	color: #fafafa;
	border-radius: 12px;
	padding: 24px;
	border: 1px solid #27272a;
	position: relative;
	text-align: center;
}

.adc-result-badge-top {
	display: inline-block;
	background: #27272a;
	color: #a1a1aa;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 2px 8px;
	border-radius: 4px;
	border: 1px solid #3f3f46;
	margin-bottom: 12px;
}

.adc-lombada-value-wrap {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 4px;
	margin-bottom: 8px;
}

.adc-lombada-value {
	font-size: 48px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #ffffff;
	line-height: 1;
}

.adc-lombada-unit {
	font-size: 20px;
	font-weight: 700;
	color: #a1a1aa;
}

.adc-lombada-detail-line {
	font-size: 13px;
	color: #a1a1aa;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.adc-detail-separator {
	color: #52525b;
}

/* Alertas de Limites */
.adc-lombada-alert {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 8px;
	text-align: left;
	font-size: 12px;
	display: flex;
	gap: 10px;
	align-items: flex-start;
	line-height: 1.45;
}

.adc-lombada-alert i {
	font-size: 16px;
	flex-shrink: 0;
	margin-top: 2px;
}

.adc-lombada-alert strong {
	display: block;
	margin-bottom: 2px;
}

.adc-lombada-alert p {
	margin: 0;
}

.adc-alert-warning {
	background: #1c1917;
	border: 1px solid #44403c;
	color: #f5f5f4;
}

.adc-alert-warning i {
	color: #facc15;
}

.adc-alert-danger {
	background: #271216;
	border: 1px solid #4c1d24;
	color: #fecdd3;
}

.adc-alert-danger i {
	color: #fb7185;
}

/* Simulação Visual do Livro (Mockup) */
.adc-book-mockup-wrapper {
	background: #fafafa;
	border: 1px solid #e4e4e7;
	border-radius: 10px;
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100px;
}

.adc-book-spine-visual {
	display: flex;
	align-items: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	border-radius: 4px;
	overflow: hidden;
	height: 60px;
	border: 1px solid #d4d4d8;
}

.adc-book-cover-left,
.adc-book-cover-right {
	width: 70px;
	height: 100%;
	background: #18181b;
}

.adc-book-spine-core {
	min-width: 30px;
	max-width: 140px;
	height: 100%;
	background: #ffffff;
	border-left: 2px solid #09090b;
	border-right: 2px solid #09090b;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 6px;
	transition: width 0.3s ease;
}

.adc-spine-measure-label {
	font-size: 11px;
	font-weight: 700;
	color: #09090b;
	white-space: nowrap;
}

/* Margens de Segurança */
.adc-safety-margins-box {
	background: #ffffff;
	border: 1px solid #e4e4e7;
	border-radius: 10px;
	padding: 14px 16px;
}

.adc-safety-head {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: #09090b;
	margin-bottom: 8px;
}

.adc-safety-head i {
	font-size: 14px;
	color: #71717a;
}

.adc-safety-items {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.adc-safety-pill {
	flex: 1;
	min-width: 140px;
	background: #fafafa;
	border: 1px solid #f4f4f5;
	padding: 8px 12px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.adc-safety-label {
	font-size: 11.5px;
	color: #71717a;
}

.adc-safety-val {
	font-size: 12px;
	font-weight: 700;
	color: #09090b;
}

/* ==========================================================================
   8. UTILITÁRIOS: ANIMAÇÃO, CARREGAR MAIS E PULSO DE RESULTADO
   ========================================================================== */

/* Desativa a elevação no hover dos cards quando o widget configura a opção */
.adc-hover-lift-off .adc-faca-card:hover,
.adc-hover-lift-off .adc-guia-card:hover,
.adc-hover-lift-off .adc-dica-card:hover {
	transform: none !important;
}

/* Botão "Carregar Mais" (Dicas em Grade e Guias) */
.adc-loadmore-wrap {
	text-align: center;
	margin-top: 28px;
}

.adc-loadmore-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: #09090b;
	color: #fafafa;
	border: 1px solid #09090b;
	padding: 10px 24px;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.adc-loadmore-btn:hover {
	background-color: #27272a;
	border-color: #27272a;
	color: #ffffff;
}

.adc-loadmore-btn[data-loading="1"] {
	opacity: 0.6;
	pointer-events: none;
}

/* Pulso no resultado da Calculadora de Lombada ao recalcular */
@keyframes adc-pulse-scale {
	0% { transform: scale(1); }
	50% { transform: scale(1.06); }
	100% { transform: scale(1); }
}

.adc-lombada-value-wrap.adc-pulse {
	animation: adc-pulse-scale 0.35s ease;
}

