/*
 * Base do layout novo do Admin (ui-v2), fase 0: tipografia, fundo e cor de texto.
 * Tudo prefixado por `html.ui-v2` para não afetar o layout clássico; o arquivo entra depois do
 * style.bundle.css, então o prefixo basta para vencer o Metronic sem `!important`.
 * Ícones (Font Awesome, Flaticon) não são tocados: a fonte só muda em texto.
 */
html.ui-v2 body {
	font-family: var(--ui-font);
	color: var(--ui-text);
	background-color: var(--ui-bg);
	background-image: var(--ui-bg-image);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
}

/* O dark-theme legado (assets/sass/dark-theme.scss) força o fundo com !important; só aqui o ui-v2 precisa responder igual. */
html.ui-v2 body.dark-theme {
	background-color: var(--ui-bg) !important;
}

html.ui-v2 body h1,
html.ui-v2 body h2,
html.ui-v2 body h3,
html.ui-v2 body h4,
html.ui-v2 body h5,
html.ui-v2 body h6,
html.ui-v2 body .btn,
html.ui-v2 body .form-control,
html.ui-v2 body .kt-portlet .kt-portlet__head .kt-portlet__head-label .kt-portlet__head-title,
html.ui-v2 body .kt-menu__link-text,
html.ui-v2 body .kt-subheader .kt-subheader__breadcrumbs .kt-subheader__breadcrumbs-link,
html.ui-v2 body table.dataTable {
	font-family: var(--ui-font);
}

html.ui-v2 body code,
html.ui-v2 body pre,
html.ui-v2 body kbd {
	font-family: var(--ui-font-mono);
}

html.ui-v2 body ::selection {
	background: var(--ui-accent-soft);
}

html.ui-v2 body :focus-visible {
	outline: none;
	box-shadow: var(--ui-focus);
}
