:root {
    --font-family-sans-serif: 'Montserrat-Regular', sans-serif;
}

@font-face {
    font-family: 'Montserrat-Bold';
    src: url('../Fonts/MONTSERRAT-BOLD.TTF') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat-Regular';
    src: url('../Fonts/MONTSERRAT-REGULAR.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-family: 'Montserrat-Regular', sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    scroll-behavior: smooth;
    overflow-y: auto;
}

nav {
    display: block;
}

body {
    margin: 0;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #515151;
    text-align: left;
    background-color: #ffffff;
    overflow-x: hidden;
    padding-right: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: #323537;
    text-decoration: none;
    background-color: transparent;
}

    a:hover {
        color: #323537;
        text-decoration: underline;
    }

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Montserrat-Bold', sans-serif;
    margin-bottom: 0.5rem;
    font-weight: bold;
    line-height: 1.2;
}

h1,
.h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.card {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0;
}

.card-body {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    text-align: center;
}

.dashboard {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    min-height: 100vh;
}

.dashboard-app {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 2;
    -webkit-flex-grow: 2;
    -ms-flex-positive: 2;
    flex-grow: 2;
    margin-top: 60px;
}

.dashboard-content {
    -webkit-box-flex: 2;
    -webkit-flex-grow: 2;
    -ms-flex-positive: 2;
    flex-grow: 2;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.dashboard-content > form,
.dashboard-content > .aspNetHidden + form {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
}

.dashboard-content .panel-movement-container {
    flex-grow: 1;
    height: calc(100vh - 140px);
    min-height: 500px;
}

.dashboard-nav {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    background-color: #323537;
    width: 238px;
    /* Largura padrão (expandido) */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Hack para fazer a barra de rolagem ficar por cima do conteúdo */
    -ms-overflow-style: none !important;
    /* IE e Edge */
    scrollbar-width: none !important;
    /* Firefox */
    z-index: 1050;
    /* Garantir que o menu fique acima de outros elementos */
    transition: width 0.3s ease, box-shadow 0.3s ease;
    /* Adiciona transição suave */
}

    /* Esconde a barra de rolagem nativa para Chrome, Safari e Opera */
    .dashboard-nav::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    .dashboard-nav::-webkit-scrollbar-track {
        display: none !important;
    }

    .dashboard-nav::-webkit-scrollbar-thumb {
        display: none !important;
    }

    .dashboard-nav::-webkit-scrollbar-button {
        display: none !important;
    }

/* Estilo para Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.dashboard-nav {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.dashboard-compact .dashboard-nav {
    width: 80px;
    /* Mantém visível, mas reduz a largura */
    overflow: hidden;
}

.dashboard-nav header {
    min-height: 60px;
    padding: 8px 27px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #ef3f32;
}

    .dashboard-nav header .menu-toggle {
        display: none;
        margin-right: auto;
    }

.dashboard-nav a {
    color: #fff;
}

    .dashboard-nav a:hover {
        text-decoration: none;
    }

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Controle de tamanho dos logos */
.logo-open,
.logo-closed {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
}

    .logo-open svg,
    .logo-closed svg {
        height: 100%;
        width: auto;
    }

.nav_logo_icon {
    width: 179px;
    height: auto;
    margin-left: 5px;
    fill: #ffffff !important;
}

.brand-logo:focus,
.brand-logo:active,
.brand-logo:hover {
    color: #dbdbdb;
    text-decoration: none;
}

.brand-logo i {
    color: #d2d1d1;
    font-size: 27px;
    margin-right: 10px;
}

.dashboard-nav-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.dashboard-nav-item {
    min-height: 32px;
    padding-left: 0.5rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    letter-spacing: 0.02em;
    transition: ease-out 0.5s;
    cursor: pointer;
}

    .dashboard-nav-item i {
        width: 36px;
        font-size: 19px;
        margin-left: -40px;
    }

    .dashboard-nav-item:hover {
        background: rgba(255, 255, 255, 0.04);
    }

    /* Estilo para o item de menu ativo */
    .dashboard-nav-item.active,
    .dashboard-nav-dropdown-item.active,
    .dashboard-nav-dropdown-toggle.active {
        color: #323537; /* Cor escura para contrastar com o fundo claro */
        font-weight: bold;
        border-left: none; /* Remover a borda esquerda */
        position: relative; /* Para posicionar o pseudo-elemento */
        background: transparent; /* Remover o fundo completo */
    }

        /* Pseudo-elemento para criar o fundo arredondado */
        .dashboard-nav-item.active::before,
        .dashboard-nav-dropdown-item.active::before,
        .dashboard-nav-dropdown-toggle.active::before {
            content: "";
            position: absolute;
            left: 5px; /* Espaçamento à esquerda ajustado */
            top: 50%;
            transform: translateY(-50%);
            height: 22px; /* Altura do fundo arredondado */
            width: calc(100% - 13px); /* Largura ajustada para não tocar as bordas */
            background-color: rgba(221, 225, 232, 0.7);
            border-radius: 4px; /* Metade da altura para criar cantos arredondados */
            z-index: -1; /* Colocar atrás do texto e ícones */
        }

