.requiredField {
    font-weight: bold;
}

.form-label {
    font-size: small;
}

legend {
    border-bottom: 1px solid #eee;
    font-size: small;
    font-weight: bold;
}

legend>div {
    display: inline-block;
    border-bottom: 1px solid #0366E7;
    margin-bottom: -2px;
}

.menu-icon img {
    width: 32px;
    height: 32px;
}

.menu-icon .menu-glyph {
    display: inline-block;
    width: 1em;
    height: 1em;
    font-size: calc(1.26rem + 0.12vw);
    line-height: 1;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

div:has(> .form-check) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.form-check {
    margin: 10px;

    word-break: break-word;
}

.nav-line-tabs .nav-item .nav-link {
    color: var(--bs-body-color);
    font-size: small;
    font-weight: bold;
    margin-left: 0;
    margin-right: 30px;
}

.nav-line-tabs .nav-item .nav-link.active,
.nav-line-tabs .nav-item.show .nav-link,
.nav-line-tabs .nav-item .nav-link:hover:not(.disabled) {
    border-bottom-color: #0366E7;
}

.form-label.inline {
    display: inline-block;
    color: #bbb1b1;
}

/* add border to form-control-solid */
.form-control-solid,
.form-select-solid {
    border-radius: 0.475rem;
    border: 1px solid var(--bs-gray-300) !important;
}

.form-control:focus,
.form-select-solid:focus {
    border-color: var(--bs-gray-400) !important;
}

.form-control:disabled,
.form-select-solid:disabled {
    border-color: var(--bs-gray-300) !important;
}

.django-select2-heavy {
    min-height: 32.5pt;
}

.card .card-header .card-title.card-label,
.card .card-header .card-title .card-label,
.card .card-header .card-title h2 {
    margin-bottom: 0px;
    text-transform: uppercase;
    font-size: 1.275rem;
    font-weight: 600;
}

.ue-card-subtitle {
    color: var(--bs-gray-500);
    font-size: 1.075rem;
}

/* Floating-label filled values contrast */
.form-floating>input.form-control,
.form-floating>input.form-control-solid,
.form-floating>select.form-select,
.form-floating>select.form-select-solid,
.form-floating .select2-selection__rendered {
    color: #000000 !important;
}

[data-bs-theme="dark"] .form-floating>input.form-control,
[data-bs-theme="dark"] .form-floating>input.form-control-solid,
[data-bs-theme="dark"] .form-floating>select.form-select,
[data-bs-theme="dark"] .form-floating>select.form-select-solid,
[data-bs-theme="dark"] .form-floating .select2-selection__rendered {
    color: #ffffff !important;
}

/* Browser autofill overrides regular `color` via -webkit-text-fill-color */
.form-floating>input.form-control:-webkit-autofill,
.form-floating>input.form-control-solid:-webkit-autofill,
.form-floating>input.form-control:-webkit-autofill:hover,
.form-floating>input.form-control-solid:-webkit-autofill:hover,
.form-floating>input.form-control:-webkit-autofill:focus,
.form-floating>input.form-control-solid:-webkit-autofill:focus {
    -webkit-text-fill-color: #000000 !important;
}

[data-bs-theme="dark"] .form-floating>input.form-control:-webkit-autofill,
[data-bs-theme="dark"] .form-floating>input.form-control-solid:-webkit-autofill,
[data-bs-theme="dark"] .form-floating>input.form-control:-webkit-autofill:hover,
[data-bs-theme="dark"] .form-floating>input.form-control-solid:-webkit-autofill:hover,
[data-bs-theme="dark"] .form-floating>input.form-control:-webkit-autofill:focus,
[data-bs-theme="dark"] .form-floating>input.form-control-solid:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
}

.btn-remove {
    height: fit-content;
    margin: auto;
}

.hidden {
    display: none;
}

.htmx-indicator {
    color: white;
    display: none;
}

.htmx-indicator.htmx-request {
    display: block;
}

button .htmx-indicator.htmx-request {
    display: inline-block;
}

#income .collapsed .collapse-indicator,
#history .collapsed .collapse-indicator {
    transform: rotate(180deg)
}

#income .collapse-indicator,
#history .collapse-indicator {
    margin-left: 20px;
    transition: transform 0.3s ease-in-out;
}

.app-sidebar-logo {
    min-height: 70px;
    height: fit-content;
    display: flex;
    justify-content: center;
    padding: 5px;
    align-items: center;
}

.app-sidebar-logo-default {
    max-height: 150px;
    max-width: 226px;
}

table.dataTable>tbody>tr.selected>* {
    box-shadow: inset 0 0 0 9999px #f4f4f4;
    color: rgb(126, 130, 153);
}

[data-bs-theme="dark"] table.dataTable>tbody>tr.selected>* {
    box-shadow: inset 0 0 0 9999px rgba(var(--bs-primary-rgb), 0.15);
}

table.dataTable>tbody>tr.selected>* a:not([class=btn]),
table.dataTable>tbody>tr.selected>* a:not([class=btn]):hover {
    color: rgb(0, 158, 247);
    text-decoration: none;
}

