﻿/* Gerais */

html {
    -webkit-text-size-adjust: 100%;
}

body, html {
    overflow: hidden; 
    height: 100%;
}

:root {
    --largura-colapsado: 70px;
    --transition-padrao: 0.35s ease;
    --cor-padrao-sistema: #696969;
    --secondary-subtle: #e2e3e5;
}

.cor-padrao-sistema {
    background-color: #696969 !important;
    color: white !important;
}

.borda-padrao-sistema {
    border-color: #696969 !important;
}

.fonte-padrao-sistema {
    color: #696969 !important;
}

.no-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.no-scrollbar {
    -ms-overflow-style: none; /* IE e Edge antigo */
    scrollbar-width: none; /* Firefox */
}

.container-body {
    min-width: calc(100vw - 40px);
    padding-left: 40px;
    padding-right: 20px;
}
    .container-body iframe {
        height: 80%;
    }

.container-abasAbertas {
    min-width: calc(100vw - 40px);
    padding-left: 40px;
    padding-right: 20px;
}

.clicavel, .foco-container {
    cursor: pointer;
}

    .clicavel:hover {
        color: #757575;
        transition: background-color 0.35s ease;
    }

#tabs {
    width: 100%;
    height: 100vh;
}

.header-panel {
    min-height: 73px !important   ; /* Altura fixa para alinhar os três */
    display: flex;
    align-items: center;
    padding: 0 1rem;
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
}

.um-terco {
    flex: 0 0 33%;
}

.altura-tela {
    max-height: calc(100vh - 50px);
}

.table-wrapper {
    max-height: 60%;
    max-width: auto;
}

.table-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.um-quarto {
    flex: 0 0 20%;
}

.painel-conteudo {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

/* LayoutIndex */
.transicao-layout {
    transition: all 0.35s ease-in-out;
}

#home {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: auto;
}

#home.hiding {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 60px;
    transition: width 0.35s;
    z-index: 5;
    background-color: white;
}

#sidebar {
    padding-top: 0 !important;
}

#ciretran {
    margin-top: 0;
}

#sidebar.expanded {
    width: 250px;
}
#sidebar.expanded #icone-pesquisa {
    display: none;
}

#sidebar.expanded #ciretran {
    display: none;
}

#sidebar:not(.expanded) #icone-pesquisa {
    display: block;
}

#selecaoPerfil {
    order: -1;
}

.perfil-btn {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
}

.check-selecionado {
    display: none;
}

.perfil-item.ativo .check-selecionado {
    display: block;
}

.sidebar-text {
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.2s;
}

#sidebar.expanded .sidebar-text {
    opacity: 1;
}

.ciretran:hover {
    background-color: #f8f9fa;
    border-radius: 5px;
}

.sidebar-collapsed #selecaoPerfil {
    display: none !important;
}

.sidebar-collapsed .sidebar-text {
    pointer-events: none;
}

.expanded .sidebar-text {
    pointer-events: auto;
}

/* AreaRestrita/Index */
.fixed-top {
    position: fixed;
    width: 100vw;
    background-color: white;
    z-index: 3;
    top: 0;
    left: 0;
}

.cabecalho {
    height: 40px !important;
    width: 100%;
}

.fixed-bottom {
    position: fixed;
    width: 100vw;
    background-color: white;
    z-index: 3;
    bottom: 0;
    left: 0;
}

.img-noticia {
    min-height: 100px;
    max-height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.img-icone-pequeno {
    width: 17px;
    height: 17px;
}

.img-icone-medio {
    width: 24px;
    height: 24px;
}

.img-icone-grande {
    width: 30px;
    height: 30px;
}

.divider {
    width: 15%;
    height: 5px;
    background-color: #606060;
    margin: 20px 0;
    border-radius: 4.5px;
}

.no-highlight-input:focus {
    outline: none;
    box-shadow: none;
}

.hide {
    display: none;
}

#etapa-container {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow: hidden;
}