/* Ajuste para o modo compacto */
.dashboard-compact .dashboard-nav-item.active,
.dashboard-compact .dashboard-nav-dropdown-toggle.active {
    color: #323537;
    /* Manter a cor do texto no modo compacto */
}


    /* Ajuste para ícones SVG em itens ativos no modo compacto */
    .dashboard-compact .dashboard-nav-item.active .menu-icon,
    .dashboard-compact .dashboard-nav-dropdown-toggle.active .menu-icon {
        filter: brightness(0.2);
        /* Escurecer o ícone SVG para melhor contraste com o fundo claro */
    }

/* Ajuste para ícones SVG em itens ativos no modo compacto com hover */
html.page-loaded .dashboard-compact .dashboard-nav:hover .dashboard-nav-item.active .menu-icon,
html.page-loaded .dashboard-compact .dashboard-nav:hover .dashboard-nav-dropdown-item.active .menu-icon,
html.page-loaded .dashboard-compact .dashboard-nav:hover .dashboard-nav-dropdown-toggle.active .menu-icon {
    filter: brightness(0.2);
    /* Escurecer o ícone SVG para melhor contraste com o fundo claro */
}

/* Ajuste para os itens de submenu */
.dashboard-nav-dropdown-item.active::before {
    left: 13px;
    /* Espaçamento maior à esquerda para os itens de submenu */
    width: calc(100% - 21px);
    /* Largura ajustada para os itens de submenu */
}

/* Manter o estilo do menu pai ativo mesmo no modo compacto com hover */
html.page-loaded .dashboard-compact .dashboard-nav:hover .dashboard-nav-item.active,
html.page-loaded .dashboard-compact .dashboard-nav:hover .dashboard-nav-dropdown-item.active,
html.page-loaded .dashboard-compact .dashboard-nav:hover .dashboard-nav-dropdown-toggle.active {
    background: transparent;
    color: #323537;
    font-weight: bold;
    border-left: none;
}

    html.page-loaded .dashboard-compact .dashboard-nav:hover .dashboard-nav-item.active::before,
    html.page-loaded .dashboard-compact .dashboard-nav:hover .dashboard-nav-dropdown-toggle.active::before {
        width: calc(100% - 16px);
        /* Restaurar a largura quando hover no modo compacto */
        height: 28px;
        /* Restaurar a altura quando hover no modo compacto */
        left: 8px;
        transform: translateY(-50%);
        /* Apenas centralizar verticalmente */
        border-radius: 4px;
        /* Restaurar o raio quando hover no modo compacto */
    }

    /* Ajuste para os itens de submenu no modo compacto com hover */
    html.page-loaded .dashboard-compact .dashboard-nav:hover .dashboard-nav-dropdown-item.active::before {
        left: 16px;
        /* Espaçamento maior à esquerda para os itens de submenu */
        width: calc(100% - 24px);
        /* Largura ajustada para os itens de submenu */
    }

/* Garantir que os ícones e textos fiquem visíveis sobre o fundo */
.dashboard-nav-item.active i,
.dashboard-nav-dropdown-item.active i,
.dashboard-nav-dropdown-toggle.active i,
.dashboard-nav-item.active .menu-text,
.dashboard-nav-dropdown-item.active .menu-text,
.dashboard-nav-dropdown-toggle.active .menu-text {
    position: relative;
    z-index: 1;
    /* Garantir que fiquem acima do fundo */
}

