html,
body {
	/* height: 100% !important; */
}

body {
	margin: 0;
	border: 0;
	padding: 0;
	color: #696969;
	font-weight: normal;
	background-size: cover !important;
}

a {
	text-decoration: none !important;
}

.topo {
	color: #ffffff !important;
	padding-left: 0 !important;
	position: fixed;
	z-index: 100;
	width: 100%;
	height: 58px !important;
}

.menu {
	background-color: #183664;
	overflow-y: auto;
	top: 58px !important;
	padding-bottom: 46px !important; /* respiro p/ o .sb-rodape fixo */
}

.conteudo {
	top: 58px !important;
}

@media (min-width: 992px) {
	.menu {
		position: fixed !important;
		bottom: 0 !important;
		top: 58px !important;
	}
}

@media (min-width: 992px) {
	.conteudo {
		left: 16.66666667% !important;
	}
}

.ui-layout-unit-content {
	background: transparent !important;
}

.ui-tds-layout-center {
	background: transparent !important;
	margin-top: -4px !important;
	border: none !important;
}

.ui-tds-layout-north {
	background: transparent !important;
	border-radius: 0px !important;
	border: 0px !important;
}

.ui-tds-panel-botoes {
	background: transparent !important;
	padding: 6px;
	padding-left: 0px;
}

.ui-tds-panel-botoes .ui-button {
	margin-left: 0px;
	margin-right: 6px !important;
}

.ui-widget,
.ui-widget .ui-widget {
	font-size: 12px !important;
	font-family: Verdana, Arial, sans-serif !important;
}

.ui-widget-content {
	font-size: 11px !important;
}

.ui-tds-panel-conteudo {
	padding-bottom: 30px !important;
	margin-bottom: 5px !important;
}

.ui-tds-component-panel tr td {
	padding: 3px 0px 3px 15px;
}

.ui-tds-component-panel tr td:first-child {
	padding-left: 0px;
}

.ui-picklist-list {
	background: white !important;
	box-shadow: 0 2px 2px #8f8f8f inset !important;
	border: 1px solid #aed0ea !important;
}

.form-block {
	font-size: 98% !important;
	clear: both;
	padding: 5px;
}

.form-block div {
	float: left;
}

.form-label-column {
	min-width: 120px;
	font-weight: bold;
	font-size: 11px;
}

.form-input-column {
	width: auto;
}

.form-required-column {
	width: 20px;
	font-weight: bold;
	color: red;
}

div.ui-selectcheckboxmenu {
	margin-top: 10px !important;
}

table.ui-selectcheckboxmenu td {
	padding-right: 5px !important;
}

.form-label-anexo-column {
	margin-top: 5px !important;
	padding: 2px;
}

.form-anexo-upload-column {
	margin-top: 5px !important;
}

.ui-panel-title {
	font-size: 12px !important;
	padding-bottom: 2px;
}

input,
textarea {
	font-weight: normal !important;
	text-transform: uppercase !important;
}

.ui-corner-all {
}

.ui-inputfield {
	border-box: none !important;
	-webkit-box-shadow: none !important;
	-webkit-box-shadow: inset 0 2px 2px #dfdfdf;
}

.ui-selectonemenu-trigger {
	border: 1px solid #aed0ea !important;
	padding: 0px 0px 0px 0px !important;
}

#rastroForm {
	margin-top: 8px !important;
}

.ui-state-hover {
	font-weight: normal !important;
}

.ui-button {
	font-weight: bold !important;
}

.ui-panel-titlebar {
	padding: 0.5em 1em 0.5em !important;
	border: none !important;
}

.ui-widget-header {
	border: none !important;
}

.ui-clock {
	background: none !important;
}

.ui-layout-unit-header {
	border: none !important;
}

.ui-menuitem-link {
	text-decoration: none !important;
}

#menuForm_menu {
	width: 100% !important;
}

#menuForm_menu_tabView_panelMenu {
	width: 100% !important;
}

