﻿/**
 * Estilos incrementais compartilhados (painel lojista + SaaS) â€” evitar proliferar um arquivo .css por pÃ¡gina.
 */

/* ---------- SolicitaÃ§Ãµes de peÃ§as ---------- */
.card-filtro-ativo {
	outline: 2px solid rgba(13, 110, 253, .35);
	transform: translateY(-1px);
}

.campo-bloqueado,
input[readonly].form-control,
select.campo-bloqueado,
.form-select.campo-bloqueado {
	background-color: #f1f3f7 !important;
	color: #6c757d !important;
	border-color: #d8dde6 !important;
	cursor: not-allowed;
}

/* Valor da baixa (modal): R$ + linha inferior */
.valor-baixa-inline {
	max-width: 100%;
}

.valor-baixa-inline .valor-baixa-line {
	border-bottom: 1px solid rgba(33, 37, 41, 0.22);
	transition: border-color .15s ease;
	min-width: 4.5rem;
}

.valor-baixa-inline:focus-within .valor-baixa-line {
	border-bottom-color: rgba(13, 110, 253, 0.55);
}

.valor-baixa-inline .input-valor-baixa {
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	padding: 0.15rem 0 0.1rem 0 !important;
	background: transparent !important;
	font-size: 0.95rem;
	font-weight: 500;
	color: #495057;
	line-height: 1.3;
	min-height: 1.6rem;
	height: auto;
}

.valor-baixa-inline .input-valor-baixa:focus {
	outline: none;
}

/* ---------- Modal WhatsApp estilo conversa (OS / OrÃ§amentos) ---------- */
.whats-os-modal {
	border-radius: 18px;
	overflow: hidden;
	background: #f7f7f2;
	max-height: calc(100vh - 24px);
}

.whats-os-header {
	background: #128574;
	padding: 14px 17px;
}

.whats-os-header-phone {
	color: rgba(255, 255, 255, .88);
	font-size: 0.8125rem;
}

/* CabeÃ§alho verde WhatsApp â€” manter no modo escuro (nÃ£o padronizar com .modal-header) */
body.dark-theme .main-body .modal-header.whats-os-header,
body.dark-theme .modal-header.whats-os-header {
	background: #128574 !important;
	background-color: #128574 !important;
	color: #fff !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body.dark-theme .main-body .modal-header.whats-os-header .modal-title,
body.dark-theme .modal-header.whats-os-header .modal-title {
	color: #fff !important;
}

body.dark-theme .whats-os-header-phone {
	color: rgba(255, 255, 255, .88) !important;
}

.whats-os-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .18);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 24px;
}

.whats-os-body {
	padding: 16px;
	background-color: #efe9df;
	background-image: radial-gradient(rgba(18, 133, 116, .08) 1px, transparent 1px);
	background-size: 24px 24px;
	overflow-y: auto;
	max-height: calc(100vh - 170px);
}

.whats-os-preview {
	background: #dcf8c6;
	color: #27362d;
	border-radius: 9px;
	padding: 13px 13px 30px;
	margin-left: 66px;
	min-height: 88px;
	max-height: 330px;
	overflow-y: auto;
	overflow-x: hidden;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
	position: relative;
	font-size: 13px;
	line-height: 1.55;
	display: flex;
	flex-direction: column;
}

.whats-os-preview-content {
	flex: 1 1 auto;
	min-height: 0;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	word-break: break-word;
	padding-bottom: 4px;
}

.whats-os-preview[data-wp-sem-hora="1"] {
	padding-bottom: 13px;
}

.whats-os-preview-sep {
	border: 0;
	border-top: 1px solid rgba(17, 27, 33, .12);
	margin: 12px 0;
	opacity: 1;
}

.whats-os-preview-link {
	color: #0277bd;
	text-decoration: underline;
	word-break: break-all;
}

.whats-os-preview-link:hover {
	color: #01579b;
}

/* Lista de modelos WhatsApp (modal simples â€” OrÃ§amentos / OS)
   Itens sÃ£o <button>: reset obrigatÃ³rio ou o navegador/tema desenha borda forte no botÃ£o. */
.modelos-whats-modal-body {
	max-height: min(85vh, 780px);
	overflow-y: auto;
}

.modelos-whats-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

button.modelos-whats-card {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	appearance: none;
	-webkit-appearance: none;
	text-align: inherit;
	font: inherit;
	color: inherit;
	cursor: pointer;
	border-radius: 8px;
}

button.modelos-whats-card::-moz-focus-inner {
	border: 0;
	padding: 0;
}

button.modelos-whats-card:focus {
	outline: none;
	box-shadow: none;
}

button.modelos-whats-card:focus-visible .modelos-whats-card-inner {
	outline: 2px solid var(--bs-primary, #0d6efd);
	outline-offset: 2px;
}

.modelos-whats-card-inner {
	background: #fff;
	border-radius: 12px;
	padding: 12px 14px;
	border: 1px solid #dee2e6;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.045);
	transition: border-color .18s ease, box-shadow .18s ease;
}

button.modelos-whats-card:hover .modelos-whats-card-inner {
	border-color: var(--bs-primary, #0d6efd);
	box-shadow: 0 2px 12px rgba(13, 110, 253, 0.16);
}

.modelos-whats-card-title {
	font-weight: 600;
	font-size: 0.9375rem;
	color: #212529;
	margin-bottom: 6px;
	line-height: 1.35;
}

.modelos-whats-card-preview {
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #6c757d;
	max-height: 4.6em;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	word-break: break-word;
}

.modelos-whats-card-cta {
	display: inline-block;
	margin-top: 8px;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--bs-primary, #0d6efd);
}

/* Modal Modelos WhatsApp â€” modo escuro */
body.dark-theme #modalListaModelosWhats .modal-content {
	background: #1a1f2e;
	color: #e2e8f0;
}
body.dark-theme #modalListaModelosWhats .modelos-whats-modal-body,
body.dark-theme #modalListaModelosWhats .modal-modelos-whats-rodape {
	background: #1a1f2e;
	color: #e2e8f0;
	border-color: rgba(255, 255, 255, 0.08);
}
body.dark-theme .modelos-whats-card-inner {
	background: #252d3d;
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
body.dark-theme button.modelos-whats-card:hover .modelos-whats-card-inner {
	border-color: var(--primary-bg-color, #0d6efd);
	box-shadow: 0 2px 12px color-mix(in srgb, var(--primary-bg-color, #0d6efd) 28%, transparent);
}
body.dark-theme .modelos-whats-card-title {
	color: #e2e8f0;
}
body.dark-theme .modelos-whats-card-preview {
	color: #94a3b8;
}
body.dark-theme .modelos-whats-card-cta {
	color: #93c5fd;
}
body.dark-theme #modalListaModelosWhats .text-muted {
	color: #94a3b8 !important;
}

/* Modais de envio (OS / OrÃ§amentos): preview alinhado ao telefone e ao editor */
.whats-os-body > .whats-os-preview,
#modalAmbosOrcamento .whats-os-preview,
#modalAmbosOS .whats-os-preview,
#modalWhatsOS .whats-os-preview,
#modalWhatsOrcamento .whats-os-preview {
	margin-left: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

#modalAmbosOrcamento .whats-os-time,
#modalAmbosOS .whats-os-time {
	position: absolute;
	right: 12px;
	bottom: 4px;
	float: none;
	margin-top: 0;
}

.whats-os-preview:after {
	content: "";
	position: absolute;
	right: -7px;
	top: 0;
	border-top: 9px solid #dcf8c6;
	border-right: 9px solid transparent;
}

.whats-os-time {
	display: block;
	position: absolute;
	right: 10px;
	bottom: 6px;
	float: none;
	margin-top: 0;
	font-size: 10px;
	color: #78a987;
	background: transparent;
	padding-left: 8px;
	z-index: 2;
	pointer-events: none;
	white-space: nowrap;
}

.whats-os-editor-wrap {
	position: relative;
	margin-top: 16px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	background: #fff;
	border-radius: 9px;
	box-shadow: 0 2px 12px rgba(31, 80, 92, .22);
	border: 1px solid #d6e8f2;
}

.whats-os-editor-wrap textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	border: 0;
	box-shadow: none !important;
	resize: vertical;
	min-height: 128px;
	padding: 13px 13px 34px;
	font-size: 13px;
	line-height: 1.55;
}

.whats-os-editor-wrap textarea:focus {
	border: 0;
	box-shadow: none !important;
}

.whats-os-editor-help {
	position: absolute;
	right: 11px;
	bottom: 7px;
	font-size: 11px;
	color: #b1b1b1;
	pointer-events: none;
}

.whats-os-tags-menu {
	position: absolute;
	left: 12px;
	bottom: 36px;
	width: 310px;
	max-height: 280px;
	display: none;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #d7e8e3;
	box-shadow: 0 18px 42px rgba(21, 49, 58, .22);
	padding: 0;
	z-index: 10020;
}

.whats-modal-tags-toolbar {
	flex-shrink: 0;
	padding: 8px 8px 6px;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.whats-modal-tags-scroll-inner {
	overflow-y: auto;
	flex: 1;
	min-height: 0;
	max-height: 220px;
	padding: 7px;
}

.whats-os-tags-menu.whats-os-tags-menu--fixed {
	box-shadow: 0 18px 42px rgba(21, 49, 58, .22);
}

.whats-os-tag-item {
	width: 100%;
	border: 0;
	background: transparent;
	text-align: left;
	padding: 8px 9px;
	border-radius: 9px;
	color: #2b3a37;
	font-size: 12px;
}

.whats-os-tag-item:hover,
.whats-os-tag-item.active {
	background: #e9f8f2;
	color: #087a55;
}

.whats-os-tag-code {
	display: block;
	font-family: Consolas, monospace;
	font-size: 11px;
	color: #128574;
}

.whats-os-tags-grupo-label {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #7a8a86;
	padding: 8px 9px 4px;
	margin-top: 4px;
	border-top: 1px solid rgba(0, 0, 0, .07);
	pointer-events: none;
}

.whats-modal-tags-scroll-inner>.whats-os-tags-grupo-label:first-child {
	margin-top: 0;
	border-top: 0;
	padding-top: 2px;
}

.whats-os-footer {
	background: #fff;
	padding: 11px 16px;
	gap: 10px;
}

.whats-os-footer .btn {
	border-radius: 8px;
	font-weight: 700;
	padding: 10px 20px;
}

/* ---------- Modal Enviar Link (OrÃ§amentos): mesmo visual WhatsApp ---------- */
#modalEnviarLink .modal-content {
	border: 0;
	border-radius: 18px;
	overflow: hidden;
	background: #f7f7f2;
	box-shadow: 0 16px 38px rgba(0, 0, 0, .16);
}

#modalEnviarLink .modal-header {
	background: #128574 !important;
	border: 0;
	padding: 14px 17px;
}