.dashboard-nav-dropdown {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

    .dashboard-nav-dropdown.show > .dashboard-nav-dropdown-toggle:after {
        background-image: url('../Images/svg/arrow_down.svg');
        width: 10px;
        height: 10px;
        background-size: contain;
    }

.dashboard-nav-dropdown-toggle {
    position: relative;
    cursor: pointer;
}

    .dashboard-nav-dropdown-toggle:after {
        content: "";
        position: absolute;
        right: 10px;
        display: inline-block;
        width: 10px;
        height: 10px;
        background-image: url('../Images/svg/arrow_left.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        border: none;
        color: white;
    }

.dashboard-nav .dashboard-nav-dropdown-toggle:after {
    filter: brightness(0.5) invert(0.5);
}

.dashboard-nav-dropdown-toggle.active::after {
    filter: brightness(0);
    /* Torna a seta preta */
}

.dashboard-nav-dropdown-menu {
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.dashboard-nav-dropdown-item {
    min-height: 20px;
    max-height: 20px;
    line-height: 11px;
    padding-left: 1rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    transition: ease-out 0.5s;
    font-size: 11px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
    position: relative;
}

    .dashboard-nav-dropdown-item:hover {
        background: rgba(255, 255, 255, 0.09);
    }

.dashboard-nav-dropdown-item.scroll_text {
    overflow: hidden;
    position: relative;
}

.dashboard-nav-dropdown-item.scroll_text span {
    display: inline-block;
    white-space: nowrap;
    overflow: visible;
    text-align: left;
}

.dashboard-nav-dropdown-item.scroll_text:hover span {
    animation: scrollText 10s linear infinite;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.menu-toggle {
    position: relative;
    width: 42px;
    height: 42px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #443ea2;
}

    .menu-toggle:hover,
    .menu-toggle:active,
    .menu-toggle:focus {
        text-decoration: none;
        color: #875de5;
    }

    .menu-toggle i {
        font-size: 20px;
    }

.dashboard-toolbar {
    min-height: 60px;
    background-color: #ededed;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 8px 27px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1200;
}

.nav-item-divider {
    height: 1px;
    margin: 1rem auto;
    overflow: hidden;
    background-color: #aaaeb3;
    width: 95%;
}

@media (min-width: 1280px) {
    .dashboard-app {
        margin-left: 238px;
        /* Exatamente a largura do menu */
    }

    .dashboard-compact .dashboard-app {
        margin-left: 80px;
        /* Ajuste do conteúdo para corresponder à largura do menu compacto */
    }
}

@media (max-width: 768px) {
    .dashboard-content {
        padding: 15px 0px;
    }
}

@media (max-width: 1279px) {
    .dashboard-nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        z-index: 1070;
    }

        .dashboard-nav.mobile-show {
            display: block;
            z-index: 1500;
        }
}

@media (max-width: 1279px) {
    .dashboard-nav header .menu-toggle {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }
}

@media (min-width: 1280px) {
    .dashboard-toolbar {
        left: 238px;
    }

    .dashboard-compact .dashboard-toolbar {
        left: 80px;
    }
}

.nav_app_info {
    color: #FFFFFF;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    padding-left: 0.5rem;
}

.nav_lang {
    display: flex;
    gap: 0.5rem;
    padding-left: 0.5rem;
}

.lang_link img {
    width: 23px;
    height: auto;
}

@media (min-width: 1280px) {
    .dashboard-compact .dashboard-nav {
        width: 80px !important;
        /* Reduz a largura do menu */
        overflow: hidden;
        z-index: 1500;
        /* Garante que o menu fique acima de outros elementos */
    }

    /* Estilo para quando o mouse passa por cima do menu compacto */
    html.page-loaded .dashboard-compact .dashboard-nav:hover {
        width: 238px !important;
        /* Expande para a largura completa */
        box-shadow: 4px 0 10px rgba(0, 0, 0, 0.2);
        /* Adiciona sombra para efeito flutuante */
        overflow-y: auto;
        /* Permite rolagem quando expandido */
        position: fixed;
        /* Garante que o menu fique fixo */
    }

        /* Mostra os textos dos itens do menu quando hover */
        html.page-loaded .dashboard-compact .dashboard-nav:hover .dashboard-nav-item span {
            display: inline-block !important;
        }

        /* Mostra as setas de dropdown quando hover */
        html.page-loaded .dashboard-compact .dashboard-nav:hover .dashboard-nav-dropdown-toggle::after {
            display: inline-block !important;
        }

        /* Permite que os submenus sejam exibidos quando hover */
        html.page-loaded .dashboard-compact .dashboard-nav:hover .dashboard-nav-dropdown.show > .dashboard-nav-dropdown-menu {
            display: flex !important;
        }

        /* Garante que os submenus ativos permaneçam abertos no hover */
        html.page-loaded .dashboard-compact .dashboard-nav:hover .dashboard-nav-dropdown.show {
            background: rgba(255, 255, 255, 0.04);
        }

        /* Mantém o estilo do menu pai ativo mesmo no modo compacto com hover */
        html.page-loaded .dashboard-compact .dashboard-nav:hover .dashboard-nav-dropdown-toggle.active {
            background: transparent;
            font-weight: bold;
            border-left: none;
        }

        /* Garante que os submenus possam ser abertos no hover */
        html.page-loaded .dashboard-compact .dashboard-nav:hover .dashboard-nav-dropdown-toggle:after {
            content: "";
            position: absolute;
            right: 10px;
            display: inline-block !important;
            width: 10px;
            height: 10px;
            background-image: url('../Images/svg/arrow_left.svg');
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
            border: none;
            color: white;
            filter: brightness(0) invert(1);
        }

        /* Ajusta a seta para baixo quando o submenu está aberto */
        html.page-loaded .dashboard-compact .dashboard-nav:hover .dashboard-nav-dropdown.show > .dashboard-nav-dropdown-toggle:after {
            background-image: url('../Images/svg/arrow_down.svg');
            width: 10px;
            height: 10px;
            background-size: contain;
        }

        /* Restaura o alinhamento dos itens quando hover */
        html.page-loaded .dashboard-compact .dashboard-nav:hover .dashboard-nav-item {
            text-align: left;
            justify-content: flex-start;
            padding-left: 0.5rem;
        }

        /* Restaura o estilo dos ícones quando hover */
        html.page-loaded .dashboard-compact .dashboard-nav:hover .menu-icon {
            margin-right: 10px;
            margin-left: 0;
            display: inline-block;
        }

        /* Mostra os elementos ocultos quando hover */
        html.page-loaded .dashboard-compact .dashboard-nav:hover .nav-item-divider,
        html.page-loaded .dashboard-compact .dashboard-nav:hover .nav_lang,
        html.page-loaded .dashboard-compact .dashboard-nav:hover .nav_app_info {
            display: block !important;
        }

    .dashboard-compact .dashboard-nav-item {
        text-align: center;
        justify-content: center;
        /* Centraliza o conteúdo horizontalmente */
        padding-left: 0;
        /* Remove o padding à esquerda */
    }

        .dashboard-compact .dashboard-nav-item i {
            margin-left: 0;
            width: 100%;
            font-size: 22px;
            text-align: center;
        }

    .dashboard-compact .menu-icon {
        margin-right: 0;
        /* Remove a margem à direita do ícone */
        margin-left: 0;
        /* Garante que não há margem à esquerda */
        display: block;
        /* Garante que o ícone é exibido como bloco */
        margin: 0 auto;
        /* Centraliza o ícone */
    }

    .dashboard-compact .dashboard-nav-item span {
        display: none !important;
        /* Esconde o texto */
    }

    .dashboard-compact .dashboard-nav-dropdown-menu {
        display: none !important;
        /* Esconde os submenus no modo compacto */
    }

    .dashboard-compact .dashboard-nav-dropdown-toggle::after {
        display: none !important;
        /* Esconde a seta de dropdown */
    }

    /* Esconde os elementos abaixo do "Profile" quando em modo compacto */
    .dashboard-compact .nav-item-divider,
    .dashboard-compact .nav_lang,
    .dashboard-compact .nav_app_info {
        display: none !important;
    }
}

/* Logo funcionário topo página */
.rounded-circle {
    width: 56px;
    height: 56px;
    border: 1px solid #909192;
}

.employee_name {
    font-size: 1rem;
    color: #909192;
}

.header_user_info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    /* Move para a direita */
    white-space: nowrap;
    /* Evita quebra de linha */
}

.employee_name {
    font-size: 1rem;
    color: #515151;
}

.user_dropdown {
    position: relative;
}

.user_link {
    display: flex;
    align-items: center;
}

    .user_link img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
    }

.user_dropdown_menu {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    list-style: none;
    padding: 10px 0;
    min-width: 150px;
    z-index: 999999;
}

    .user_dropdown_menu li {
        padding: 8px 15px;
    }

        .user_dropdown_menu li a {
            color: #333;
            text-decoration: none;
            display: block;
        }

            .user_dropdown_menu li a:hover {
                background: #f5f5f5;
            }

/* Garantir que no modo compacto continua bem posicionado */
.dashboard-compact .header_user_info {
    margin-left: auto;
}

.menu-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
    transition: width 0.3s, height 0.3s, margin 0.3s;
}