.text-justify {
    text-align: justify;
}

tr.group {
    background: var(--bs-secondary);
    color: var(--text-secondary);
}

tr.group a.col-6 {
    color: var(--bs-gray-700);
    text-transform: capitalize;
}

/* Edifications Collapsible */
.collapsible {
    background-color: var(--bs-gray-400);
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    border-radius: 5px;

}

.collapsible i {
    color: white;
}

.collapsible-active,
.collapsible:hover {
    background-color: var(--bs-gray-500);
}

/* Clean/outlined collapsible variant: transparent button inside a plain
   card, instead of the solid-color bar above. */
.collapsible-card {
    border-radius: 8px;
    box-shadow: 3px 3px 7px #b5b5b5ad;
    background-color: var(--bs-white, #fff);
    overflow: hidden;
    margin-bottom: 1rem;
}

[data-bs-theme="dark"] .collapsible-card {
    background-color: var(--bs-card-bg, #1e1e2d);
    box-shadow: 3px 3px 7px #000000ad;
}

.collapsible.collapsible-outline {
    background-color: transparent;
    color: var(--bs-text-dark);
    border: none;
    border-radius: 0;
    box-shadow: none;
    font-size: 1.15rem;
    font-weight: 600;
}

.collapsible.collapsible-outline i {
    color: var(--bs-text-dark);
}

.collapsible.collapsible-outline .collapsible-toggle {
    color: inherit;
    font-weight: 500;
}

.collapsible.collapsible-outline .btn-danger i {
    color: #FFFFFF;
}

.select2-container .select2-selection__rendered,
.select2-container .select2-selection__choice,
.select2-results__option {
    text-transform: uppercase;
}

.select2-container .select2-search__field {
    text-transform: none;
}

.btn.ue-btn-ghost {
    border: 1px solid var(--bs-gray-300) !important;
    background-color: transparent;
    color: var(--bs-gray-600);
}

.btn.ue-btn-ghost:hover:not(:disabled) {
    border-color: var(--bs-danger) !important;
    background-color: var(--bs-danger);
    color: #FFFFFF;
}

.collapsible-delete {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    padding: 0;
    border: 1px solid var(--bs-gray-300);
    border-radius: 0.45rem;
    background-color: transparent;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.collapsible-delete:hover {
    border-color: var(--bs-danger);
    background-color: var(--bs-danger);
}

.collapsible.collapsible-outline .collapsible-delete i {
    font-size: 0.85rem;
    color: var(--bs-gray-500);
    transition: color 0.15s ease-in-out;
}

.collapsible.collapsible-outline .collapsible-delete:hover i {
    color: #FFFFFF;
}

.collapsible.collapsible-outline .collapsible-title-meta {
    opacity: 0.6;
    font-weight: 400;
    margin-left: 0.35rem;
}

.collapsible-card .content {
    padding: 0 18px;
}

.ue-card-removable {
    position: relative;
    overflow: visible;
}

.ue-remove-x {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: var(--bs-danger);
    font-size: 0.7rem;
    opacity: 0.65;
    transform: translate(45%, -45%);
    transition: opacity 0.15s ease-in-out;
}

.ue-remove-x i {
    color: #fff;
    font-size: inherit;
}

.ue-remove-x:hover {
    opacity: 1;
}

#accordionRelatives .accordion-button.collapsed {
    color: var(--bs-accordion-active-color);
    background-color: var(--bs-accordion-active-bg);
}

#accordionRelatives .accordion-button:not(.collapsed) {
    color: black;
    background-color: white;
}

.arrow-sub-menu {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.active .arrow-sub-menu {
    transform: rotate(180deg);
}

.content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 5px;
}

/* End Edifications Collapsible */

#prefecture-logo {
    display: flex;
    gap: 32px;
}

#prefecture-logo img {
    border-radius: 4px;
    width: 100px;
    height: 100px;
}

input[readonly] {
    background-color: var(--bs-gray-300) !important
}

/* Custom width in land column on beneficiaries */
#small-column {
    max-width: 200px;
}

.reports-icons {
    width: 256px;
    height: 128px;
}

.reports-icons:hover {
    opacity: 50%;
}

/* Begin: Procedures collapsable inside Nucleus collapsable */

.status-btn {
    display: inline-block;
    border-radius: 8px;
    padding: 10px 16px;
    min-width: 120px;
    text-align: center;
    font-size: 1rem;
}

.status-nao_iniciado {
    background: #d9d9d9;
    color: #222;
}

.status-em_andamento {
    background: #bdd7ee;
    color: #0b3a4a;
}

.status-finalizado {
    background: #a9d08e;
    color: #093016;
}

.status-isento {
    background: #f8cbad;
    color: #4a2a14;
}

/* End: Procedures collapsable inside Nucleus collapsable */

/* Company switcher: ícone maior no header */
.ue-company-switcher-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 0.475rem;
}