#modalEnviarLink .modal-title {
	font-weight: 700;
	color: #fff;
}

#modalEnviarLink .modal-body {
	padding: 16px;
	background-color: #efe9df;
	background-image: radial-gradient(rgba(18, 133, 116, .08) 1px, transparent 1px);
	background-size: 24px 24px;
}

#modalEnviarLink .form-label {
	font-size: .98rem;
	font-weight: 600;
	color: #5e6d75;
	margin-bottom: 6px;
}

#modalEnviarLink .form-control {
	border: 1px solid #d6e8f2;
	border-radius: 10px;
	box-shadow: 0 2px 12px rgba(31, 80, 92, .08);
}

#modalEnviarLink .form-control:focus {
	border-color: #8cc7ba;
	box-shadow: 0 0 0 .2rem rgba(18, 133, 116, .15);
}

#modalEnviarLink #mensagemUpload {
	min-height: 160px;
	background: #dcf8c6;
	color: #27362d;
	line-height: 1.55;
}

#modalEnviarLink .whats-os-preview {
	margin-left: 0;
	max-height: 260px;
}

#modalEnviarLink .whats-os-time {
	position: absolute;
	right: 12px;
	bottom: 4px;
	float: none;
	margin-top: 0;
}

#modalEnviarLink .whats-os-preview:after {
	display: none;
}

#modalEnviarLink .whats-os-editor-wrap {
	margin-top: 10px;
}

/* ---------- Modal lista (#modalWhats) â€” mesmo idioma visual WhatsApp ---------- */
#modalWhats.modal-whats-compose .modal-dialog {
	max-height: calc(100vh - 24px);
}

#modalWhats.modal-whats-compose .modal-content {
	border-radius: 18px;
}

/* Bolha â€œenviadaâ€ como no WhatsApp â€” fundo verde + cauda Ã  direita */
#modalWhats .whats-os-body .whats-modal-preview-main {
	margin-left: 0;
	max-height: 280px;
	background: #dcf8c6;
	color: #111b21;
	border: 1px solid rgba(17, 27, 33, 0.07);
	box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}

#modalWhats .whats-os-body .whats-modal-preview-main .text-muted {
	color: rgba(17, 27, 33, 0.42) !important;
}

#modalWhats .whats-os-body .whats-modal-preview-main .whats-os-time {
	position: absolute;
	right: 12px;
	bottom: 4px;
	float: none;
	margin-top: 0;
	background: transparent;
	color: #667781;
}

#modalWhats .whats-os-body .whats-modal-preview-main:after {
	display: block;
	border-top-color: #dcf8c6;
	border-right-color: transparent;
}

#modalWhats .whats-modal-toolbar .btn {
	border-radius: 8px;
}

/* Editor modal WhatsApp â€” altura mais compacta (usuÃ¡rio pode redimensionar) */
#modalWhats.modal-whats-compose .whats-os-editor-wrap textarea {
	min-height: 108px;
	max-height: min(280px, 42vh);
	resize: vertical;
}

#modalWhats.modal-whats-compose .whats-os-editor-wrap.modal-whats-editor-wrap textarea {
	min-height: 132px;
	max-height: min(300px, 45vh);
	padding-bottom: 12px;
}

#modalWhats.modal-whats-compose .modal-whats-editor-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 8px 12px 10px;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	background: #fafafa;
	font-size: 11px;
	color: #7a8a86;
	flex-wrap: wrap;
}

#modalWhats.modal-whats-compose .modal-whats-count {
	white-space: nowrap;
}

#modalWhats.modal-whats-compose .whats-os-editor-wrap .whats-os-tags-menu {
	bottom: 48px;
}

/* Modal IA WhatsApp sobre #modalWhats (Clientes + CRM) */
.modal.crm-modal-ia-sobre.show {
	z-index: 100000100 !important;
}

/* Galeria de modelos sobre outro modal (Inbox agendar, etc.) */
.modal.modal-modelos-whats-sobre.show {
	z-index: 100000150 !important;
}

/* lista Select2 do modal OS: rolagem para centenas de tags */
.select2-container--default .whatsapp-os-tags-dropdown .select2-results>.select2-results__options {
	max-height: min(420px, 65vh) !important;
}

/* Popover de emojis (Ã¢ncora no botÃ£o â€” acima de .modal em assets/css/style.css) */
.wp-emoji-popover {
	position: fixed;
	z-index: 100000050 !important;
	width: min(380px, calc(100vw - 16px));
	max-height: min(400px, 60vh);
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 18px 42px rgba(21, 49, 58, .22);
	border: 1px solid rgba(0, 0, 0, .07);
	overflow: hidden;
}

.wp-emoji-popover.d-none {
	display: none !important;
}