.dashboard-nav-dropdown-item .menu-icon {
    width: 18px;
    height: 18px;
}


.menu-text {
    font-size: 14px;
    font-weight: 400;
}

.menu-separator {
    display: flex;
    align-items: center;
    font-size: 11px;
    background-color: #ededed4f;
    color: #ffffff;
    margin-left: 1rem;
    border-radius: 3px;
    padding-left: 4px;
    margin-right: 1rem;
}

    .menu-separator span {
        white-space: nowrap;
        margin-right: 10px;
    }
/*
.menu-separator::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background-color: #ccc;
} */

/* Personalização da barra de rolagem (scrollbar) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
    transition: background 0.3s ease;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/* Remover as setas da barra de rolagem */
::-webkit-scrollbar-button {
    display: none;
}

/* Estilo específico para a barra de rolagem do menu lateral */
.dashboard-nav::-webkit-scrollbar {
    width: 4px;
}

.dashboard-nav::-webkit-scrollbar-track {
    background: #323537;
    border-radius: 10px;
}

.dashboard-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

    .dashboard-nav::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.4);
    }

.dashboard-nav {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) #323537;
}

/* Removendo soluções alternativas para overlay */
@supports not (overflow-y: overlay) {
    html {
        overflow-y: auto;
    }

    body {
        margin-right: 0;
    }
}

/* Simplificando a solução para Firefox */
@-moz-document url-prefix() {
    .dashboard-nav {
        scrollbar-width: none !important;
    }

    * {
        scrollbar-color: #888 #f1f1f1;
    }
}

/* Estilos para a barra de rolagem personalizada */
.custom-scrollbar {
    position: fixed;
    top: 0;
    right: 2px;
    width: 8px;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
    cursor: pointer;
    pointer-events: auto;
    visibility: collapse !important;
}

    .custom-scrollbar.visible {
        opacity: 0.5;
    }