.app-navbar .ue-company-switcher-logo-fallback .svg-icon,
.app-navbar .ue-company-switcher-logo-fallback svg {
    width: 2rem !important;
    height: 2rem !important;
}

/* Top header navigation (menu horizontal, sem sidebar) */
.app-header-urbaneasy {
    background-color: var(--bs-app-header-base-bg-color, #fff);
}

/* Header: cadeia flex com min-width 0 para permitir overflow + scroll */
.app-header-urbaneasy #kt_app_header_container {
    min-width: 0;
}

.app-header-urbaneasy #kt_app_header_wrapper {
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
}

/* Área do menu (.app-header-menu) + barra direita (.app-navbar): scroll horizontal sem barra visível */
@media (min-width: 992px) {
    #kt_app_header_wrapper .app-header-menu {
        display: flex;
        flex: 1 1 0%;
        min-width: 0;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    #kt_app_header_wrapper .app-header-menu::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    /* Itens do menu não encolhem (senão some o overflow em vez do scroll) */
    #kt_app_header_menu.menu-lg-row {
        flex-shrink: 0;
        flex-wrap: nowrap;
        width: max-content;
        max-width: none;
    }

    /* Navbar (empresa, tema, usuário): scroll se não couber */
    #kt_app_header_wrapper .app-navbar {
        flex-shrink: 0;
        min-width: 0;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    #kt_app_header_wrapper .app-navbar::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    #kt_app_header_wrapper .app-navbar .app-navbar-item {
        flex-shrink: 0;
    }
}

#kt_app_header_menu .top-nav-link:hover,
#kt_app_header_menu .top-nav-link.active {
    color: var(--bs-primary);
}

#kt_app_header_menu .menu-item.menu-lg-down-accordion .top-nav-link:hover {
    color: var(--bs-primary);
}

[data-bs-theme="dark"] #kt_app_header_menu .menu-link:not(.active):not(.here):not(:hover),
[data-bs-theme="dark"] #kt_app_header_menu .menu-link:not(.active):not(.here):not(:hover) .menu-title {
    color: #FFFFFF;
}

@media (max-width: 991.98px) {
    body.ue-mobile-menu-open #kt_app_header_menu {
        display: flex !important;
    }
}

/* Action toolbar (the tab/filter bar at the top of list and edit screens). */
.ue-toolbar-card {
    margin-top: 0.5rem;
}

.ue-toolbar {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.ue-action-tabs .nav-line-tabs {
    border-bottom: none !important;
}

.ue-action-tabs .nav-line-tabs .nav-item {
    margin: 0 !important;
}

.ue-action-tabs .nav-line-tabs .nav-item .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43.5625px;
    padding: 0.775rem 1.5rem !important;
    margin: 0 0.5rem 0 0 !important;
    border: 1px solid var(--bs-gray-300) !important;
    border-radius: 0.475rem;
    background-color: transparent;
    color: var(--bs-gray-900) !important;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
}

[data-bs-theme="dark"] .ue-action-tabs .nav-line-tabs .nav-item .nav-link {
    color: #FFFFFF !important;
}

.ue-action-tabs .nav-line-tabs .nav-item .nav-link:not(.active):hover {
    background-color: rgba(61, 173, 255, 0.1);
    border-color: rgb(61, 173, 255) !important;
}

[data-bs-theme="dark"] .ue-action-tabs .nav-line-tabs .nav-item .nav-link:not(.active):hover {
    background-color: rgba(3, 102, 231, 0.15);
    border-color: #0366E7 !important;
}

.ue-action-tabs .nav-line-tabs .nav-item .nav-link.active,
.ue-action-tabs .nav-line-tabs .nav-item .nav-link:hover:not(.disabled).active {
    background-color: rgb(61, 173, 255) !important;
    border-color: rgb(61, 173, 255) !important;
    color: #FFFFFF !important;
}

[data-bs-theme="dark"] .ue-action-tabs .nav-line-tabs .nav-item .nav-link.active {
    background-color: #0366E7 !important;
    border-color: #0366E7 !important;
    color: #FFFFFF !important;
}

.ue-breadcrumb {
    padding: 0 1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
    .ue-breadcrumb {
        margin-top: 2rem;
    }
}

.ue-toolbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ue-toolbar-actions>*,
.ue-toolbar-actions>.btn {
    min-height: 43.5625px;
}

.ue-toolbar-actions>.btn-icon {
    width: 43.5625px;
    height: 43.5625px;
}

.ue-toolbar-actions>.btn-icon i {
    color: rgb(61, 173, 255) !important;
    opacity: 1;
}

.ue-toolbar-actions>form>.btn {
    display: inline-flex;
    align-items: center;
    height: 43.5625px;
    padding-top: 0;
    padding-bottom: 0;
    text-transform: uppercase;
}

.ue-toolbar-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--bs-gray-300);
    border-radius: 0.475rem;
    padding: 0 1.5rem;
}

/* Edit-tab body */
.ue-form-stack {
    border-radius: 0.625rem;
    overflow: hidden;
    box-shadow: 0px 0px 20px 0px rgba(76, 87, 125, 0.02);
}