.wp-emoji-popover-tabs {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 2px;
	padding: 6px 8px;
	border-bottom: 1px solid rgba(0, 0, 0, .06);
	flex-shrink: 0;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.wp-emoji-tab {
	border: 0;
	background: transparent;
	border-radius: 8px;
	padding: 5px 7px;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	opacity: .5;
	flex-shrink: 0;
	transition: opacity .12s ease, background .12s ease;
}

.wp-emoji-tab:hover,
.wp-emoji-tab.ativo {
	opacity: 1;
	background: rgba(13, 110, 253, .1);
}

.wp-emoji-tab-vazia {
	opacity: .3;
}

.wp-emoji-vazio {
	grid-column: 1 / -1;
}

.wp-emoji-popover-grid {
	overflow-y: auto;
	overflow-x: hidden;
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 2px;
	padding: 8px 10px 10px;
	font-size: 1.5rem;
	line-height: 1.35;
	flex: 1;
	min-height: 0;
	-webkit-overflow-scrolling: touch;
}

.wp-emoji-choice-modal {
	border: 0;
	background: transparent;
	border-radius: 8px;
	padding: 4px 2px;
	cursor: pointer;
	transition: background .12s ease;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.wp-emoji-choice-modal:hover,
.wp-emoji-choice-modal:focus {
	background: rgba(13, 110, 253, .12);
	outline: none;
}

/* Popover de caracteres especiais (mesmo padrÃ£o dos emojis) */
.wp-chars-popover {
	position: fixed;
	z-index: 100000050 !important;
	width: min(300px, calc(100vw - 16px));
	max-height: min(200px, 40vh);
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 18px 42px rgba(21, 49, 58, .22);
	border: 1px solid rgba(0, 0, 0, .07);
	overflow: hidden;
}

.wp-chars-popover.d-none {
	display: none !important;
}

.wp-chars-popover-head {
	font-size: .8rem;
	font-weight: 600;
	color: #8a9399;
	padding: 9px 12px 7px;
	border-bottom: 1px solid rgba(0, 0, 0, .06);
	flex-shrink: 0;
}

.wp-chars-popover-grid {
	overflow-y: auto;
	overflow-x: hidden;
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 4px;
	padding: 8px 10px 10px;
	flex: 1;
	min-height: 0;
	-webkit-overflow-scrolling: touch;
}

.wp-char-choice-modal {
	border: 0;
	background: #f8f9fa;
	border-radius: 8px;
	padding: 6px 2px;
	cursor: pointer;
	transition: background .12s ease, border-color .12s ease;
	font-size: 1rem;
	line-height: 1.2;
	font-weight: 600;
	color: #2c3e50;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	border: 1px solid rgba(0, 0, 0, .06);
}

.wp-char-choice-modal:hover,
.wp-char-choice-modal:focus {
	background: rgba(13, 110, 253, .12);
	border-color: rgba(13, 110, 253, .25);
	outline: none;
}

/* ---------- Modal cadastro mensagens WhatsApp (#modalForm) ---------- */
#modalForm.modal-mensagens-whats-compose .modal-dialog {
	max-height: calc(100vh - 24px);
	margin: 12px auto;
	display: flex;
}

#modalForm.modal-mensagens-whats-compose .modal-content {
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 24px);
	width: 100%;
	overflow: hidden;
}

/* Form ocupa a altura e o rodapé não é cortado */
#modalForm.modal-mensagens-whats-compose #form-whatsapp {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

#modalForm.modal-mensagens-whats-compose .modal-header.whats-os-header {
	flex-shrink: 0;
}

#modalForm .mensagens-whats-meta,
#modalDados.modal-mensagens-whats-view .mensagens-whats-meta,
.modal-mensagens-whats-view .mensagens-whats-meta {
	background: #fff;
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 14px;
	box-shadow: 0 1px 3px rgba(31, 80, 92, .08);
	border: 1px solid rgba(0, 0, 0, .06);
}

/* Meta do modal visualizar: labels e badges alinhados */
.modal-mensagens-whats-view .mensagens-whats-meta .form-label {
	letter-spacing: .02em;
	margin-bottom: .35rem !important;
}

.modal-mensagens-whats-view .mensagens-whats-meta .badge {
	font-weight: 600;
	padding: .4em .7em;
	font-size: .78rem;
}

/* custom.css legado (#preview fundo branco) â€” bolha sÃ³ verde nas modais WhatsApp */
#preview.whats-os-preview.whats-modal-preview-main,
.whats-os-preview.whats-modal-preview-main#preview {
	background: #dcf8c6 !important;
	background-color: #dcf8c6 !important;
	background-blend-mode: normal !important;
	color: #111b21;
	border: 1px solid rgba(17, 27, 33, 0.07);
	box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}

#preview.whats-os-preview.whats-modal-preview-main .text-muted,
.whats-os-preview.whats-modal-preview-main#preview .text-muted {
	color: rgba(17, 27, 33, 0.42) !important;
}

.whats-os-preview .whats-os-preview-content {
	background: transparent !important;
	background-color: transparent !important;
	background-blend-mode: normal !important;
}

#modalForm .whats-os-preview .whats-os-time,
#modalForm #preview.whats-os-preview .whats-os-time {
	position: absolute;
	right: 12px;
	bottom: 4px;
	float: none;
	margin-top: 0;
	color: #667781;
	background: transparent;
}

#modalForm.modal-mensagens-whats-compose .whats-os-editor-wrap textarea {
	min-height: 320px;
	max-height: 480px;
	resize: vertical;
	overflow-y: auto;
}

#modalForm .modal-body.whats-os-body {
	flex: 1 1 auto;
	min-height: 0;
	max-height: none;
	overflow-y: auto;
	overflow-x: hidden;
}

#modalForm #preview.whats-os-preview {
	margin-left: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	min-height: 280px;
	max-height: min(420px, 50vh);
	overflow-y: auto;
}

#modalForm #preview.whats-os-preview .whats-preview-placeholder,
#modalForm #preview.whats-os-preview .text-muted {
	color: rgba(17, 27, 33, 0.45) !important;
	font-style: italic;
}

#modalForm .whats-os-footer {
	background: #fff;
	padding: 12px 16px 14px;
	border-top: 1px solid rgba(0, 0, 0, .08);
	margin-top: 0;
	flex-shrink: 0;
	position: relative;
	z-index: 2;
}

#modalForm .whats-os-footer .btn {
	white-space: nowrap;
}

@media (max-width: 575.98px) {
	#modalForm.modal-mensagens-whats-compose .modal-dialog {
		margin: 8px;
		max-width: calc(100% - 16px);
	}

	#modalForm .whats-os-footer {
		padding: 10px 12px 12px;
		gap: 8px !important;
	}

	#modalForm .whats-os-footer > .btn,
	#modalForm .whats-os-footer > .d-flex {
		flex: 1 1 100%;
	}

	#modalForm .whats-os-footer > .d-flex .btn {
		flex: 1 1 auto;
	}
}

.whats-os-editor-wrap.has-char-count .wp-char-count {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 11px;
	color: #7a8a86;
	padding: 6px 12px 8px;
	background: #fafafa;
	border-top: 1px solid rgba(0, 0, 0, .06);
}

.whats-os-editor-wrap.has-char-count .wp-char-count-hint {
	color: #9aa8a4;
	font-size: 11px;
	line-height: 1.3;
}

.whats-os-editor-wrap.has-char-count .wp-char-count-num {
	margin-left: auto;
	white-space: nowrap;
}

.whats-os-editor-wrap.has-char-count textarea {
	padding-bottom: 12px;
}

#modalEnviarLink .modal-footer {
	background: #fff;
	border: 0;
	padding: 11px 16px;
}

#modalEnviarLink .modal-footer .btn {
	border-radius: 10px;
	font-weight: 700;
	padding: 10px 20px;
}

#modalEnviarLink #btn_enviar_link,
#modalEnviarLink #btn_carregando_link {
	background: #00a5f5;
	border-color: #00a5f5;
}

#modalEnviarLink #btn_enviar_link:hover {
	background: #0094db;
	border-color: #0094db;
}

/* ---------- Modal E-mail estilo mensagem aberta (OS / OrÃ§amentos) ---------- */
.email-os-dialog {
	max-width: 760px;
}

.email-os-modal {
	border-radius: 18px;
	overflow: hidden;
	background: #f4f7fb;
	max-height: calc(100vh - 24px);
}

.email-os-header {
	background: linear-gradient(135deg, #2563eb, #1d4ed8);
	padding: 14px 17px;
}

.email-os-avatar {
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .18);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 21px;
}