#menuForm_menu_tabView_tabMain {
	padding: 0px !important;
}

.box-info {
	/* posi��o */
	position: fixed;
	top: 2px;
	right: 5px;
	padding: 5px;

	/* cor */
	position: fixed;
	background-color: rgba(0, 0, 0, 0.6);
	/*opacity: 0.6;*/
}

.header-userinfo-title {
	min-width: 75px;
	color: white;
	display: inline-block;
	font-weight: bold;
	text-shadow: black 1px 1px 1px;
}

.header-userinfo-value {
	color: white;
	text-shadow: black 1px 1px 1px;
}
.campo-medio {
	width: 300px !important;
}
.campo-pequeno {
	width: 61px !important;
}
.combo-medio {
	width: 180px !important;
}

.combo-pequeno {
	width: 100px !important;
}

.info-panel-grid tr {
	height: 30px;
}

.info-panel-grid {
	width: 100%;
}

.dialog-content {
	padding-top: 10px;
	padding-bottom: 20px;
}

.ui-icon-bio {
	background-image: url("/sigepen/javax.faces.resource/icons/bio.png.xhtml") !important;
}

.ui-panel-footer {
	text-align: right !important;
}

.ui-state-highlight .ui-icon {
	background-image: url("/sigepen/javax.faces.resource/images/ui-icons_ffffff_256x240.png.xhtml?ln=primefaces-home") !important;
}

.ui-dash-panel {
	margin: 0px 10px 10px 0px;
	width: 280px;
	height: 140px;
}

.ui-dash-text-panel-40 {
	color: #fff;
	font-size: 40px;
}

.ui-dash-text-panel-20 {
	font-size: 20px;
	color: #fff;
}

.ui-dash-text-panel-18 {
	font-size: 18px;
	color: #fff;
}

.ui-state-active .ui-icon {
	margin-left: -1px;
	margin-top: -1px;
}

.tr-line {
	border-bottom-color: #cccccc;
	border-bottom-style: solid;
	border-bottom-width: thin;
	margin-bottom: 10px;
}

.left-aligned {
	text-align: left !important;
}
/* ===================================================================
   Sidebar repaginada. Tudo escopado em .menu. PrimeFaces 5.2.1 + tema
   "home" (jQuery UI): o !important e necessario p/ vencer o tema.
   Paleta: base navy #183664 / conteudo #1f4374, acento dourado #e9b949.
   =================================================================== */