.ue-form-stack>.card,
.ue-form-stack>div>.card {
    margin: 0 !important;
    border-radius: 0;
    box-shadow: none;
}

.ue-form-stack>.card:not(:first-of-type),
.ue-form-stack> :not(:first-of-type)>.card {
    border-top: 1px solid var(--bs-gray-300);
}

.ue-form-stack-flush .card:not(.ue-form-stack-flush>.card:first-of-type)>.card-header {
    border-bottom: 0;
}

.ue-form-stack-flush .card:not(.ue-form-stack-flush>.card:first-of-type)>.card-header+.card-body {
    padding-top: 0;
}

.ue-form-stack .card-footer {
    border-top: none;
}

.card-header.pt-6>.ue-card-header-action {
    margin-top: -1.5rem !important;
    margin-bottom: 0 !important;
}

.ue-form-footer {
    justify-content: center !important;
}

.ue-split-row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.ue-split-row>[class*="col-"]>.card {
    margin: 0 !important;
    border-radius: 0;
    box-shadow: none;
    height: 100%;
}

@media (min-width: 768px) {
    .ue-split-row>[class*="col-"]:not(:first-child)>.card {
        border-left: 1px solid var(--bs-gray-300);
    }
}

#kt_app_header_menu .menu-title {
    text-transform: uppercase;
}

#kt_app_header_menu .top-nav-link {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
}

#kt_app_header_menu .top-nav-link .menu-title {
    font-size: 0.92rem;
}

#kt_app_header_menu .menu-sub .menu-link {
    padding: 0.85rem 0.6rem;
}

#kt_app_header_menu .menu-sub .menu-title {
    font-size: 0.92rem;
    justify-content: center;
}

@media (min-width: 992px) {
    #kt_app_header_menu .menu-sub-lg-dropdown .menu-title {
        white-space: nowrap;
    }
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    max-height: 2rem;
    overflow-y: auto;
    scrollbar-width: thin;
}

.form-floating>.select2-container .select2-selection--multiple .select2-selection__rendered {
    max-height: 1.5rem;
}

#toastr-container.toastr-top-center,
#toastr-container.toastr-top-center-nav-margin {
    left: 50%;
    right: auto;
    width: auto;
    transform: translateX(-50%);
}

.attachment-preview-close {
    flex: 0 0 auto;
    border: 0;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    background-color: var(--bs-danger, #f1416c);
}

.attachment-preview-close>i {
    color: #fff !important;
}

.ue-page {
    --ue-panel-w: 240px;
    --ue-panel-x: 0.85rem;
    --ue-input-h: calc(1.5 * 1.1rem + 1.55rem + 2px);
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 2.25rem;
    margin-bottom: 1.25rem;
}

.ue-page-main {
    flex: 1 1 0;
    min-width: 0;
}

.ue-page-main:has(> .ue-fill) {
    display: flex;
    flex-direction: column;
}

.ue-page-main>.ue-fill {
    flex: 1 1 auto;
}

.ue-form-fill,
.ue-form-fill>.ue-form-stack {
    display: flex;
    flex-direction: column;
}

.ue-form-fill>.ue-form-stack,
.ue-form-fill>.ue-form-stack>.card:first-child {
    flex: 1 1 auto;
}

.ue-page-main>.card:not(:has(~ .card)),
.ue-page-main>:last-child {
    margin-bottom: 0 !important;
}

.ue-page-main .ue-review-body>.review-section:first-child {
    margin-top: 0;
}

.ue-page-main>.ue-breadcrumb {
    padding: 0 2.25rem;
}

.ue-panel-col {
    flex: 0 0 var(--ue-panel-w);
}

.ue-panel {
    position: sticky;
    top: calc(var(--bs-app-header-height, 70px) + 2rem);
    width: var(--ue-panel-w);
    height: min(calc(100vh - var(--bs-app-header-height, 70px) - 4rem), 100%);
    margin: 0;
    overflow: visible;
    z-index: 5;
    transition: opacity 0.35s ease;
}

.ue-panel-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    border-radius: inherit;
}

.ue-panel-col {
    transition: flex-basis 0.4s ease, margin-right 0.4s ease;
}

.ue-page.is-collapsed .ue-panel-col {
    flex-basis: 0;
    min-width: 0;
    margin-right: -2.25rem;
    clip-path: inset(0);
}

.ue-page.is-collapsed .ue-panel {
    opacity: 0;
    pointer-events: none;
}

.ue-page.is-overlay .ue-panel-col {
    width: 0;
    flex-basis: 0;
}

.ue-page.is-overlay .ue-panel {
    position: fixed;
    left: 1.5rem;
    z-index: 1010;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.ue-page.is-plain .ue-panel-col,
.ue-page.is-plain .ue-panel-handle {
    display: none;
}

.ue-panel-handle,
.ue-panel-collapse {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 24px;
    height: 56px;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 1;
    background: var(--bs-body-bg);
    color: var(--bs-primary);
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.25));
    cursor: pointer;
}