.dashboard-nav:hover .custom-scrollbar.visible {
    opacity: 0.8;
    visibility: visible !important;
}

.scrollbar-thumb {
    position: absolute;
    width: 6px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    cursor: pointer;
    right: 1px;
    min-height: 30px;
    transition: background-color 0.3s, width 0.3s;
    pointer-events: auto;
}

    .scrollbar-thumb:hover,
    .scrollbar-thumb:active {
        background-color: rgba(255, 255, 255, 0.9);
        width: 8px;
        right: 0;
    }

.no-select {
    user-select: none;
}

/* Removendo soluções alternativas para overlay */
@supports not (overflow-y: overlay) {
    html {
        overflow-y: auto;
    }

    body {
        margin-right: 0;
    }
}

/* Simplificando a solução para Firefox */
@-moz-document url-prefix() {
    .dashboard-nav {
        scrollbar-width: none !important;
    }

    * {
        scrollbar-color: #888 #f1f1f1;
    }
}

/* Estilo para o dropdown ativo */
.dashboard-nav-dropdown.show > .dashboard-nav-dropdown-toggle {
    font-weight: bold;
}

.dashboard-nav-dropdown.show > .dashboard-nav-dropdown-menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    background-color: #434343;
}

/* Garantir que os itens ativos dentro do dropdown mantenham seu fundo transparente */
.dashboard-nav-dropdown.show > .dashboard-nav-dropdown-menu .dashboard-nav-dropdown-item.active::before {
    z-index: 0;
}

/* Garantir que o texto e ícones dos itens ativos fiquem acima do fundo */
.dashboard-nav-dropdown.show > .dashboard-nav-dropdown-menu .dashboard-nav-dropdown-item.active span,
.dashboard-nav-dropdown.show > .dashboard-nav-dropdown-menu .dashboard-nav-dropdown-item.active i,
.dashboard-nav-dropdown.show > .dashboard-nav-dropdown-menu .dashboard-nav-dropdown-item.active .menu-icon {
    position: relative;
    z-index: 1;
}

/* Ajuste para o fundo arredondado no modo compacto */
.dashboard-compact .dashboard-nav-item.active::before,
.dashboard-compact .dashboard-nav-dropdown-toggle.active::before {
    width: 50px;
    /* Largura fixa para o modo compacto */
    height: 40px;
    /* Altura maior para criar um círculo */
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centralizar horizontalmente e verticalmente */
    border-radius: 4px;
    /* Metade da altura para criar um círculo */
}

/* Estilos para o breadcrumb */
.breadcrumb-container {
    display: flex;
    align-items: center;
    margin-left: 15px;
    flex-grow: 1;
    /* Permite que o breadcrumb ocupe o espaço disponível */
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: transparent;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #515151;
    font-size: 12px;
    white-space: nowrap;
    /* Evita quebra de linha */
}

    .breadcrumb-item a {
        color: #323537;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .breadcrumb-item a:hover {
            color: #323537;
            text-decoration: underline;
        }

    .breadcrumb-item.active {
        color: #515151;
    }

    .breadcrumb-item + .breadcrumb-item {
        padding-left: 8px;
    }

        .breadcrumb-item + .breadcrumb-item::before {
            display: inline-block;
            padding-right: 8px;
            color: #6c757d;
            content: ">";
        }

/* Ajuste responsivo para o breadcrumb */
@media (max-width: 768px) {
    .breadcrumb-container {
        display: none;
        /* Ocultar em telas pequenas */
    }
}

/* Ajuste para o header com breadcrumb */
.dashboard-toolbar {
    display: flex;
    align-items: center;
}

.header_user_info {
    margin-left: auto;
    /* Garante que as informações do usuário fiquem à direita */
    white-space: nowrap;
    /* Evita quebra de linha */
}

.dashboard-nav-dropdown-toggle.active::after {
    filter: brightness(0);
    /* Torna a seta preta */
}

/* Indicador de notificações não lidas */
.notification-badge {
    position: absolute;
    top: -5px;
    left: -9px;
    background-color: #ff3b30;
    color: white;
    border-radius: 50%;
    padding: 0;
    min-width: 18px;
    height: 18px;
    font-size: 9px;
    font-weight: 500;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.user_link {
    position: relative;
}

/* Controle de exibição dos logos */
.dashboard-compact .logo-open {
    display: none !important;
}

/* Controle de logos no hover do menu compacto */
html.page-loaded .dashboard-compact .dashboard-nav:hover .logo-open {
    display: block !important;
}

html.page-loaded .dashboard-compact .dashboard-nav:hover .logo-closed {
    display: none !important;
}

/* Aumentar o tamanho dos ícones no modo compacto */
.dashboard-compact .menu-icon {
    width: 28px;
    height: 28px;
    margin: 8px auto;
    transition: width 0.3s, height 0.3s, margin 0.3s;
}

/* Ajuste para o hover no modo compacto */
html.page-loaded .dashboard-compact .dashboard-nav:hover .menu-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-left: 0;
    transition: width 0.3s, height 0.3s, margin 0.3s;
}