/* zera padding da coluna Bootstrap; 6px lateral no panelmenu */
.menu {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.menu form,
.menu .ui-panelmenu-content,
.menu .ui-menu-list,
.menu .ui-menuitem {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
}
.menu .ui-panelmenu {
	margin: 0 !important;
	padding: 4px 6px !important;
	width: 100% !important;
	box-sizing: border-box !important;
}
.menu .ui-menu-list {
	list-style: none !important;
}
.menu .ui-panelmenu-header {
	margin: 0 !important;
}

/* fonte de sistema (Segoe UI) p/ ter peso 500/600 reais sem webfont -
   a Verdana herdada so tinha 400/700. Hierarquia parent x item usa weight. */
.menu .ui-panelmenu,
.menu .ui-panelmenu-header > a,
.menu .ui-menuitem-link {
	font-family: "Segoe UI Variable Text", "Segoe UI", system-ui,
		-apple-system, "Helvetica Neue", Arial, sans-serif !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* anti-clipping: o tema herda text-indent/overflow que corta icone e 1a letra */
.menu .ui-panelmenu-content,
.menu .ui-menu-list,
.menu .ui-menuitem,
.menu .ui-menuitem-link {
	overflow: visible !important;
	text-indent: 0 !important;
}

/* base navy */
.menu .ui-panelmenu,
.menu .ui-panelmenu .ui-menu-list {
	background: transparent !important;
	border: none !important;
}
.menu .ui-panelmenu-content {
	background: #1f4374 !important;
	border: none !important;
	/* overflow:hidden e obrigatorio: sem ele os filhos vazam durante o
	   slideUp (fechar) do PF, que anima a altura do content. */
	border-radius: 0 0 3px 3px !important;
	overflow: hidden !important;
}

/* achata os gradientes cinza do header (tema home) */
.menu .ui-panelmenu-header,
.menu .ui-panelmenu-header > a {
	background: #183664 !important;
	background-image: none !important;
	border: none !important;
	border-radius: 3px !important;
	box-shadow: none !important;
}

/* grupos separados so por respiro + canto (sem divisoria) */
.menu .ui-panelmenu-header {
	margin: 4px 0 0 0 !important;
	position: relative !important; /* ancora a regua vermelha (::before) */
}

/* zera borda/outline do jQuery UI em todos os estados */
.menu .ui-panelmenu-header > a,
.menu .ui-panelmenu-header.ui-state-active > a,
.menu .ui-panelmenu-header.ui-state-hover > a,
.menu .ui-panelmenu-header > a:hover,
.menu .ui-panelmenu-header > a:focus,
.menu .ui-menuitem-link,
.menu .ui-menuitem-link:hover,
.menu .ui-menuitem-link:focus,
.menu a:focus {
	border: 0 !important;
	outline: 0 !important;
}

/* esconde o triangulo nativo do jQuery UI (a indicacao aberto/fechado
   e o chevron ::after, mais abaixo) */
.menu .ui-panelmenu-header > a > .ui-panelmenu-icon,
.menu .ui-panelmenu-header > .ui-icon {
	display: none !important;
}

/* No PF 5.2.1 o icon="fa..." do p:submenu vira sprite jQuery vazio (nao
   renderiza o glifo). Escondemos o sprite e desenhamos o icone via
   ::before/FontAwesome, com glifo por grupo (classes sb-grp-* abaixo). */
.menu .ui-panelmenu-header > a > .ui-icon:not(.ui-panelmenu-icon) {
	display: none !important;
}
.menu .ui-panelmenu-header > a::before {
	font-family: FontAwesome;
	font-weight: normal !important; /* senao o weight 600 do <a> faux-bold no glifo */
	font-size: 13.5px;
	line-height: 1;
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	text-align: center;
	color: rgba(255, 255, 255, 0.55);
	content: "\f0c9"; /* fallback: fa-bars */
}
.menu .ui-panelmenu-header.ui-state-active > a::before,
.menu .ui-panelmenu-header > a:hover::before {
	color: rgba(255, 255, 255, 0.92);
}
/* label do parent acompanha a cor do icone (idle .55 / ativo-hover .92) */
.menu .ui-panelmenu-header.ui-state-active > a,
.menu .ui-panelmenu-header > a:hover {
	color: rgba(255, 255, 255, 0.92) !important;
}
/* glifo por grupo (FontAwesome 4). IMPORTANTE: no PF 5.2.1 o styleClass
   do p:submenu cai no wrapper div.ui-panelmenu-panel, NAO no header -
   por isso o seletor e descendente (.sb-grp-x .ui-panelmenu-header > a),
   nao filho direto. Nao "corrigir" p/ filho direto: quebra os icones. */
.menu .sb-grp-tabelas       .ui-panelmenu-header > a::before { content: "\f0ce"; } /* table     */
.menu .sb-grp-recuperando   .ui-panelmenu-header > a::before { content: "\f183"; } /* male      */
.menu .sb-grp-relatorios    .ui-panelmenu-header > a::before { content: "\f080"; } /* bar-chart */
.menu .sb-grp-visita        .ui-panelmenu-header > a::before { content: "\f0c0"; } /* users     */
.menu .sb-grp-movimentacoes .ui-panelmenu-header > a::before { content: "\f0ec"; } /* exchange  */
.menu .sb-grp-alimentacao   .ui-panelmenu-header > a::before { content: "\f0f5"; } /* cutlery   */
.menu .sb-grp-plantao       .ui-panelmenu-header > a::before { content: "\f017"; } /* clock-o   */
.menu .sb-grp-auditoria     .ui-panelmenu-header > a::before { content: "\f1da"; } /* history   */
.menu .sb-grp-acesso        .ui-panelmenu-header > a::before { content: "\f023"; } /* lock      */
.menu .sb-grp-usuario       .ui-panelmenu-header > a::before { content: "\f007"; } /* user      */
.menu .sb-grp-admin         .ui-panelmenu-header > a::before { content: "\f085"; } /* cogs      */

/* Dashboard: link direto (fora do panelMenu), silhueta de parent mas
   cor ambar p/ marcar que e a home, nao um grupo. Sem chevron. */
.menu .sb-dashboard {
	display: block;
	position: relative;
	margin: 4px 6px 0 6px;
	padding: 13px 16px 13px 38px;
	border-radius: 3px;
	color: rgba(255, 255, 255, 0.55) !important; /* padrao branco dos parents */
	font-weight: 600;
	font-size: 13.5px;
	letter-spacing: 0.005em;
	text-decoration: none !important;
	transition: background-color 0.18s ease, color 0.18s ease;
}
.menu .sb-dashboard .fa {
	position: absolute;
	font-weight: normal !important; /* .sb-dashboard e 600; evita faux-bold */
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	text-align: center;
	font-size: 13.5px;
	line-height: 1;
	color: rgba(255, 255, 255, 0.55);
}
.menu .sb-dashboard:hover {
	background: rgba(255, 255, 255, 0.06) !important; /* wash branco sutil */
	color: rgba(255, 255, 255, 0.92) !important;
}
.menu .sb-dashboard:hover .fa {
	color: rgba(255, 255, 255, 0.92);
}
.menu .sb-dashboard.sb-dashboard-ativo {
	background: rgba(233, 185, 73, 0.16) !important; /* ativo = dourado (igual child ativo) */
	color: #e9b949 !important;
}
.menu .sb-dashboard.sb-dashboard-ativo .fa {
	color: #e9b949;
}
.menu .sb-dashboard.sb-dashboard-ativo::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	border-radius: 3px 0 0 3px; /* acompanha o raio do chip */
	background: #e9b949;
}

/* cabecalho do grupo (parent) */
.menu .ui-panelmenu-header > a {
	display: block;
	position: relative;
	color: rgba(255, 255, 255, 0.55) !important;
	text-transform: none;
	letter-spacing: 0.005em;
	font-weight: 600;
	font-size: 13.5px;
	border-radius: 3px !important;
	padding: 13px 34px 13px 38px !important;
	transition:
		background-color 0.18s ease,
		color 0.18s ease;
}

/* itens do grupo (filhos) */
.menu .ui-menuitem-link {
	display: block;
	position: relative;
	color: rgba(255, 255, 255, 0.55) !important;
	font-size: 13px;
	font-weight: 500;
	border-radius: 3px !important;
	padding: 9px 14px 9px 38px !important;
	transition:
		background-color 0.15s ease,
		color 0.15s ease;
}
.menu .ui-menuitem-link .ui-menuitem-icon {
	/* o tema posiciona o icone absolute; left:13px alinha esta coluna
	   com o ::before do grupo pai (left:12px). texto comeca em 38px. */
	left: 13px !important;
	top: 50% !important;
	transform: translateY(-50%);
	width: 18px;
	text-align: center;
	text-indent: 0 !important;
	font-weight: normal !important; /* nao herdar o 500 do link (faux-bold) */
	color: inherit !important;
}

/* hover do grupo */
.menu .ui-panelmenu-header:not(.ui-state-active) > a:hover {
	background: rgba(255, 255, 255, 0.06) !important;
}
/* hover do filho igual ao do grupo. O PF aplica .ui-state-hover
   (gradiente glossy + box-shadow) via JS no <li>/<a> - precisa achatar
   essas variantes, nao so o :hover do <a>. */
.menu .ui-menuitem.ui-state-hover,
.menu .ui-menuitem-link.ui-state-hover,
.menu .ui-menuitem-link:hover,
.menu .ui-menuitem-link:focus {
	background: rgba(255, 255, 255, 0.06) !important;
	background-image: none !important;
	box-shadow: none !important;
	color: rgba(255, 255, 255, 0.92) !important;
}

/* grupo aberto: realce + canto so no topo p/ fundir com o conteudo */
.menu .ui-panelmenu-header.ui-state-active > a {
	background: #1d406f !important;
	border-radius: 3px 3px 0 0 !important;
}
/* regua vermelha do grupo aberto. Vai no ::before do HEADER porque no
   <a> o ::before e o icone e o ::after e o chevron (ambos ocupados).
   z-index:1 p/ ficar acima do fundo do <a>. */
.menu .ui-panelmenu-header.ui-state-active::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	border-radius: 3px 0 0 3px;
	background: #e9b949;
	z-index: 1;
}