.ue-panel-handle i,
.ue-panel-collapse i {
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.75;
    transition: opacity 0.15s ease-in-out;
}

.ue-panel-handle:hover i,
.ue-panel-collapse:hover i {
    opacity: 1;
}

.ue-panel-handle {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-100%);
    padding-left: 3px;
    clip-path: polygon(0 0, 100% 16%, 100% 84%, 0 100%);
    z-index: 1010;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.ue-page.is-collapsed .ue-panel-handle {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
    transition: opacity 0.3s ease 0.25s, transform 0.3s ease 0.25s, visibility 0s linear 0.25s;
}

.ue-page.is-plain .ue-panel-handle {
    display: none;
}

.ue-panel-handle:hover {
    color: var(--bs-primary);
}

.ue-panel-count,
.ue-panel-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 0.4rem;
    border-radius: 999px;
    background-color: var(--bs-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.ue-panel-count {
    padding: 0 12px;
    background-color: rgba(var(--bs-primary-rgb), 0.12);
    color: var(--bs-primary);
}

.ue-panel-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem var(--ue-panel-x) 0.75rem;
}

.ue-panel-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.ue-panel-collapse {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    padding-right: 3px;
    clip-path: polygon(0 0, 100% 16%, 100% 84%, 0 100%);
    z-index: 4;
    transition: left 0.4s ease, opacity 0.35s ease;
}

.ue-page.is-collapsed .ue-panel-collapse {
    opacity: 0;
    pointer-events: none;
}

.ue-page.is-overlay .ue-panel-collapse {
    z-index: 1009;
}

.ue-panel-collapse:hover {
    color: var(--bs-primary);
}

.ue-panel-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 var(--ue-panel-x) 1rem;
}

#ue-filter-form.ue-panel-body {
    gap: 0.6rem;
}

.ue-panel-modules {
    padding: 0 var(--ue-panel-x) 0.6rem;
}

.ue-panel-divider {
    height: 1px;
    margin: 0 var(--ue-panel-x);
    background-color: var(--bs-border-color);
}

.ue-panel-head--filters {
    align-items: baseline;
    padding-top: 0.9rem;
}

.ue-panel .form-floating>.form-control,
.ue-panel .form-floating>.form-select,
.ue-panel .form-floating>.select2-container .select2-selection--single {
    height: var(--ue-input-h) !important;
    min-height: 0 !important;
    padding: 1.05rem 0.8rem 0.2rem !important;
    font-size: 0.95rem;
    line-height: 1.2 !important;
}

.ue-panel .form-floating>.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    line-height: 1.2;
}

.ue-panel .form-floating>label {
    padding: 0 0.8rem;
    font-size: 0.9rem;
}

.ue-panel .form-floating>.form-control:focus~label,
.ue-panel .form-floating>.form-control:not(:placeholder-shown)~label,
.ue-panel .form-floating.has-value>.form-select~label,
.ue-panel .form-floating.select-open>.form-select~label {
    top: 0;
    height: auto;
    padding-top: 0.45rem;
    transform: scale(0.78) translateX(0.1rem);
}

.ue-panel .form-floating>input[type="date"]:not(.has-value):not(:focus)~label {
    top: 50%;
    height: auto;
    padding-top: 0;
    transform: translateY(-50%);
}

.ue-panel [data-ue-daterange] {
    padding-right: 2.2rem;
    font-size: 0.85rem;
    letter-spacing: -0.01em;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
}

/* the side panel filters keep Select2's "x" to empty a choice (hidden in other floating forms) */
.ue-panel .form-floating>.select2-container .select2-selection__clear {
    display: block !important;
    right: 0.95rem;
}

/* with a period chosen, an "x" takes the calendar icon's place to clear it */
.ue-panel .form-floating.has-range [data-ue-daterange] {
    background-image: none;
}

.ue-daterange-clear {
    display: none;
    position: absolute;
    top: 50%;
    right: 0.55rem;
    z-index: 5;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--bs-gray-500);
    transform: translateY(-50%);
}

.ue-daterange-clear:hover {
    background-color: var(--bs-gray-200);
    color: var(--bs-danger);
}

.form-floating.has-range .ue-daterange-clear {
    display: inline-flex;
}

.ue-daterange-shortcuts {
    display: flex;
    gap: 6px;
    padding: 8px;
    border-top: 1px solid var(--bs-border-color);
}

.ue-daterange-shortcuts .btn {
    flex: 1 1 0;
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
}

.ue-panel .ue-filter-option {
    padding: 0.4rem 0.5rem;
    font-size: 0.9rem;
}

.ue-panel .ue-filter-inputs {
    gap: 0.6rem;
}

.ue-badge-amber {
    color: #d68b2b;
    background-color: rgba(214, 139, 43, 0.12);
}

[data-bs-theme="dark"] .ue-badge-amber {
    color: #f0b463;
    background-color: rgba(240, 180, 99, 0.15);
}