.email-os-body {
	padding: 16px;
	background: linear-gradient(180deg, #eef4ff 0%, #f8fafc 100%);
	overflow-y: auto;
	max-height: calc(100vh - 170px);
}

.email-os-preview {
	background: #fff;
	border: 1px solid #dbeafe;
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(37, 99, 235, .12);
	overflow: hidden;
}

.email-os-preview-top {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 15px;
	background: #f8fbff;
	border-bottom: 1px solid #e5eefc;
}

.email-os-preview-icon {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: #dbeafe;
	color: #1d4ed8;
	display: flex;
	align-items: center;
	justify-content: center;
}

.whats-ambos-preview-icon {
	background: rgba(255, 255, 255, .18);
	color: #ffffff;
}

.whats-ambos-preview-wrap {
	background: #f7f7f2;
	border-color: #128C7E;
}

.whats-ambos-preview-wrap .email-os-preview-top {
	background: #128C7E;
	border-bottom: 1px solid #0f6d60;
	color: #ffffff;
}

.whats-ambos-preview-wrap .email-os-preview-top .small {
	color: rgba(255, 255, 255, .75) !important;
}

.whats-ambos-preview-wrap .email-os-preview-top .fw-bold {
	color: #ffffff !important;
}

/* CabeÃ§alho laranja â€” modal Enviar WhatsApp + E-mail (nÃ£o padronizar no modo escuro) */
.modal-header.modal-header-ambos-envio {
	background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
	background-color: transparent !important;
	color: #fff !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

body.dark-theme .main-body .modal-header.modal-header-ambos-envio,
body.dark-theme .modal-header.modal-header-ambos-envio {
	background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
	background-color: transparent !important;
	color: #fff !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

body.dark-theme .main-body .modal-header.modal-header-ambos-envio .modal-title,
body.dark-theme .modal-header.modal-header-ambos-envio .modal-title {
	color: #fff !important;
}

.email-os-subject {
	padding: 12px 15px;
	font-weight: 700;
	color: #1e293b;
	border-bottom: 1px solid #eef2f7;
}

.email-os-message {
	padding: 15px;
	color: #334155;
	min-height: 120px;
	max-height: 300px;
	overflow-y: auto;
	overflow-x: hidden;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	word-break: break-word;
	font-size: 13px;
	line-height: 1.6;
}

.email-os-editor-wrap {
	position: relative;
	margin-top: 16px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
	border: 1px solid #dbeafe;
}

.email-os-editor-wrap textarea {
	border: 0;
	box-shadow: none !important;
	resize: vertical;
	min-height: 128px;
	padding: 13px 13px 34px;
	font-size: 13px;
	line-height: 1.55;
}

.email-os-editor-wrap textarea:focus {
	border: 0;
	box-shadow: none !important;
}

.email-os-editor-help {
	position: absolute;
	right: 11px;
	bottom: 7px;
	font-size: 11px;
	color: #94a3b8;
	pointer-events: none;
}

.email-os-tags-menu {
	position: absolute;
	left: 12px;
	bottom: 36px;
	width: 310px;
	max-height: 230px;
	overflow-y: auto;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #bfdbfe;
	box-shadow: 0 18px 42px rgba(30, 64, 175, .18);
	padding: 7px;
	z-index: 10020;
	display: none;
}

.email-os-tag-item {
	width: 100%;
	border: 0;
	background: transparent;
	text-align: left;
	padding: 8px 9px;
	border-radius: 9px;
	color: #1e293b;
	font-size: 12px;
}

.email-os-tag-item:hover,
.email-os-tag-item.active {
	background: #eff6ff;
	color: #1d4ed8;
}

.email-os-tag-code {
	display: block;
	font-family: Consolas, monospace;
	font-size: 11px;
	color: #2563eb;
}

.email-os-footer {
	background: #fff;
	padding: 11px 16px;
	gap: 10px;
}

.email-os-footer .btn {
	border-radius: 8px;
	font-weight: 700;
	padding: 10px 20px;
}

/* ---------- Atalho / nas modais de editar modelo ---------- */
.template-slash-wrap {
	position: relative;
}

.template-slash-wrap textarea {
	padding-bottom: 34px;
	overflow-x: hidden;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.template-editor-help {
	position: absolute;
	right: 12px;
	bottom: 8px;
	font-size: 11px;
	color: #94a3b8;
	pointer-events: none;
}

.template-tags-menu {
	position: absolute;
	left: 12px;
	bottom: 38px;
	width: 320px;
	max-height: 230px;
	overflow-y: auto;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #bfdbfe;
	box-shadow: 0 18px 42px rgba(30, 64, 175, .18);
	padding: 7px;
	z-index: 10020;
	display: none;
}

.template-tag-item,
.template-email-tag-item {
	width: 100%;
	border: 0;
	background: transparent;
	text-align: left;
	padding: 8px 9px;
	border-radius: 9px;
	color: #1e293b;
	font-size: 12px;
}

.template-tag-item:hover,
.template-tag-item.active,
.template-email-tag-item:hover,
.template-email-tag-item.active {
	background: #eff6ff;
	color: #1d4ed8;
}

.template-tag-code,
.template-email-tag-code {
	display: block;
	font-family: Consolas, monospace;
	font-size: 11px;
	color: #2563eb;
}

/* ---------- OrÃ§amentos / OS (modo escuro): blocos claros e labels editÃ¡veis ---------- */
.os-card-light,
.orcamento-card-light {
	background: #f7f7f7;
}

body.dark-theme .os-card-light,
body.dark-theme .orcamento-card-light {
	background: var(--dark-bg-secondary) !important;
}

body.dark-theme .os-card-light .row,
body.dark-theme .orcamento-card-light .row {
	background: transparent !important;
}

body.dark-theme .modal-os-cadastro .modal-content,
body.dark-theme .modal-orc-cadastro .modal-content {
	background: #1a1f2e;
	color: #e2e8f0;
}

body.dark-theme .modal-os-cadastro .modal-body,
body.dark-theme .modal-orc-cadastro .modal-body {
	background: #1a1f2e !important;
	color: #e2e8f0;
}

body.dark-theme .modal-os-cadastro .modal-footer,
body.dark-theme .modal-os-cadastro-rodape,
body.dark-theme .modal-orc-cadastro .modal-footer,
body.dark-theme .modal-orc-cadastro-rodape {
	background: #1a1f2e !important;
	border-top-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-theme .modal-os-cadastro .card,
body.dark-theme .modal-orc-cadastro .card {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .modal-os-cadastro .form-label,
body.dark-theme .modal-orc-cadastro .form-label {
	color: #e2e8f0 !important;
}

body.dark-theme .modal-os-cadastro .os-card-light input[type="text"],
body.dark-theme .modal-orc-cadastro .orcamento-card-light input[type="text"] {
	color: #e2e8f0 !important;
	border-bottom-color: rgba(148, 163, 184, 0.35) !important;
}

body.dark-theme .modal-os-cadastro #tabela2 thead tr,
body.dark-theme .modal-orc-cadastro #tabela2 thead tr {
	background: #252d3d !important;
	color: #e2e8f0;
}

body.dark-theme .modal-os-cadastro #tabela2,
body.dark-theme .modal-os-cadastro #tabela2 td,
body.dark-theme .modal-os-cadastro #tabela2 th,
body.dark-theme .modal-orc-cadastro #tabela2,
body.dark-theme .modal-orc-cadastro #tabela2 td,
body.dark-theme .modal-orc-cadastro #tabela2 th {
	border-color: rgba(255, 255, 255, 0.1) !important;
	color: #e2e8f0;
}

/* Inputs inline na tabela produtos/serviÃ§os (nÃ£o usam .form-control; quantidade sem type="text") */
body.dark-theme .modal-os-cadastro #tabela2 .input_borda_inferior,
body.dark-theme .modal-os-cadastro #tabela2 input:not([type="checkbox"]):not([type="radio"]),
body.dark-theme .modal-orc-cadastro #tabela2 .input_borda_inferior,
body.dark-theme .modal-orc-cadastro #tabela2 input:not([type="checkbox"]):not([type="radio"]) {
	background: #1e2433 !important;
	background-color: #1e2433 !important;
	color: #ffffff !important;
	border-bottom-color: rgba(148, 163, 184, 0.45) !important;
}

body.dark-theme .modal-os-cadastro #tabela2 .input_borda_inferior:focus,
body.dark-theme .modal-os-cadastro #tabela2 input:not([type="checkbox"]):not([type="radio"]):focus,
body.dark-theme .modal-orc-cadastro #tabela2 .input_borda_inferior:focus,
body.dark-theme .modal-orc-cadastro #tabela2 input:not([type="checkbox"]):not([type="radio"]):focus {
	background: #252d3d !important;
	color: #ffffff !important;
	outline: none;
	box-shadow: none !important;
}

/* Campos do bloco Valores e Prazos + demais .form-control da modal */
body.dark-theme .modal-os-cadastro .form-control,
body.dark-theme .modal-os-cadastro .form-select,
body.dark-theme .modal-os-cadastro .input-group-text,
body.dark-theme .modal-orc-cadastro .form-control,
body.dark-theme .modal-orc-cadastro .form-select,
body.dark-theme .modal-orc-cadastro .input-group-text {
	background-color: #1e2433 !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
	color: #e2e8f0 !important;
}

body.dark-theme .modal-os-cadastro .form-control:focus,
body.dark-theme .modal-os-cadastro .form-select:focus,
body.dark-theme .modal-orc-cadastro .form-control:focus,
body.dark-theme .modal-orc-cadastro .form-select:focus {
	background-color: #252d3d !important;
	color: #f8fafc !important;
	border-color: rgba(255, 255, 255, 0.2) !important;
	box-shadow: none !important;
}

body.dark-theme .modal-os-cadastro .form-control::placeholder,
body.dark-theme .modal-orc-cadastro .form-control::placeholder {
	color: #94a3b8 !important;
}

/* Modal Contas a Receber â€” cadastro e tabela de serviÃ§os (#tabela2) */
.receber-tabela-servicos-head {
	background: #e0e0e0;
}

.receber-qtd-servico {
	width: 35px !important;
	text-align: center;
}

body.dark-theme .modal-receber-cadastro .form-label {
	color: #e2e8f0 !important;
}

body.dark-theme .modal-receber-cadastro .form-control,
body.dark-theme .modal-receber-cadastro .form-select,
body.dark-theme .modal-receber-cadastro .input-group-text {
	background-color: #1e2433 !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
	color: #e2e8f0 !important;
}

body.dark-theme .modal-receber-cadastro .form-control:focus,
body.dark-theme .modal-receber-cadastro .form-select:focus {
	background-color: #252d3d !important;
	color: #f8fafc !important;
	border-color: rgba(255, 255, 255, 0.2) !important;
	box-shadow: none !important;
}

body.dark-theme .modal-receber-cadastro .input-group-text.bg-gray-200,
body.dark-theme .modal-receber-cadastro .input-group-text.text-dark {
	background-color: #252d3d !important;
	color: #e2e8f0 !important;
}

body.dark-theme .modal-receber-cadastro #tabela2 thead tr,
body.dark-theme .modal-receber-cadastro .receber-tabela-servicos-head {
	background: #252d3d !important;
	color: #e2e8f0;
}

body.dark-theme .modal-receber-cadastro #tabela2,
body.dark-theme .modal-receber-cadastro #tabela2 td,
body.dark-theme .modal-receber-cadastro #tabela2 th {
	border-color: rgba(255, 255, 255, 0.1) !important;
	color: #e2e8f0;
}

body.dark-theme .modal-receber-cadastro #tabela2 .input_borda_inferior,
body.dark-theme .modal-receber-cadastro #tabela2 input:not([type="checkbox"]):not([type="radio"]) {
	background: #1e2433 !important;
	background-color: #1e2433 !important;
	color: #ffffff !important;
	border-bottom-color: rgba(148, 163, 184, 0.45) !important;
}