/* regua vermelha do item: cresce no hover, fixa no item ativo */
.menu .ui-menuitem-link::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: #e9b949;
	transform: scaleY(0);
	transform-origin: center;
	transition: transform 0.22s ease;
}
.menu .ui-menuitem-link:hover::before,
.menu .sb-item-ativo > .ui-menuitem-link::before {
	transform: scaleY(1);
}

/* item da rota ativa */
.menu .sb-item-ativo > .ui-menuitem-link {
	background: rgba(233, 185, 73, 0.18) !important; /* mesmo dourado da unidade */
	color: #ffffff !important;
}

/* chevron proprio (::after do <a>). Fechado aponta p/ direita;
   .ui-state-active gira p/ baixo. (O sprite nativo ja foi escondido.) */
.menu .ui-panelmenu-header > a::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid rgba(255, 255, 255, 0.55);
	border-bottom: 1.5px solid rgba(255, 255, 255, 0.55);
	transform: translateY(-65%) rotate(-45deg);
	transition:
		transform 0.22s ease,
		border-color 0.18s ease;
}
.menu .ui-panelmenu-header > a:hover::after {
	border-color: rgba(255, 255, 255, 0.7);
}
.menu .ui-panelmenu-header.ui-state-active > a::after {
	transform: translateY(-50%) rotate(45deg);
	border-color: rgba(255, 255, 255, 0.85);
}