.ue-recent {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    padding: 0 var(--ue-panel-x) 0.75rem;
}

.ue-recent-box {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ue-recent-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.6rem;
    border: 1px solid var(--bs-gray-300);
    border-left: 3px solid var(--bs-gray-400);
    border-radius: 0.65rem;
    background-color: var(--bs-gray-100);
    color: var(--bs-gray-800);
    text-decoration: none;
    transition: border-color 0.15s ease;
}

.ue-recent-item--primary {
    border-left-color: rgba(var(--bs-primary-rgb), 0.4);
}

.ue-recent-item--warning {
    border-left-color: rgba(var(--bs-warning-rgb), 0.4);
}

.ue-recent-item--danger {
    border-left-color: rgba(var(--bs-danger-rgb), 0.4);
}

.ue-recent-item--primary:hover {
    border-color: var(--bs-primary);
}

.ue-recent-item--warning:hover {
    border-color: var(--bs-warning);
}

.ue-recent-item--danger:hover {
    border-color: var(--bs-danger);
}

.ue-recent-item--muted:hover {
    border-color: var(--bs-gray-500);
}

.ue-recent-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background-color: var(--bs-gray-200);
}

.ue-recent-icon i {
    font-size: 0.95rem;
    color: var(--bs-gray-600);
}

.ue-recent-item:hover .ue-recent-icon i {
    color: var(--bs-primary);
}

.ue-recent-body {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    line-height: 1.35;
}

.ue-recent-row {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    min-width: 0;
}

.ue-recent-title,
.ue-recent-meta,
.ue-recent-author {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ue-recent-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bs-gray-900);
}

.ue-recent-count {
    flex: 0 0 auto;
    align-self: center;
    padding: 0 6px;
    border-radius: 999px;
    background-color: rgba(var(--bs-primary-rgb), 0.12);
    color: var(--bs-primary);
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.5;
}

.ue-recent-meta {
    font-size: 0.72rem;
    color: var(--bs-gray-600);
}

.ue-recent-date {
    flex: 0 0 auto;
}

.ue-recent-empty {
    font-size: 0.8rem;
    color: var(--bs-gray-600);
}

.ue-panel-foot {
    display: flex;
    align-items: center;
    min-height: calc(var(--ue-input-h) + 3rem + 1px);
    margin: auto var(--ue-panel-x) 0;
    padding: 0.75rem 0;
    border-top: 1px solid var(--bs-border-color);
}

.ue-panel-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 100%;
    padding: 0.5rem 0.25rem;
    font-size: 0.75rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--bs-gray-800);
    font-weight: 500;
    text-align: center;
    text-decoration: none;
}

.table-card #table tbody tr:has(> td:only-child) {
    position: relative;
    height: 3.6rem;
}

.table-card #table tbody tr td[colspan]:only-child,
.table-card #table tbody tr td.dataTables_empty:only-child {
    position: absolute !important;
    inset: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 1rem !important;
    text-align: center !important;
    white-space: nowrap;
}

.ue-panel {
    text-transform: uppercase;
}