body.dark-theme .modal-receber-cadastro #tabela2 .input_borda_inferior:focus,
body.dark-theme .modal-receber-cadastro #tabela2 input:not([type="checkbox"]):not([type="radio"]):focus {
	background: #252d3d !important;
	color: #ffffff !important;
	outline: none;
	box-shadow: none !important;
}

.modal-os-cadastro .card,
.modal-orc-cadastro .card {
	border-radius: 12px;
	overflow: hidden;
}

/* Modal padrÃ£o de desbloqueio (OS / OrÃ§amento / OS TÃ©cnico) */
.modal-padrao-senha-content {
	border-radius: 15px;
	overflow: hidden;
}

.modal-padrao-senha-corpo {
	padding: 30px;
	background: #f8f9fa;
}

.modal-padrao-senha-canvas-wrap {
	background: #ffffff;
	display: inline-block;
	padding: 20px;
	border-radius: 15px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-padrao-senha-rodape {
	padding: 20px;
	border-top: 2px solid #e9ecef;
	background: #ffffff;
}

body.dark-theme .modal-padrao-senha .modal-content {
	background: #1a1f2e;
	color: #e2e8f0;
}

body.dark-theme .modal-padrao-senha-corpo {
	background: #1a1f2e !important;
}

body.dark-theme .modal-padrao-senha-canvas-wrap {
	background: #252d3d !important;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35) !important;
}

#patternLock {
	background-color: #f8f9fa;
	border-radius: 10px;
	box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
	touch-action: none;
}

body.dark-theme #patternLock {
	background-color: #1e2433 !important;
	box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.35) !important;
}

body.dark-theme .modal-padrao-senha-ajuda {
	color: #94a3b8 !important;
}

body.dark-theme .modal-padrao-senha-rodape {
	background: #1a1f2e !important;
	border-top-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-theme .label-editavel-orc {
	color: var(--dark-text-primary) !important;
	border-bottom-color: rgba(148, 163, 184, 0.35) !important;
}

/* ---------- OS TÃ©cnico: switch bloqueado na ediÃ§Ã£o ---------- */
.toggle-bloqueado-edicao {
	opacity: .78;
}

.toggle-bloqueado-edicao .custom-toggle-label {
	cursor: not-allowed !important;
	background: #cdd3db !important;
	border: 1px solid #b6bfcc;
}

.toggle-bloqueado-edicao .custom-toggle-label:before {
	background: #f1f5f9 !important;
}

.toggle-bloqueado-edicao .toggle-off {
	color: #4b5563 !important;
}

.toggle-bloqueado-edicao>label:last-child {
	cursor: not-allowed;
	color: #6b7280;
}

body.dark-theme .toggle-bloqueado-edicao {
	opacity: .95;
}

body.dark-theme .toggle-bloqueado-edicao .custom-toggle-label {
	background: #111827 !important;
	border-color: #334155;
}

body.dark-theme .toggle-bloqueado-edicao .custom-toggle-label:before {
	background: #475569 !important;
}

body.dark-theme .toggle-bloqueado-edicao .toggle-off {
	color: #cbd5e1 !important;
}

body.dark-theme .toggle-bloqueado-edicao>label:last-child {
	color: #94a3b8 !important;
}


/* Notificações (offcanvas): estilos em sistema/painel/css/notificacoes.css */

/* ---------- Aparelhos: toggle Lista / Cards ---------- */
.apl-visao-toggle .btn.btn-outline-secondary.active,
.apl-visao-toggle .btn.btn-outline-secondary.active:focus,
.apl-visao-toggle .btn.btn-outline-secondary.active:hover {
	color: #fff !important;
	background-color: var(--bs-secondary, #6c757d) !important;
	border-color: var(--bs-secondary, #6c757d) !important;
}

.apl-visao-toggle .btn.btn-outline-secondary.active i {
	color: #fff !important;
}

/* AvaliaÃ§Ãµes â€” editor + prÃ©via na mesma linha (igual marketing) */
#modalConfigProduto {
	--av-compose-altura: 340px;
}

#modalMensagensAvaliacao {
	--av-compose-altura: 220px;
}

#modalMensagens1e2 {
	--av-compose-altura: 280px;
}

#modalConfigProduto .avaliacoes-compose-header,
#modalMensagensAvaliacao .avaliacoes-compose-header,
#modalMensagens1e2 .avaliacoes-compose-header {
	margin-bottom: 0.15rem;
}

#modalConfigProduto .avaliacoes-compose-preview-label,
#modalMensagensAvaliacao .avaliacoes-compose-preview-label,
#modalMensagens1e2 .avaliacoes-compose-preview-label {
	flex-shrink: 0;
	margin-bottom: 0.1rem;
	line-height: 1.2;
}

#modalConfigProduto .avaliacoes-compose-row,
#modalMensagensAvaliacao .avaliacoes-compose-row,
#modalMensagens1e2 .avaliacoes-compose-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 1rem;
	align-items: start;
}

#modalConfigProduto .avaliacoes-compose-editor,
#modalConfigProduto .avaliacoes-compose-preview,
#modalMensagensAvaliacao .avaliacoes-compose-editor,
#modalMensagensAvaliacao .avaliacoes-compose-preview,
#modalMensagens1e2 .avaliacoes-compose-editor,
#modalMensagens1e2 .avaliacoes-compose-preview {
	min-width: 0;
}

#modalConfigProduto .avaliacoes-compose-preview,
#modalMensagensAvaliacao .avaliacoes-compose-preview,
#modalMensagens1e2 .avaliacoes-compose-preview {
	display: flex;
	flex-direction: column;
	min-height: var(--av-compose-altura);
	margin-top: -0.55rem;
}

#modalConfigProduto .avaliacoes-compose-block>.avaliacoes-compose-toolbar,
#modalMensagensAvaliacao .avaliacoes-compose-block>.avaliacoes-compose-toolbar,
#modalMensagens1e2 .avaliacoes-compose-block>.avaliacoes-compose-toolbar {
	margin-bottom: 0.25rem !important;
}

#modalConfigProduto .avaliacoes-compose-editor-wrap {
	min-height: var(--av-compose-altura);
	box-sizing: border-box;
}

#modalConfigProduto .avaliacoes-compose-editor-wrap textarea {
	min-height: calc(var(--av-compose-altura) - 40px) !important;
	height: calc(var(--av-compose-altura) - 40px);
	width: 100%;
	resize: vertical;
	box-sizing: border-box;
}