.brand_logo {
    width: 20px;
    height: 20px;
}

.nav_app_info_icon_about {
    width: 25px;
    height: 25px;
    vertical-align: middle;
    margin-right: 5px;
}

.nav_app_info_icon_company {
    width: 60%;
    vertical-align: middle;
}

.label_about {
    color: #FFFFFF;
    font-size: 12px;
    font-family: 'Montserrat-Regular', sans-serif;
}

.label_copyright {
    color: #FFFFFF;
    font-size: 10px;
    font-family: 'Montserrat-Regular', sans-serif;
}

.nav_app_info span[onclick] {
    cursor: pointer;
}

.menu-icon-selected {
    display: none !important;
}

/* Exibir ícone selecionado apenas quando o item estiver ativo */
.dashboard-nav-item.active .menu-icon-selected,
.dashboard-nav-dropdown-toggle.active .menu-icon-selected,
.dashboard-nav-dropdown-item.active .menu-icon-selected {
    display: inline-block !important;
}
/* Exibir ícone selecionado apenas quando o item estiver ativo */
.dashboard-nav-item.active .menu-icon-unselected,
.dashboard-nav-dropdown-toggle.active .menu-icon-unselected,
.dashboard-nav-dropdown-item.active .menu-icon-unselected {
    display: none !important;
}

.breadcrumb-item:empty {
    display: none;
}


body.swal2-toast-shown .swal2-container {
    width: 400px !important;
}
/* Ensure SweetAlert toasts appear above any toolbar (z-index 1200) */
.swal2-container {
    z-index: 3000 !important;
}