.ue-modules {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ue-module {
    font: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    background-color: var(--bs-app-bg-color, var(--bs-body-bg));
    color: var(--bs-gray-700);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.ue-module i {
    width: 1.1rem;
    text-align: center;
    color: var(--bs-gray-500);
}

.ue-module:hover {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.ue-submodules {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0 0 2px 1.1rem;
    padding-left: 0.6rem;
    border-left: 1px solid var(--bs-border-color);
}

.ue-submodule {
    padding: 0.3rem 0.6rem;
    border-radius: 0.4rem;
    color: var(--bs-gray-600);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.ue-submodule:hover {
    background-color: var(--bs-gray-100);
    color: var(--bs-primary);
}

.ue-submodule.is-active {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
}

.ue-submodule.is-disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.ue-submodule.is-disabled:hover {
    background-color: transparent;
    color: var(--bs-gray-600);
}

/* nucleus panel: procedures under "Procedimentos", the open one expanded */
.nucleus-procedures-nav {
    gap: 4px;
}

/* with the procedures listed, only that list scrolls when the panel runs
   out of room; the other sections and the panel actions stay whole */
.ue-panel-modules:has(.nucleus-procedures-nav) {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.ue-panel-modules:has(.nucleus-procedures-nav)>* {
    flex: 0 0 auto;
}

.ue-panel-modules>.nucleus-procedures-nav {
    flex: 0 1 auto;
    flex-wrap: nowrap;
    overflow-y: auto;
}

.ue-panel-modules>.nucleus-procedures-nav:has(> :nth-child(2)),
.ue-panel-modules>.nucleus-procedures-nav:has(.procedure-module-open) {
    min-height: 60px;
}

.nucleus-procedures-nav.is-collapsed {
    display: none;
}

.ue-module .nucleus-procedures-caret {
    width: auto;
    margin-left: auto;
    font-size: 0.65rem;
    color: inherit;
    transition: transform 0.2s ease;
}

.ue-module.is-collapsed .nucleus-procedures-caret {
    transform: rotate(-90deg);
}

.nucleus-procedure-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nucleus-procedure-link i {
    width: 1rem;
    text-align: center;
    color: inherit !important;
}

.procedure-module-open {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.4rem;
}

.procedure-module-open.is-collapsed {
    padding-bottom: 0;
}

.procedure-module-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.procedure-module-open.is-collapsed .procedure-module-body {
    display: none;
}

.procedure-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: left;
    text-transform: inherit;
    cursor: pointer;
}

.procedure-toggle.is-active {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.procedure-toggle-label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.procedure-toggle .procedure-toggle-caret {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.procedure-module-open.is-collapsed .procedure-toggle-caret {
    transform: rotate(-90deg);
}

.procedure-sections {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-left: 0.9rem;
    padding-left: 0.6rem;
    border-left: 1px solid var(--bs-border-color);
}

.procedure-section {
    padding: 0.25rem 0.6rem;
    border-radius: 0.4rem;
    color: var(--bs-gray-600);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
}

.procedure-section:hover {
    background-color: var(--bs-gray-100);
    color: var(--bs-primary);
}

.procedure-section.is-active {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
}


.ue-modules--segmented {
    flex-direction: row;
    gap: 4px;
}

.ue-modules--segmented .ue-module {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 0.5rem 0.25rem;
    font-size: 0.8rem;
}

.ue-module.is-active {
    border-color: var(--bs-primary);
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-body-color);
}

.ue-module.is-active i {
    color: var(--bs-primary);
}

.ue-panel-action i {
    font-size: 1rem;
    color: inherit;
}

.ue-panel-action:hover {
    background-color: var(--bs-gray-100);
    color: var(--bs-primary);
}

.ue-filter {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ue-filter-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bs-gray-600);
}

.ue-filter-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ue-filter-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.5rem 0.6rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--bs-gray-800);
    text-align: left;
}

.ue-filter-option:hover {
    background-color: var(--bs-gray-100);
}

.ue-filter-option.is-selected {
    background-color: var(--bs-gray-100);
    font-weight: 600;
    color: var(--bs-body-color);
}

.ue-filter-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1.5px solid var(--bs-gray-500);
    box-sizing: border-box;
}

.ue-filter-option.is-selected .ue-filter-dot {
    border: 0;
    background-color: var(--bs-primary);
}

.ue-panel .select2-container {
    width: 100% !important;
}

.ue-list-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 2.25rem;
}

.ue-list-card .card-body.table-card {
    padding-bottom: 0;
}

.ue-list-card .table-card #table {
    margin-bottom: 0;
}

.ue-list-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.ue-list-head:not(:has(> :not(.d-none))) {
    display: none;
}

.ue-panel-search {
    position: relative;
}

.ue-panel-search input {
    padding-right: 2.6rem;
}

.ue-panel-search i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-gray-500);
    pointer-events: none;
}

.ue-panel .form-floating>.ue-filter-icon {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: var(--bs-gray-500);
    pointer-events: none;
}

.ue-panel .form-floating.has-value>.ue-filter-icon {
    display: none;
}

.ue-panel .form-floating:has(>.ue-filter-icon)>input {
    padding-right: 2.6rem;
}

.ue-panel [data-ue-date] {
    cursor: pointer;
}

.ue-search {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
}

.ue-search i {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-gray-500);
}

.ue-search input {
    padding-left: 2.4rem;
    background-color: var(--bs-app-bg-color, var(--bs-body-bg)) !important;
    border: 1px solid var(--bs-border-color) !important;
}

.ue-list-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: calc(var(--ue-input-h) + 3rem + 1px);
    padding: 0 2.25rem;
}

.ue-pagination {
    margin: 0;
}

a.ue-filter-option {
    text-decoration: none;
}

a.ue-filter-option:hover {
    color: var(--bs-primary);
}

.ue-filter-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ue-filter-inputs--row {
    flex-direction: row;
}

.ue-filter-inputs--row>.form-floating {
    flex: 1 1 0;
    min-width: 0;
}

.ue-panel .ue-filter-inputs--compact {
    --ue-input-h: 2rem;
}

.ue-panel .ue-filter:has(>.ue-filter-inputs--compact) {
    gap: 0.25rem;
}

.ue-panel .ue-filter-inputs--compact>.form-floating>label {
    font-size: 0.8rem;
}

.ue-panel .ue-filter-inputs--compact>.form-floating>.form-control {
    padding: 0 0.8rem !important;
}

.ue-panel .ue-filter-inputs--compact>.form-floating>.form-control:focus~label,
.ue-panel .ue-filter-inputs--compact>.form-floating>.form-control:not(:placeholder-shown)~label {
    display: none;
}

.ue-panel .form-floating>.form-control,
.ue-panel .form-floating>.form-select,
.ue-panel .form-floating>.select2-container .select2-selection {
    background-color: var(--bs-app-bg-color, var(--bs-body-bg)) !important;
    border: 1px solid var(--bs-border-color) !important;
}