#modalMensagensAvaliacao .avaliacoes-compose-editor-wrap,
#modalMensagens1e2 .avaliacoes-compose-editor-wrap {
	min-height: var(--av-compose-altura);
	box-sizing: border-box;
}

#modalMensagensAvaliacao .avaliacoes-compose-editor-wrap textarea,
#modalMensagens1e2 .avaliacoes-compose-editor-wrap textarea {
	min-height: calc(var(--av-compose-altura) - 32px) !important;
	height: calc(var(--av-compose-altura) - 32px);
	width: 100%;
	resize: vertical;
	box-sizing: border-box;
}

#modalConfigProduto .avaliacoes-compose-preview .whats-os-preview,
#modalMensagensAvaliacao .avaliacoes-compose-preview .whats-os-preview,
#modalMensagens1e2 .avaliacoes-compose-preview .whats-os-preview {
	margin-left: 0 !important;
	margin-top: 0;
	width: 100%;
	max-width: 100%;
	flex: 1 1 auto;
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
	overflow-y: auto;
	box-sizing: border-box;
}

/* Modal produto / mensagens — responsivo (empilha editor + prévia) */
@media (max-width: 991.98px) {
	#modalConfigProduto .modal-dialog,
	#modalMensagensAvaliacao .modal-dialog,
	#modalMensagens1e2 .modal-dialog {
		margin: 0.5rem;
		max-width: calc(100% - 1rem);
	}

	#modalConfigProduto .modal-title,
	#modalMensagensAvaliacao .modal-title,
	#modalMensagens1e2 .modal-title {
		font-size: 0.95rem;
		line-height: 1.3;
		white-space: normal;
		padding-right: 0.35rem;
	}

	#modalConfigProduto .modal-body,
	#modalMensagensAvaliacao .modal-body,
	#modalMensagens1e2 .modal-body {
		max-height: calc(100vh - 150px) !important;
		padding: 0.85rem !important;
	}

	#modalConfigProduto {
		--av-compose-altura: 220px;
	}

	#modalMensagensAvaliacao {
		--av-compose-altura: 180px;
	}

	#modalMensagens1e2 {
		--av-compose-altura: 200px;
	}

	#modalConfigProduto .avaliacoes-compose-row,
	#modalMensagensAvaliacao .avaliacoes-compose-row,
	#modalMensagens1e2 .avaliacoes-compose-row {
		grid-template-columns: 1fr;
		row-gap: 0.85rem;
	}

	#modalConfigProduto .avaliacoes-compose-preview,
	#modalMensagensAvaliacao .avaliacoes-compose-preview,
	#modalMensagens1e2 .avaliacoes-compose-preview {
		margin-top: 0;
		min-height: 160px;
	}

	#modalConfigProduto .avaliacoes-compose-preview .whats-os-preview,
	#modalMensagensAvaliacao .avaliacoes-compose-preview .whats-os-preview,
	#modalMensagens1e2 .avaliacoes-compose-preview .whats-os-preview {
		min-height: 140px !important;
	}
}

/* Efeito de hover premium degradÃª nos botÃµes do menu superior */
.header-icons a.nav-link:not(.profile-user),
.header-icons a.nav-item:not(.profile-user),
.header-icons .nav-item>a:not(.profile-user) {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	border-radius: 30px !important;
	padding: 8px 14px !important;
	margin: 0 4px !important;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
	background: transparent !important;
	border: none !important;
	height: 40px !important;
	min-width: 40px;
	box-sizing: border-box;
}