/* scrollbar discreta */
.menu {
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}
.menu::-webkit-scrollbar {
	width: 8px;
}
.menu::-webkit-scrollbar-track {
	background: transparent;
}
.menu::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.16);
	border-radius: 4px;
}
.menu::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.28);
}

/* ===================================================================
   Topbar repaginada — harmoniza com a sidebar (mesma paleta navy
   #183664 / acento dourado #e9b949, Segoe UI, raio 3px).
   Layout: logo grande em bloco acima da sidebar (.topo-brand) +
   barra enxuta sobre o conteudo (.topo-bar). Altura unica 58px.
   =================================================================== */

.topo-brand,
.topo-bar {
	height: 58px !important;
	background: #183664 !important;
	box-sizing: border-box;
}

.topo-brand {
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 6px 10px !important;
}
.topo-brand .topo-logo {
	max-height: 42px;
	width: auto;
	display: block;
}

.topo-bar {
	display: flex !important;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
	white-space: nowrap;
	gap: 14px;
	padding: 0 18px !important;
	color: #fff;
	font-family: "Segoe UI Variable Text", "Segoe UI", system-ui,
		-apple-system, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
/* caixa fixa + inline-flex em cada item; conteudo interno tambem
   inline-flex com height:100% — necessario p/ casar baseline do
   <label> do p:outputLabel com o no de texto cru do .tb-user */
.topo-bar > .tb-unidade,
.topo-bar > .tb-user,
.topo-bar > .tb-sair {
	display: inline-flex !important;
	align-items: center;
	align-self: center;
	height: 28px;
	line-height: 1 !important;
	margin: 0 !important;
}
.topo-bar .tb-unidade label,
.topo-bar .tb-unidade .ui-outputlabel {
	display: inline-flex !important;
	align-items: center;
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
	cursor: pointer;
}
.topo-bar .fa {
	display: inline-flex !important;
	align-items: center;
	height: 100%;
	margin-right: 7px;
	line-height: 1;
	opacity: 0.85;
}

/* unidade: mesmo font-size do .tb-user p/ baselines coincidirem */
.topo-bar .tb-unidade,
.topo-bar .tb-unidade:link,
.topo-bar .tb-unidade:visited {
	color: #e9b949 !important;
	font-weight: 600;
	font-size: 13px !important;
	text-decoration: none !important;
	transition: opacity 0.18s ease;
}
.topo-bar .tb-unidade .ui-outputlabel,
.topo-bar .tb-unidade label {
	font-size: 13px !important;
	font-weight: 600 !important;
	/* baseline do <label> fica 1px acima do no de texto cru — translate
	   compensa sem reflow (NAO remover sem testar alinhamento) */
	transform: translateY(1px);
}
.topo-bar .tb-unidade:hover {
	opacity: 0.82;
}

.topo-bar .tb-sep {
	width: 1px;
	height: 22px;
	background: rgba(255, 255, 255, 0.14);
}

.topo-bar .tb-user {
	font-weight: 500;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.92);
	white-space: nowrap;
}