.ue-stats {
    margin-top: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bs-border-color);
}

.ue-stats-title {
    margin-bottom: 0.25rem;
}

.ue-stat {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
}

.ue-stat-row {
    display: flex;
    justify-content: space-between;
    color: var(--bs-gray-700);
}

.ue-stat-bar {
    height: 6px;
    border-radius: 999px;
    background-color: var(--bs-gray-200);
    overflow: hidden;
}

.ue-stat-bar>div {
    height: 100%;
    border-radius: 999px;
    background-color: var(--bs-primary);
}

.ue-record {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    min-height: calc(0.7rem * 1.5 + 1.25rem * 1.2 + 0.85rem * 1.5 + 0.4rem);
}

.ue-record-eyebrow {
    font-size: 0.7rem;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bs-gray-600);
}

.ue-record-title {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ue-record-title:has(.ue-record-title-badge) {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ue-record-title-text {
    flex: 0 0 auto;
}

.ue-record-title-badge {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ue-record-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ue-record-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
    font-weight: 500;
    color: var(--bs-gray-900);
}

.pendencia-trigger {
    cursor: pointer;
}

.ue-record-stats {
    gap: 0.5rem;
    padding: 0.9rem var(--ue-panel-x) 1rem;
}

.ue-stat.pendencia-trigger {
    margin: -0.25rem -0.4rem;
    padding: 0.25rem 0.4rem;
    border-radius: 0.5rem;
}

.ue-stat.pendencia-trigger:hover {
    background-color: var(--bs-gray-100);
}

.ue-section-label {
    flex: 1 1 auto;
}

.ue-section-count {
    font-size: 0.75rem;
    color: var(--bs-gray-600);
}

.ue-section-warn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--bs-gray-200);
    color: var(--bs-gray-600);
    font-size: 0.7rem;
    font-weight: 700;
    cursor: help;
}

.ue-tooltip {
    text-transform: uppercase;
    font-size: 0.75rem;
    text-align: left;
}

.ue-tooltip-title {
    margin-bottom: 0.3rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--bs-gray-300);
    font-weight: 700;
}

.ue-module.is-disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.ue-module.is-disabled:hover {
    border-color: var(--bs-border-color);
    color: var(--bs-gray-700);
}

.ue-module.is-active .ue-section-warn {
    box-shadow: inset 0 0 0 1px var(--bs-gray-500);
}

.ue-record-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
}

.ue-record-actions>.btn,
.ue-record-actions>a,
.ue-record-actions>button {
    min-width: 0;
    white-space: nowrap;
    text-transform: uppercase;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.25rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--bs-gray-800);
    font-size: 0.75rem;
    text-align: center;
}

.ue-record-actions>.btn:hover,
.ue-record-actions>a:hover,
.ue-record-actions>button:hover {
    background-color: var(--bs-gray-100);
    color: var(--bs-primary);
}

.ue-panel .ue-record-actions i {
    font-size: 1rem;
    color: inherit !important;
    opacity: 1 !important;
}

.ue-record-actions>.btn-icon {
    width: auto;
    height: auto;
}

.ue-record-actions>.btn-icon[title]::after {
    content: attr(title);
}

.ue-record-actions>div {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
}

.ue-record-actions>div:not(:has(*)) {
    display: none;
}

.ue-record-actions .users-block-toggle {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    width: auto;
    height: auto;
    padding: 0.5rem 0.25rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent !important;
    color: var(--bs-gray-800);
    font-size: 0.75rem;
    white-space: nowrap;
    text-transform: uppercase;
}

.ue-record-actions .users-block-toggle:hover {
    background-color: var(--bs-gray-100) !important;
    color: var(--bs-primary);
}

.users-block-label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.02em;
}

.users-block-toggle .users-block-label.is-unblock,
.users-block-toggle:has(input:checked) .users-block-label.is-block {
    display: none;
}

.users-block-toggle:has(input:checked) .users-block-label.is-unblock {
    display: inline;
}

.ue-record-actions>form {
    flex: 1 1 100%;
    padding: 0.25rem;
}

.ue-record-actions>form>.btn {
    width: 100%;
}

.ue-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask: var(--ue-icon) center / contain no-repeat;
    mask: var(--ue-icon) center / contain no-repeat;
}

.ue-icon-registration {
    --ue-icon: url("../media/icons/structures/registration.152eba8e4dd5.svg");
}

.ue-icon-well {
    --ue-icon: url("../media/icons/structures/well.6988ccccba35.svg");
}

.ue-icon-land-management {
    --ue-icon: url("../media/icons/land-management.052cd80f6c0d.svg");
}

/* Contour lines on the page background (static/js/relief.js), behind the whole app */
.page-relief {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    --contour: 30, 74, 140;
}

[data-bs-theme="dark"] .page-relief {
    --contour: 143, 180, 255;
}

/* no z-index: it would trap the page's modals under Bootstrap's backdrop (appended to body) */
.page-relief~#kt_app_root {
    position: relative;
}