.header-icons a.nav-link:not(.profile-user):hover,
.header-icons a.nav-item:not(.profile-user):hover,
.header-icons .nav-item>a:not(.profile-user):hover {
	background: linear-gradient(135deg, var(--template1) 0%, var(--painel-grad-end) 100%) !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.header-icons a.nav-link:not(.profile-user):hover *:not(.badge),
.header-icons a.nav-item:not(.profile-user):hover *:not(.badge),
.header-icons .nav-item>a:not(.profile-user):hover *:not(.badge) {
	color: #ffffff !important;
	fill: #ffffff !important;
	stroke: #ffffff !important;
}

/* ---------- InfogrÃ¡fico e Banner de Aquecimento de Chip ---------- */
.infografico-container {
	background: #f8f9fa;
	border-radius: 16px;
	padding: 0.75rem;
	border: 1px solid #e9ecef;
}
.infografico-col {
	transition: all 0.3s ease;
}
.infografico-card {
	border-radius: 12px;
	padding: 0.75rem 0.85rem;
	height: 100%;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
	display: flex;
	flex-direction: column;
}
.infografico-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.infografico-card.passo-1 {
	background: #f4fbf7;
	border: 1px solid #c2ebd5;
}
.infografico-card.passo-1 .badge-passo {
	background: #198754;
	color: #ffffff;
}
.infografico-card.passo-1 .secao-titulo {
	color: #198754;
}

.infografico-card.passo-2 {
	background: #f4f8fb;
	border: 1px solid #c2dbeb;
}
.infografico-card.passo-2 .badge-passo {
	background: #0d6efd;
	color: #ffffff;
}
.infografico-card.passo-2 .secao-titulo {
	color: #0d6efd;
}

.infografico-card.passo-3 {
	background: #fffcf8;
	border: 1px solid #ebd9c2;
}
.infografico-card.passo-3 .badge-passo {
	background: #fd7e14;
	color: #ffffff;
}
.infografico-card.passo-3 .secao-titulo {
	color: #fd7e14;
}

.header-passo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.25rem;
}
.badge-passo {
	font-weight: 700;
	font-size: 0.72rem;
	padding: 0.2rem 0.55rem;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.subtitulo-passo {
	font-weight: 700;
	color: #2b303a;
	font-size: 0.78rem;
	text-transform: uppercase;
}
.objetivo-passo {
	font-size: 0.74rem;
	color: #6c757d;
	margin-bottom: 0.4rem;
	font-style: italic;
}
.secao-titulo {
	font-weight: 700;
	font-size: 0.82rem;
	margin-top: 0.6rem;
	margin-bottom: 0.25rem;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}
.lista-itens {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0.5rem;
}
.lista-itens:last-child {
	margin-bottom: 0;
}
.lista-itens li {
	font-size: 0.81rem;
	color: #495057;
	margin-bottom: 0.35rem;
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	line-height: 1.35;
}
.lista-itens li i {
	font-size: 0.72rem;
	margin-top: 3px;
	flex-shrink: 0;
}
.lista-itens li i.icon-ok {
	color: #198754;
}
.lista-itens li i.icon-warn {
	color: #dc3545;
}
.lista-itens li i.icon-info {
	color: #0d6efd;
}

/* Alerta de automaÃ§Ã£o â€” topo do checklist */
.aquecedor-alert-auto {
	background: #eef2ff;
	color: #1e40af;
}

/* ========== Modo escuro â€” infogrÃ¡fico aquecedor de chip ========== */
body.dark-theme .infografico-container {
	background: #1a1f2e;
	border-color: #2d3548;
}

body.dark-theme .infografico-card.passo-1 {
	background: linear-gradient(160deg, rgba(25, 135, 84, 0.18) 0%, #1e2433 58%);
	border-color: rgba(34, 197, 94, 0.42);
}

body.dark-theme .infografico-card.passo-2 {
	background: linear-gradient(160deg, rgba(13, 110, 253, 0.18) 0%, #1e2433 58%);
	border-color: rgba(59, 130, 246, 0.42);
}

body.dark-theme .infografico-card.passo-3 {
	background: linear-gradient(160deg, rgba(253, 126, 20, 0.18) 0%, #1e2433 58%);
	border-color: rgba(245, 158, 11, 0.42);
}

body.dark-theme .infografico-card:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

body.dark-theme .infografico-card .subtitulo-passo {
	color: #e8edf5;
}

body.dark-theme .infografico-card .objetivo-passo {
	color: #94a3b8;
}

body.dark-theme .infografico-card .lista-itens li {
	color: #cbd5e1;
}

body.dark-theme .infografico-card.passo-1 .secao-titulo {
	color: #4ade80;
}

body.dark-theme .infografico-card.passo-2 .secao-titulo {
	color: #60a5fa;
}

body.dark-theme .infografico-card.passo-3 .secao-titulo {
	color: #fb923c;
}

body.dark-theme .infografico-card .lista-itens li i.icon-ok {
	color: #4ade80;
}

body.dark-theme .infografico-card .lista-itens li i.icon-info {
	color: #60a5fa;
}

body.dark-theme .infografico-card .lista-itens li i.icon-warn {
	color: #f87171;
}

body.dark-theme .aquecedor-alert-auto {
	background: rgba(59, 130, 246, 0.14) !important;
	color: #bfdbfe !important;
	border: 1px solid rgba(59, 130, 246, 0.28) !important;
}

body.dark-theme .aquecedor-alert-auto .text-primary {
	color: #93c5fd !important;
}

body.dark-theme .aquecedor-rodape-aviso {
	background: linear-gradient(135deg, rgba(251, 191, 36, 0.14) 0%, rgba(245, 158, 11, 0.08) 100%);
	border-color: rgba(251, 191, 36, 0.35);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.dark-theme .aquecedor-rodape-titulo {
	color: #fcd34d;
}

body.dark-theme .aquecedor-rodape-item {
	color: #e2e8f0;
}

body.dark-theme .aquecedor-rodape-divider {
	border-color: #f59e0b;
}

/* Yellow Warning Footer Bar - Semelhante ao do infogrÃ¡fico */
.aquecedor-rodape-aviso {
	background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
	border: 1px solid #fde68a;
	border-radius: 50px;
	padding: 0.5rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	box-shadow: 0 4px 12px rgba(251, 191, 36, 0.05);
	margin-top: 0.75rem;
}
.aquecedor-rodape-titulo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #78350f;
	font-weight: 800;
	font-size: 0.88rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	flex-shrink: 0;
}
.aquecedor-rodape-titulo i {
	font-size: 1.1rem;
	color: #d97706;
}
.aquecedor-rodape-divider {
	width: 1px;
	height: 24px;
	border-right: 1px dashed #d97706;
	opacity: 0.35;
	flex-shrink: 0;
}
.aquecedor-rodape-item {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.78rem;
	color: #451a03;
	font-weight: 600;
}
.aquecedor-rodape-item i {
	font-size: 0.9rem;
	flex-shrink: 0;
}
.aquecedor-rodape-item i.text-success {
	color: #059669 !important;
}
.aquecedor-rodape-item i.text-danger {
	color: #dc2626 !important;
}
.aquecedor-rodape-item i.text-warning {
	color: #d97706 !important;
}

@media (max-width: 1200px) {
	.aquecedor-rodape-aviso {
		border-radius: 20px;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
		padding: 1rem 1.25rem;
	}
	.aquecedor-rodape-divider {
		display: none;
	}
	.aquecedor-rodape-titulo {
		border-bottom: 1px solid rgba(217, 119, 6, 0.15);
		width: 100%;
		padding-bottom: 0.4rem;
		margin-bottom: 0.15rem;
	}
}

/* Custom Premium Buttons inside Chip Heater card footer */
.card-aquecedor .card-footer {
	background: #fafbfc !important;
	border-top: 1px solid #f1f3f5 !important;
	padding: 0.5rem 0.75rem !important;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.4rem !important;
}

.card-aquecedor .card-footer .btn {
	flex: 1;
	border: none !important;
	font-weight: 600 !important;
	font-size: 0.78rem !important;
	padding: 0.45rem 0.55rem !important;
	border-radius: 8px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.3rem !important;
	transition: all 0.2s ease-in-out !important;
	box-shadow: none !important;
}

/* Pausar/Iniciar status Ativo/Inativo */
.card-aquecedor .card-footer .btn.btn-outline-success {
	background-color: #d1f7e3 !important;
	color: #0f5132 !important;
}
.card-aquecedor .card-footer .btn.btn-outline-success:hover {
	background-color: #198754 !important;
	color: #ffffff !important;
}

.card-aquecedor .card-footer .btn.btn-outline-warning {
	background-color: #fff3cd !important;
	color: #664d03 !important;
}
.card-aquecedor .card-footer .btn.btn-outline-warning:hover {
	background-color: #ffc107 !important;
	color: #000000 !important;
}

/* Editar */
.card-aquecedor .card-footer .btn.btn-outline-primary {
	background-color: #cfe2ff !important;
	color: #084298 !important;
}
.card-aquecedor .card-footer .btn.btn-outline-primary:hover {
	background-color: #0d6efd !important;
	color: #ffffff !important;
}

/* Excluir */
.card-aquecedor .card-footer .btn.btn-outline-danger {
	background-color: #f8d7da !important;
	color: #842029 !important;
}
.card-aquecedor .card-footer .btn.btn-outline-danger:hover {
	background-color: #dc3545 !important;
	color: #ffffff !important;
}

/* Aquecedor — ajustes mobile */
.aquecedor-modelo-img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Espaço apertado entre cards e roteiros */
.aquecedor-lista-area {
	margin-top: 0.5rem;
}

.aquecedor-lista-area #listar {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.aquecedor-lista-area #listar #contenedor-cards {
	margin-bottom: 0 !important;
}

.aquecedor-lista-area #listar .card-aquecedor {
	margin-bottom: 0 !important;
}

.aquecedor-lista-area #listar_dialogos {
	margin-top: 0.5rem !important;
}

@media (max-width: 767px) {
	.aquecedor-tips-title {
		font-size: 1.05rem;
		line-height: 1.35;
	}

	.aquecedor-alert-auto {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 0.5rem;
	}

	.aquecedor-alert-auto .fa-2x {
		font-size: 1.4em;
		margin-right: 0 !important;
	}

	.card-aquecedor .card-footer {
		flex-wrap: nowrap !important;
		gap: 0.35rem !important;
	}

	.card-aquecedor .card-footer .btn {
		font-size: 0.72rem !important;
		padding: 0.4rem 0.35rem !important;
		min-width: 0;
	}

	.card-aquecedor .card-footer .btn span {
		white-space: nowrap;
	}

	.aquecedor-roteiros-card .table-responsive {
		-webkit-overflow-scrolling: touch;
	}

	.header-passo {
		flex-wrap: wrap;
	}

	#modalForm .modal-footer,
	#modalImportarDialogos .modal-footer {
		flex-wrap: wrap;
		gap: 0.5rem;
	}

	#modalForm .modal-footer .btn,
	#modalImportarDialogos .modal-footer .btn {
		flex: 1 1 auto;
	}
}

@media (max-width: 380px) {
	/* Telas bem estreitas: só ícone nos botões do card */
	.card-aquecedor .card-footer .btn span {
		display: none;
	}

	.card-aquecedor .card-footer .btn {
		padding: 0.45rem 0.4rem !important;
	}
}

/* ---------- Checkbox circular — marcar concluída (global: painel, SaaS, etc.)
   Pendente: círculo vazio, borda verde, fundo verde claro
   Concluído: círculo verde sólido com ✓ branco (só quando :checked) ---------- */
.chk-marcar-concluida {
	appearance: none;
	-webkit-appearance: none;
	width: 22px;
	height: 22px;
	min-width: 22px;
	margin: 0;
	padding: 0;
	border: 2px solid #22c55e;
	border-radius: 50%;
	background-color: #f0fdf4;
	cursor: pointer;
	flex-shrink: 0;
	position: relative;
	display: inline-block;
	vertical-align: middle;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
	box-shadow: none;
}

.chk-marcar-concluida:hover:not(:disabled):not(:checked) {
	background-color: #dcfce7;
	transform: scale(1.04);
}

.chk-marcar-concluida:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.28);
}

/* âœ“ sÃ³ aparece quando marcado / concluindo */
.chk-marcar-concluida:checked,
.chk-marcar-concluida.marcando-concluida {
	background-color: #22c55e;
	border-color: #22c55e;
}

.chk-marcar-concluida:checked::after,
.chk-marcar-concluida.marcando-concluida::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 45%;
	width: 4px;
	height: 8px;
	border: solid #fff;
	border-width: 0 2.5px 2.5px 0;
	transform: translate(-50%, -50%) rotate(45deg);
}

.chk-marcar-concluida:disabled {
	opacity: 0.65;
	cursor: wait;
	transform: none;
}

.chk-marcar-concluida-sm {
	width: 20px;
	height: 20px;
	min-width: 20px;
}

.chk-marcar-concluida-sm:checked::after,
.chk-marcar-concluida-sm.marcando-concluida::after {
	width: 3px;
	height: 6px;
	border-width: 0 2px 2px 0;
	top: 46%;
}

/* Wrappers para centralizar na cÃ©lula ou no card */
.form-check-concluir,
.wrap-btn-marcar-concluida {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
}