.topo-bar .tb-sair,
.topo-bar .tb-sair .ui-button {
	background: transparent !important;
	background-image: none !important;
	border: 1px solid rgba(255, 255, 255, 0.16) !important;
	box-shadow: none !important;
	color: rgba(255, 255, 255, 0.82) !important;
	border-radius: 3px !important;
	padding: 4px 11px !important;
	font-size: 12.5px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	display: inline-flex !important;
	align-items: center;
	gap: 7px;
	transition: background-color 0.18s ease, border-color 0.18s ease,
		color 0.18s ease;
}
/* PF/jQuery UI poe .ui-button-icon-left em position:absolute +
   padding-left 2.1em no .ui-button-text — zeramos os dois p/ que
   o gap do flex distribua icone e texto */
.topo-bar .tb-sair .ui-button-icon-left,
.topo-bar .tb-sair .fa {
	position: static !important;
	top: auto !important;
	left: auto !important;
	margin: 0 !important;
	display: inline-flex !important;
	align-items: center;
	line-height: 1 !important;
	font-size: 13px;
	opacity: 0.9;
}
.topo-bar .tb-sair .ui-button-text {
	display: inline !important;
	padding: 0 !important;
	line-height: 1;
}
.topo-bar .tb-sair:hover,
.topo-bar .tb-sair .ui-button:hover {
	background: rgba(255, 255, 255, 0.06) !important;
	border-color: rgba(255, 255, 255, 0.32) !important;
	color: #fff !important;
}
.topo-bar .tb-sair:hover .ui-button-text,
.topo-bar .tb-sair:hover .fa {
	color: #fff !important;
	opacity: 1;
}

/* costura navy ↔ conteudo (continua no .sb-rodape, idem) */
.conteudo {
	border-left: 1px solid rgba(0, 0, 0, 0.06);
}
.menu,
.topo-brand {
	border-right: 1px solid rgba(255, 255, 255, 0.07);
}

/* ===================================================================
   Rodape da sidebar — relogio server-side legado rebaixado a status
   ambiente. Fixed bottom (sticky nao funciona em paginas sem scroll
   da sidebar, ex.: SelecionarUnidade).
   =================================================================== */
.sb-rodape {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 16.66666667%; /* col-md-2 — mesmo idiom do .conteudo (media query) */
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 16px;
	background: #173058;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	border-right: 1px solid rgba(255, 255, 255, 0.07); /* continua o divisor */
	font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
	z-index: 101; /* acima do .topo (100) e do .menu */
}
/* p:clock 5.2.1 IGNORA styleClass — renderiza sempre
   <span class="ui-clock ui-widget ui-widget-header ui-corner-all">.
   Logo, mirar .ui-clock e zerar o estilo de "header" do tema home
   (bg/borda/peso) que deixava a hora bold/clara. */