/* ------ Blink Effect for minimized conversation headers ------ */
@keyframes chatHeaderBlink {
  0%, 100% { background-color:#ededed; }
  50% { background-color:#323537; color:#ffffff; }
}
.chat_conv_header.blinking {
  animation: chatHeaderBlink 1s linear 3;
}

.chat_conv_item.blinking {
  animation: chatHeaderBlink 1s linear 3;
}

.copyright_container {
    margin-top: 10px;
}

/* Separador no header */
.header_separator {
    height: 42px;
    width: 2px;
    background-color: #d8d8d8;
    margin: 0 5px;
}

/* Estilos para o ícone de chat e o contador */
.chat_notification {
    position: relative;
    display: inline-block;
}

.chat_link {
    display: inline-block;
    position: relative;
}

.chat_link img {
    width: 40px;
    vertical-align: middle;
}

/* Estilos para o ícone chatAI */
.chat_ai {
    position: relative;
    display: inline-block;
}

.chat_ai_link {
    display: inline-block;
    position: relative;
}

.chat_ai_link img {
    width: 40px;
    vertical-align: middle;
}

/* Estilos para o ícone movimentos */
.movimentos {
    position: relative;
    display: inline-block;
}

.movimentos_link {
    display: inline-block;
    position: relative;
}

.movimentos_link img {
    width: 30px;
    vertical-align: middle;
}

.chat-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ef3f32;
    color: white;
    font-size: 10px;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    text-align: center;
    line-height: 18px;
    font-weight: bold;
}

/* Estilos para popups */
.div_popup {
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
}

.iframestyle_popup {
    width: 100%;
    height: 100%;
    border: none;
    overflow: hidden;
}

.div_popup_about {
    width: 100%;
    height: 100%;
    padding: 10px;
    overflow: hidden;
}

.div_popup_about iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Estilos para mapas */
.consultMap {
    height: calc(100vh - 180px);
    width: 100%;
    z-index: 1;
}

.addMovMap {
    height: 300px;
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.form-group {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .form-group {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.movimentimg {
    margin-bottom: 20px;
}

.CommandButton {
    background-color: #ef3f32;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
    margin-left: 10px;
}

.CommandButton:hover {
    background-color: #d62c20;
}

/* Estado desativado do botão confirmar no modal de grupo */
.emp_confirm_btn:disabled{
    background-color:#bfbfbf;
    cursor:not-allowed;
    color:#ffffff;
    opacity:0.7;
}

.enter_working, .exit_working, .enter_pause_working, .exit_pause_working, .enter_time {
    width: 100%;
    text-align: left;
}

.form-label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

/* Estilos para o painel de movimentos */
.panel-movement-container {
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.panel-map-column {
    width: 50%;
    position: relative;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.panel-controls-column {
    width: 50%;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
}

.panel-control-row {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.panel-map-container {
    width: 100%;
    height: 100%;
}

.panel-map-checkbox {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 4px;
    z-index: 999;
}

.panel-map-refresh {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 4px;
    z-index: 999;
    cursor: pointer;
}

.panel-map-refresh img {
    width: 24px;
    height: 24px;
}

/* Estilos para os botões de movimento */
.movement-button {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 12px 15px;
    flex: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.movement-button:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.movement-button.entry {
    border: 8px solid #93c94b;
}

.movement-button.exit {
    border: 8px solid #e84f34;
}
.movement-button img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.movement-button-text {
    display: flex;
    flex-direction: column;
}

.movement-button-title {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    line-height: 1.2;
}

.movement-button-subtitle {
    font-size: 13px;
    color: #666;
    line-height: 1.2;
    margin-top: 2px;
}

/* Estilos para os campos de formulário */
.panel-combobox, .panel-textbox {
    width: 100%;
}

.panel-textbox textarea {
    width: 100%;
    min-height: 80px;
    resize: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
}

.panel-label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

/* Chat message bar (collapsed) – bottom right */
.chat_bar {
    position: fixed;
    bottom: 0; /* encostada em baixo */
    right: 27px; /* mesma margem da toolbar */
    width: 280px; /* largura original */
    height: 42px; /* altura reduzida (≈3/4) */
    background-color: #ededed;
    border: 1px solid #d0d0d0;
    border-top-left-radius: 4px;
    display: flex;
    flex-direction: column;
    padding: 0;
    z-index: 1100;
    cursor: pointer;
}

.chat_bar_header {
    height: 42px;
    background-color: #ededed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.chat_bar_content {
    display: none;
    background-color: #fff;
    width: 100%;
    flex: 1;
    overflow-y: auto;
    border-top: 1px solid #d0d0d0;
}

.chat_bar.expanded {
    height: 80vh; /* 80% da altura do viewport para ser responsivo */
}

.chat_conv_item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.chat_conv_item:hover {
    background-color: #f7f7f7;
}

.chat_conv_item .conv_photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #909192;
    margin-right: 8px;
}

.chat_conv_item .conv_info {
    flex: 1;
    min-width: 0;
}

.conv_name {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conv_preview {
    font-size: 10px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conv_meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: 6px;
    gap: 4px;
}

.conv_date {
    font-size: 10px;
    color: #999;
}

.conv_unread {
    background-color: #ef3f32;
    color: #fff;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ----- Header (minimized bar) layout ---- */
.chat_bar_left {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.chat_bar_left img.rounded-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #909192;
}

.chat_bar_actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat_bar_actions img {
    width: 16px;
    height: 16px;
}

.chat_bar_left .chat_notification_badge {
    top: -6px;
    left: 18px;
}

.chat_notification_badge {
    position: absolute;
    background-color: #ef3f32;
    color: #fff;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 18px;
    box-shadow: 0 0 0 2px #fff;
    pointer-events: none;
}

.chat_emp_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

.chat_emp_inner {
    background: #fff;
    width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.chat_emp_item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-family: 'Montserrat-Regular', sans-serif;
}

.chat_emp_item:hover { background:#f7f7f7; }
.chat_emp_item.emp_selected{ background:#ededed; }

/* Footer do modal de seleção de funcionários */
.emp_modal_footer{
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 10px;
    border-top:1px solid #f0f0f0;
}

/* Input para nome do grupo */
.emp_group_name_input{
    flex:1;
    padding:6px 8px;
    border:1px solid #ddd;
    border-radius:4px;
    font-family:'Montserrat-Regular', sans-serif;
    font-size:12px;
}

.chat_emp_item .emp_photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ededed;
    margin-right: 8px;
}

.chat_emp_item .emp_name { font-size:14px; font-family:'Montserrat-Bold', sans-serif; }
.chat_emp_item .emp_dept { font-size:12px; color:#666; font-family:'Montserrat-Regular', sans-serif; }

.emp_search_input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: none;
    border-bottom:1px solid #ededed;
    outline: none;
    font-family: 'Montserrat-Regular';
    background-color: #ededed;
}

.emp_list_container {
    max-height: 70vh;
    overflow-y: auto;
}

.chat_conv_window {
    position: fixed;
    bottom: 0;
    width: 320px;
    height: 42px;
    background: #ededed;
    border: 1px solid #d0d0d0;
    border-top-left-radius:4px;
    display: flex;
    flex-direction: column;
    z-index: 1100;
}

.chat_conv_window.expanded {
    height: 60vh;
}

.chat_conv_header {
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap:8px;
}

.chat_conv_photo {
    width:32px;
    height:32px;
    border-radius:50%;
    border:1px solid #909192;
}

.chat_conv_name {
    font-family:'Montserrat-Bold', sans-serif;
    font-size:12px;
    flex:1;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

/* close icon inside conversation header */
.chat_conv_close{
    width:16px;
    height:16px;
    cursor:pointer;
    filter:brightness(0.5);
    transition:filter 0.2s;
}
.chat_conv_close:hover{ filter:brightness(0); }

.chat_conv_body{
    flex:1;
    background:#fff;
    overflow-y:auto;
    border-top:1px solid #d0d0d0;
    padding:8px;
    font-family:'Montserrat-Regular', sans-serif;
    font-size:12px;
    color:#333;
}

/* ----- Conversation window footer (input bar) ---- */
.chat_conv_footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px 8px;
    border-top: 1px solid #d0d0d0;
    background: #ededed;
}

.chat_attach,
.chat_send {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.chat_input {
    flex: 1;
    resize: none;
    border: none;
    outline: none;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 12px;
    min-height: 32px;
    max-height: 120px;
    overflow-y: auto;
    padding: 4px 6px;
    border-radius: 4px;
    background: #fff;
}

/* ----- Chat messages ---- */
.msg_item {
    display: flex;
    margin-bottom: 6px;
    align-items: flex-end;
}

.msg_theirs { justify-content: flex-start; }
.msg_mine { justify-content: flex-end; }

.msg_photo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #909192;
    margin: 0 4px;
}

.msg_bubble {
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.3em;
    position: relative;
}

.msg_theirs .msg_bubble {
    background: #f2f2f2;
    color: #333;
    border-top-left-radius: 0;
}

.msg_mine .msg_bubble {
    background: #323537;
    color: #fff;
    border-top-right-radius: 0;
}

.msg_text { white-space: pre-wrap; }

.msg_time {
    font-size: 10px;
    opacity: 0.7;
    text-align: right;
    margin-top: 2px;
}

.chat_load_more{
    text-align:center;
    cursor:pointer;
    color:#323537;
    font-size:12px;
    padding:4px 0;
}
.chat_load_more:hover{ text-decoration:underline; }

.chat_pending_attachments{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:4px;
    width:100%;
}
.chat_attach_chip{
    background:#f2f2f2;
    border:1px solid #ccc;
    border-radius:4px;
    padding:2px 6px;
    font-size:11px;
    display:flex;
    align-items:center;
    gap:4px;
}
.chat_attach_chip .chip_remove{
    cursor:pointer;
    font-weight:bold;
}
.chat_attach_chip .chip_remove:hover{ color:#ef3f32; }

.chat_footer_row{
    display:flex;
    align-items:center;
    gap:6px;
}

.chat_send.disabled{
    opacity:0.3;
    pointer-events:none;
}

/* Status icon for sent/read messages */
.chat_message_status {
    width: 12px;
    height: 12px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Wrapper holding bubble and optional attachments */
.msg_content{
    display:flex;
    flex-direction:column;
}
.msg_mine .msg_content{ align-items:flex-end; }
.msg_theirs .msg_content{ align-items:flex-start; }

/* Attachments list below bubble */
.msg_attachments{
    margin-top:4px;
    font-size:11px;
    word-break:break-all;
}
.msg_attachments a{
    color:#0066cc;
    text-decoration:underline;
}
.msg_attachments a:hover{ text-decoration:none; }

.chat_conv_manage{
    width:18px;
    height:18px;
    cursor:pointer;
    filter:brightness(0.5);
    transition:filter 0.2s;
}
.chat_conv_manage:hover{ filter:brightness(0); }

/* --------- Chat AI window overrides --------- */
.chat_ai_window{
    border:none !important;
}
.chat_ai_window .chat_conv_header,
.chat_ai_window .chat_conv_body,
.chat_ai_window .chat_conv_footer{
    border:none !important;
}
.chat_ai_window .chat_conv_photo,
.chat_ai_window .msg_photo{
    border:none !important;
}
/* --------- end Chat AI overrides --------- */

/* ----- Agent selector (Helpdesk / Juridico) ----- */
.agent_selector {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom:4px;
}
.agent_option {
    font-size: 11px;
    padding: 3px 8px;
    border: 1px solid #999;
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
    color: #333;
    background: #fff;
    transition: background 0.2s, color 0.2s;
    flex: 1;
    text-align: center;
}
.agent_option_selected {
    background: #323537;
    color: #fff;
    border-color: #323537;
}
/* ----- end agent selector ----- */

/* ----- Brand selector (time / access) ----- */
.brand_selector {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    padding-right: 0.5rem;
}
.brand_option {
    font-size: 11px;
    padding: 3px 8px;
    border: 1px solid #999;
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
    color: #fff;
    background: #666;
    transition: background 0.2s, color 0.2s;
    flex: 1;
    text-align: center;
    text-decoration: none !important;
}
.brand_option_selected {
    background: #fff !important;
    color: #000 !important;
    border-color: #323537;
}
.brand_option:hover {
    background: #777;
    text-decoration: none !important;
}
.brand_option_selected:hover {
    background: #fff;
    color: #000 !important;
}
/* ----- end brand selector ----- */

/* Toolbar: ocultar nome do funcionário em mobile (≤767px) */
@media (max-width: 767px) {
    .employee_name {
        display: none !important;
    }
}

/* ------ DevExtreme dxList: custom hover/active background ------ */
.dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item.dx-state-focused {
    background-color: #ededed !important;
}