/* ---------- PaginaÃ§Ã£o numÃ©rica â€” painel + SaaS ---------- */
.main-body .paginacao-assis .paginacao-assis-btn.btn {
	width: 32px;
	height: 32px;
	min-width: 32px;
	padding: 0 !important;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* PÃ¡gina selecionada: fundo preenchido + texto branco (evita nÃºmero invisÃ­vel) */
.main-body .paginacao-assis .paginacao-assis-btn.btn.active,
.main-body .paginacao-assis .paginacao-assis-btn.btn-outline-primary.active {
	background: var(--template1, #0d6efd) !important;
	border-color: var(--template1, #0d6efd) !important;
	color: #fff !important;
}

.main-body .paginacao-assis .paginacao-assis-btn.btn i {
	margin: 0;
	line-height: 1;
}

/* ========== Tablet (~992–1199): menu estreito + header sem estourar ========== */
@media (min-width: 992px) and (max-width: 1199.98px) {
	/* Evita barra horizontal / conteúdo cortado à direita */
	html,
	body.app {
		overflow-x: hidden !important;
		max-width: 100vw;
	}

	/* Força menu só com ícones (igual sidenav-toggled) — CSS, sem depender do JS */
	.app.sidebar-mini .app-sidebar {
		width: 80px !important;
	}

	.app.sidebar-mini .main-sidebar-header {
		width: 80px !important;
	}

	.app.sidebar-mini .main-sidebar-header .header-logo .desktop-logo,
	.app.sidebar-mini .main-sidebar-header .header-logo .desktop-dark {
		display: none !important;
	}

	.app.sidebar-mini .main-sidebar-header .header-logo .mobile-logo {
		display: block !important;
	}

	.app.sidebar-mini .side-menu__label,
	.app.sidebar-mini .side-menu .side-menu__angle,
	.app.sidebar-mini .side-badge,
	.app.sidebar-mini .slide-menu {
		display: none !important;
	}

	.app.sidebar-mini .main-header,
	.app.sidebar-mini .main-header.side-header {
		padding-left: 80px !important;
		width: 100% !important;
		max-width: 100vw !important;
		box-sizing: border-box !important;
	}

	.app.sidebar-mini .app-content,
	.app.sidebar-mini .main-content.app-content {
		margin-left: 80px !important;
		max-width: calc(100vw - 80px) !important;
		box-sizing: border-box !important;
		overflow-x: hidden;
	}

	.app-content .side-app {
		padding-left: 14px !important;
		padding-right: 14px !important;
	}

	.main-header.side-header {
		height: 60px;
	}

	.main-header > .main-container.container-fluid {
		flex-wrap: nowrap !important;
		align-items: center !important;
		min-width: 0;
		height: 100%;
		max-width: 100%;
		padding-right: 8px !important;
	}

	.main-header-left {
		flex: 0 0 auto;
		min-width: 0;
		max-width: 20%;
	}

	.main-header-right {
		flex: 1 1 auto;
		min-width: 0;
		justify-content: flex-end;
		display: flex;
		align-items: center;
		overflow: hidden;
	}

	.main-header-right .responsive-navbar.navbar {
		top: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		width: auto;
		max-width: 100%;
		flex: 1 1 auto;
		justify-content: flex-end;
	}

	.main-header-right #navbarSupportedContent-4 {
		display: flex !important;
		justify-content: flex-end;
		min-width: 0;
		width: 100%;
	}

	.main-header-right .header-icons.navbar-nav-right {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: flex-end;
		margin: 0 !important;
		padding: 0 !important;
		gap: 2px;
		width: 100%;
		min-width: 0;
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: none;
	}

	.main-header-right .header-icons.navbar-nav-right::-webkit-scrollbar {
		display: none;
	}

	.main-header-right .header-icons > .nav-item,
	.main-header-right .header-icons > li,
	.main-header-right .header-icons > a {
		flex-shrink: 0;
	}

	/* Ícones compactos (tema usa margin 10px e estoura nessa largura) */
	.responsive-navbar.navbar .new.nav-link,
	.header-icons .new.nav-link,
	.header-icons a.nav-link:not(.profile-user),
	.header-icons a.nav-item:not(.profile-user),
	.header-icons .nav-item > a:not(.profile-user) {
		padding: 4px !important;
		margin: 0 2px !important;
		height: 36px !important;
		width: 36px !important;
		min-width: 36px !important;
		line-height: 1 !important;
		box-sizing: border-box !important;
	}

	.main-profile-menu.nav.nav-item.nav-link {
		padding: 0 !important;
		margin: 0 0 0 4px !important;
		margin-left: auto !important;
		line-height: 1;
		order: 99;
	}

	.main-profile-menu .profile-user {
		padding: 0 !important;
		margin: 0 !important;
		height: auto !important;
		width: auto !important;
		min-width: 0 !important;
	}

	.main-profile-menu .profile-user img {
		width: 34px !important;
		height: 34px !important;
		max-width: 34px !important;
		object-fit: cover !important;
		border-radius: 50% !important;
	}

	.header-icons .header-badge {
		transform: scale(0.9);
		transform-origin: top right;
	}

	/* Cards da home: 2 por linha, altura uniforme (detalhe em css/cards.css) */
	.home-kpi-cards {
		max-width: 100%;
		--bs-gutter-x: 0.5rem;
		--bs-gutter-y: 0.5rem;
	}
}

/* ========== Header mobile: ícones na mesma linha (não caem pra fora) ========== */
@media (max-width: 991.98px) {
	.main-header.side-header {
		height: 56px;
	}

	.main-header > .main-container.container-fluid {
		flex-wrap: nowrap !important;
		align-items: center !important;
		min-width: 0;
		height: 100%;
		padding-left: 6px !important;
		padding-right: 6px !important;
	}

	.main-header-left {
		flex: 0 1 auto;
		min-width: 0;
		max-width: 45%;
	}

	.main-header-left .d-lg-none img {
		max-height: 18px;
		width: auto;
	}

	.main-header-right {
		flex: 1 1 auto;
		min-width: 0;
		justify-content: flex-end;
		display: flex;
		align-items: center;
	}

	.main-header-right .responsive-navbar.navbar {
		top: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		width: auto;
		max-width: 100%;
		flex: 1 1 auto;
		justify-content: flex-end;
	}

	.main-header-right #navbarSupportedContent-4 {
		display: flex !important;
		justify-content: flex-end;
		min-width: 0;
		width: 100%;
	}

	.main-header-right .header-icons.navbar-nav-right {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: flex-end;
		margin: 0 !important;
		padding: 0 !important;
		gap: 0;
		width: 100%;
		min-width: 0;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.main-header-right .header-icons.navbar-nav-right::-webkit-scrollbar {
		display: none;
	}

	.main-header-right .header-icons > .nav-item,
	.main-header-right .header-icons > li,
	.main-header-right .header-icons > a {
		flex-shrink: 0;
	}

	/* Anula margin 10px do tema + padding largo dos ícones */
	.responsive-navbar.navbar .new.nav-link,
	.header-icons .new.nav-link,
	.header-icons a.nav-link:not(.profile-user),
	.header-icons a.nav-item:not(.profile-user),
	.header-icons .nav-item > a:not(.profile-user) {
		padding: 4px !important;
		margin: 0 1px !important;
		height: 34px !important;
		width: 34px !important;
		min-width: 34px !important;
		line-height: 1 !important;
		box-sizing: border-box !important;
	}

	.main-profile-menu.nav.nav-item.nav-link {
		padding: 0 !important;
		margin: 0 0 0 2px !important;
		line-height: 1;
	}

	.main-profile-menu .profile-user {
		padding: 0 !important;
		margin: 0 !important;
		height: auto !important;
		width: auto !important;
		min-width: 0 !important;
	}

	.main-profile-menu .profile-user img {
		width: 32px !important;
		height: 32px !important;
		object-fit: cover;
	}

	.header-icons .header-badge {
		transform: scale(0.85);
		transform-origin: top right;
	}
}

/* Telas bem estreitas: esconde troca de tema para caber */
@media (max-width: 400px) {
	.main-header-right .header-icons .theme-layout {
		display: none !important;
	}

	.main-header-left {
		max-width: 38%;
	}

	.responsive-navbar.navbar .new.nav-link,
	.header-icons a.nav-link:not(.profile-user),
	.header-icons .nav-item > a:not(.profile-user) {
		width: 30px !important;
		min-width: 30px !important;
		height: 30px !important;
		margin: 0 !important;
		padding: 2px !important;
	}
}