/* Focos */
.story-novo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box, linear-gradient(45deg, #0b3d2e, #136f3a, #1faa59) border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative; 
}

    .story-novo .info-story {
        position: absolute; 
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

        .story-novo .info-story .img-carro {
            height: 18px;
            width: 41px;
        }

        .story-novo .info-story .img-moto {
            height: 17px;
            width: 27px;
        }

    .story-novo .placa-moto {
        background-image: url('/img/placa-moto.png');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        height: 46px;
        width: 46px;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        justify-content: end;
    }

        .story-novo .placa-moto p {
            margin: 0;
            font-size: 15px;
            font-weight: bold;
            text-align: center;
            word-break: break-all; 
            line-height: 1.1;
            color: #000;
            width: 100%;
            padding: 4px;
            padding-top:6px;
            padding-bottom:3px;
        }

    .story-novo .placa-carro {
        background-image: url('/img/placa-carro.png');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        height: 28px;
        width: 70px;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        justify-content: end;
    }

        .story-novo .placa-carro p {
            margin: 0;
            font-size: 15px;
            font-weight: bold;
            text-align: center;
            word-break: break-all; 
            line-height: 1.1;
            color: #000;
            width: 100%;
            padding-top:6px;
            padding-bottom:3px;
        }

    .story-novo .cor-story-top {
        height: 65%;
        width: 100%;
    }

    .story-novo .cor-story-bottom {
        height: 35%;
        width: 100%;
    }

.story {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box, linear-gradient(45deg, #0b3d2e, #136f3a, #1faa59) border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .story img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }

.story-foco {
    width: 50px;
    height: 50px;
    border: 1px solid green;
    background: linear-gradient(white, white) padding-box, linear-gradient(45deg, #0b3d2e, #136f3a, #1faa59) border-box;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}

    .story-foco img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 1px solid white;
        object-fit: cover;
    }

    .story-foco i {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 1px solid white;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        color: #136f3a;
    }

.story-evento {
    width: 20px;
    height: 20px;
    border: 1px solid green;
    background: linear-gradient(white, white) padding-box, linear-gradient(45deg, #0b3d2e, #136f3a, #1faa59) border-box;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

    .story-evento img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 1px solid white;
        object-fit: cover;
    }

    .story-evento i {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 1px solid white;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        color: #136f3a;
    }

.story-icone {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 3px solid transparent;
    background-color: #696969;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .story-icone img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }

.story-debito {
    width: 50px;
    height: 50px;
    border: 1px solid #575555;
    background: linear-gradient(white, white) padding-box, linear-gradient(45deg, #0b3d2e, #136f3a, #1faa59) border-box;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}

    .story-debito img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 1px solid white;
        object-fit: cover;
    }

    .story-debito i {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 1px solid white;
        background: #f0f0f0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        color: #898585;
    }

.menu-eventos {
    margin-top: 5px;
    padding-left: 1rem;
    margin-left: 1.5rem;
    border-left: 1.6px solid #e0e0e0;
}

.menu-etapas {
    margin-top: 5px;
    padding-left: 1rem;
    border-left: 2px solid #e0e0e0;
    margin-left: 0.58rem;
}

.story.viewed {
    background: gray;
}


.story-noticia {
    width: 60px;
    height: 60px;
}


.list-group-item {
    border: none;
    border-bottom: 1px solid #f8f9fa;
    padding: 1.25rem 1rem;
}

.icon-box {
    width: 40px;
    font-size: 1.5rem;
}

.text-step {
    font-size: 0.85rem;
}

.etapa {
    min-height: 40px !important;
}

.timeline-container-v2 {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 400px;
    background: #fff;
}

.timeline-container {
    max-width: 400px;
    background: #fff;
}

.timeline-container-v2::before {
    content: "";
    position: absolute;
    top: 24px; /* metade do primeiro círculo */
    bottom: 24px;
    left: 30px; /* centro do círculo */
    width: 2px;
    background-color: gray;
    z-index: 0;
}

.timeline-item {
    position: relative;
    padding-left: 55px;
    padding-bottom: 15px;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.timeline-item-success:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 32px;
    top: 0%;
    bottom: 0%;
    width: 5px;
    border-left: 2px dashed #198754;
    transform: translateX(-50%);
}

.timeline-item-warning:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 32px;
    top: 0%;
    bottom: 0%;
    width: 5px;
    border-left: 2px dashed #FFC107;
    transform: translateX(-50%);
}

.timeline-item-secondary:not(:last-child)::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 32px;
    top: 0%;
    bottom: 0%;
    width: 2px;
    border-left: 2px dashed #6C757D;
    transform: translateX(-50%);
}

.timeline-item-v2 {
    position: relative;
    padding-left: 55px;
    padding-bottom: 10px;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.timeline-item-v2:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 32px;
    top: 0%;
    bottom: 0%;
    width: 5px;
    border-left: 2px dashed #28a745;
    transform: translateX(-50%);
}

.timeline-item-warning-v2 {
    position: relative;
    padding-left: 55px;
    padding-bottom: 15px;
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.timeline-item-warning-v2:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 32px;
    top: 50%;
    bottom: -50%;
    width: 5px;
    border-left: 2px dashed rgba(255, 193, 7, 1);
    transform: translateX(-50%);
}

.timeline-item-secondary-v2 {
    z-index: 1;
    position: relative;
    padding-left: 55px;
    padding-bottom: 5px;
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.timeline-item-secondary-v2:not(:last-child)::before {
    position: relative;
    z-index: 1;
    content: "";
    left: 32px;
    top: 0%;
    bottom: 0%;
    width: 2px;
    border-left: 2px dashed #696969;
    transform: translateX(-50%);
}

.timeline-item-sem-borda {
    position: relative;
    padding: 10px;
    padding-left: 55px;
    min-height: 30px;
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.icon-circle {
    position: absolute;
    z-index: 2;
    left: 10px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

/* Etapa Concluída */
.icon-circle-completed {
    background-color: #188657;
    border: 2px solid #188657 !important;
    color: #f0fdf4;
}

/* Etapa em Andamento */
.icon-circle-progress {
    border: 2px solid #188657 !important;
    background-color: #f0fdf4;
    color: #4c4c4c;
}

/* Etapa Pendente */
.icon-circle-pending {
    background-color: #efeeee;
    border: 2px solid #ccc !important;
    color: #6e6969;
}

.icon-select {
    font-size: 24px !important;
}

.item-text {
    font-weight: 500;
    color: #333;
    flex-grow: 1;
    margin-left: 10px;
    text-align: left;
}

.chevron {
    color: #ccc;
    font-size: 1.2rem;
}

.asterisk {
    color: red;
    margin-left: 2px;
}

/* Botão sair*/

.icones {
    font-size: 1.5rem;
    color: black;
    white-space: nowrap;
}

.texto-caixa {
    font-size: 1rem;
}

.sair {
    font-size: 1.5rem;
    color: red;
    cursor: pointer;
}

.configuracoes {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 450px;
    z-index: 1060;
    background: white;
    border-right: 1px solid #dee2e6;
    box-shadow: 4px 0 16px rgba(0,0,0,0.12);
    flex-direction: column;
    overflow-y: auto;
}

#container-menu-icones {
    margin-top: 1rem !important;
}

.container-corpo {
    border-bottom: 1px solid #f0f0f0;
}

.configuracoes-filho {
    display: flex;
    flex-direction: column;
}

.configuracoes-filho:hover {
    background: #f8f9fa;
}

.pesquisa-pai {
    display: flex;
    flex-direction: column;
    height: calc(100% - 60px);
}

.pesquisa-filho {
    width: 100%;
    height: 100%;
    border: none;
}

.container-externo {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0
}

.container-interno {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    cursor: pointer;
    transition: background 0.15s;
    justify-content: space-between;
}

.container-interno .icones,
.container-interno i {
    width: 28px;
    text-align: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.container-interno a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.sidebar-header{
    min-height: 90px;
}


.sidebar-item {
    height: 54px;
    border-radius: 0.375rem;
}

    .sidebar-item:hover {
        cursor: pointer;
        background-color: #eaeaea;
        transition: all 0.35s ease;
    }


    .sidebar-item.sidebar-header:hover {
        background-color: transparent;
    }

    .js-cardPesquisa > .sidebar-item:hover {
        background-color: transparent;
    }


.girando {
    display: inline-block;
    animation: girar 0.5s linear;
}

@keyframes girar {
    from { transform: rotate(0deg); }
    to {transform: rotate(180deg); }
}

.ciretran {
    cursor: pointer;
}

/* Parte de notificações na tela inicial */

.painelNotificacao {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 350px;
    z-index: 1060;
    background: white;
    border-right: 1px solid #dee2e6;
    box-shadow: 4px 0 16px rgba(0,0,0,0.12);
    flex-direction: column;
    overflow-y: auto;
}

.notificacao-cabecalho {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.notificacao-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
}

.notificacao-conteudo {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.notificacao-linha {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notificacao-titulo {
    font-weight: 600;
    color: #212529;
    font-size: 0.875rem;
}

.notificacao-descricao {
    color: #6c757d;
    font-size: 0.82rem;
}

.notificacao-tempo {
    font-size: 0.75rem;
    color: #adb5bd;
    white-space: nowrap;
    margin-top: 2px;
}

.btn-verMensagens {
    width: 100%;
    padding: 10px;
    border: none;
    background: transparent;
    color: #0d6efd;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.btn-verMensagens:hover {
    background: #f8f9fa;
}

.menu {
    margin-top: 4rem;
}

.menu-focos {
    width: 100%;
}

.menu-focos-item {
    color: inherit;
    transition: background 0.15s;
    position: relative;
}

.menu-focos-item:hover {
    border-left: 3px solid transparent;
    color: inherit;
    transition: background 0.15s;
}

.menu-focos-item-ativo {
    border-left-color: blue;
}

.menu-focos-label {
    font-size: 22px;
    font-weight: 600;
    color: #222;
}

.menu-focos-sublabel {
    font-size: 10px;
    color: #1D9E75;
}

.menu-focos-secondary {
    font-size: 10px;
    color: #716868;
}

.menu-content-item {
    border-bottom: none;
}

.menu-content-item-child {
    border-bottom: none
}

.menu-content-item a {
    color: #333;
    font-size: 14px;
    transition: background 0.15s;
}

.menu-content-item a:hover {
    background-color: #f8f9fa;
}

.menu-content-icon--teal {
    border-color: #1D9E75;
    color: #1D9E75;
}

.menu-content-icon--amber {
    border-color: #e6a817;
    color: #e6a817;
}

.menu-navegacao {
    display: flex;
    position: fixed;
    top: 0;
    left: 450px;
    height: 100vh;
    width: 250px;
    z-index: 1060;
    background: white;
    border-right: 1px solid #dee2e6;
    box-shadow: 4px 0 16px rgba(0,0,0,0.12);
    flex-direction: column;
    overflow-y: auto;
}

.js-container-item.fixado .menu-navegacao {
    display: block !important;
}

/* Essa parte diz respeito à busca realizada no menu de pesquisa */
.item-selecionado-busca {
    background-color: #f8f9fa !important;
    border-left: 4px solid #ffc107 !important;
    font-weight: bold;
}

.historico-item:hover {
    background-color: var(--bs-gray-100);
    border-radius: 6px;
}

.pesquisa-historico {
    border-bottom: 1px solid var(--bs-gray-200);
    padding-bottom: 8px;
}

.paginaForm {
    flex: 1 1 0;
    min-width: 0;
    transition: flex 0.3s ease;
}
.foco-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.foco-scroll {
    display: flex;
    gap: 16px;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 8px 4px;
    flex: 1;
}

.foco-scroll > div {
    scroll-snap-align: start;
    flex-shrink: 0;
}

.botao {
    flex-shrink: 0;
    margin-bottom: 1.6rem;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    z-index: 2;
    user-select: none;
    transition: background 0.2s;
}

.botao:hover {
    background: #f0f0f0;
}

.botao.hidden {
    visibility: hidden;
    pointer-events: none;
}

.etapa.ativo {
    border-left: 4px solid #198754 !important;
    background-color: #f0fdf4 !important;
    border-radius: 0;
}

.linha-lista {
    text-align: right;
    padding: 4px 12px 4px 0;
    white-space: nowrap;
    vertical-align: top;
    width: 1%;
}

/* Classe para ocultar a barra de rolagem visualmente */
.scroll-oculto {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scroll-oculto::-webkit-scrollbar {
    display: none;
}

.scroll-invisivel {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-invisivel::-webkit-scrollbar {
    display: none;
}

#painelExtrato, .formulario {
    transition: all 0.3s ease-in-out !important;
}
.input-box {
    position: relative;
    width: 250px;
}

    .input-box input, .input-box textarea, .input-box select, .input-box form-check-input{
        width: 100%;
        padding: 10px;
        border: 2px solid #ccc;
        border-radius: 6px;
        outline: none;
    }

    .input-box label {
        position: absolute;
        top: -8px;
        left: 10px;
        background: white;
        padding: 0 5px;
        font-size: 12px;
        color: #555;
    }

.table-slim {
    width: 100%;
    margin-top: 12px;
    margin-bottom: 12px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    border-collapse: separate; 
    border-spacing: 0; 
    overflow: hidden; 
}
.table-slim p{
    margin: 0;
}

.table-slim th {
    background-color: var(--secondary-subtle) !important;
}

.table-slim td {
    padding-top: 3px;
}


input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

.placa-wrapper {
    position: relative;
    display: inline-block;
}

.img-carro {
    display: block;
}

.placa-numero {
    position: absolute;
    bottom: 18%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.6rem;
    font-weight: 900;
    font-family: 'FE-Schrift', 'Arial Black', sans-serif;
    letter-spacing: 4px;
    color: #000;
    white-space: nowrap;
}