.sb-rodape .ui-clock {
	background: none !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	color: rgba(255, 255, 255, 0.55) !important; /* = texto idle da sidebar */
	font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
	font-size: 11px !important;
	font-weight: 400 !important;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}
.sb-rodape .sb-rodape-sep {
	color: rgba(255, 255, 255, 0.35);
	font-size: 13px;
	line-height: 1;
	font-weight: 400;
	user-select: none;
}
.sb-rodape .sb-rodape-versao {
	color: rgba(255, 255, 255, 0.55);
	font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
	font-size: 11px;
	font-weight: 400;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}
.sb-rodape .sb-rodape-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
	background: #2e7d32;
	box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.18);
	animation: sb-pulse 2.4s ease-in-out infinite;
}
@keyframes sb-pulse {
	0%,
	100% {
		box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.18);
		opacity: 1;
	}
	50% {
		box-shadow: 0 0 0 6px rgba(46, 125, 50, 0.06);
		opacity: 0.75;
	}
}

/* ============ DASHBOARD CARDS (PADRONIZAÇÃO DO SISTEMA) ============ */
.dash-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-bottom: 10px;
}
.dash-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-bottom: 10px;
}
@media (max-width: 1200px) {
	.dash-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 768px) {
	.dash-grid-4 {
		grid-template-columns: 1fr;
	}
}
.dash-grid-5 {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	margin-bottom: 10px;
}
@media (max-width: 1200px) {
	.dash-grid-5 {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 768px) {
	.dash-grid-5 {
		grid-template-columns: 1fr;
	}
}
.dash-grid-6 {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 12px;
	margin-bottom: 10px;
}
@media (max-width: 1200px) {
	.dash-grid-6 {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 768px) {
	.dash-grid-6 {
		grid-template-columns: 1fr;
	}
}
.dash-card {
	position: relative;
	border-radius: 5px;
	padding: 16px 18px;
	min-height: 80px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.12);
	transition: box-shadow 0.2s, transform 0.15s;
}
.dash-card:hover {
	box-shadow: 0 4px 14px rgba(0,0,0,0.22);
	transform: translateY(-2px);
}
.dash-card.active-card {
	box-shadow: 0 0 0 3px #1565c0, 0 6px 16px rgba(0,0,0,0.3) !important;
	transform: translateY(-3px);
}
.dash-card .dash-icon {
	position: absolute;
	top: 12px;
	right: 14px;
	font-size: 20px;
	color: rgba(255,255,255,0.45);
}
.dash-card .dash-number {
	display: block;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
}
.dash-card .dash-label {
	display: block;
	font-size: 14px;
	color: rgba(255,255,255,0.9);
	margin-top: 6px;
	line-height: 1.3;
}
.bg-green       { background-color: #43a047; }
.bg-green-light { background-color: #66bb6a; }
.bg-green-dark  { background-color: #2e7d32; }
.bg-blue        { background-color: #1e88e5; }
.bg-blue-dark   { background-color: #1565c0; }
.bg-orange      { background-color: #fb8c00; }
.bg-yellow      { background-color: #f9a825; }
.bg-red         { background-color: #e53935; }
.bg-red-dark    { background-color: #b71c1c; }
.bg-purple      { background-color: #7b1fa2; }
.bg-purple-dark { background-color: #4a148c; }
.percent-badge {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 12px;
	font-weight: bold;
	color: #fff !important;
}
.dash-card[title] {
	cursor: pointer;
}

/* ============ REMOVER TOOLTIP REDUNDANTE DO CALENDÁRIO ============ */
.ui-datepicker .tooltip,
.ui-datepicker .ui-tooltip,
.ui-datepicker-calendar .tooltip,
.ui-datepicker-calendar .ui-tooltip,
.form-input-column .ui-calendar + .ui-tooltip,
.form-input-column .hasDatepicker + .ui-tooltip {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
}
