:root {
    --white: #fff;
    --primary_escuro: #000000;
    --primary: #000000;
    --primary_hover: #272727;
    --secondary: #758694;
    --warning: #ffb803;
    --rose: #cdb380;
    --danger: #700c03;
    --light: #FFF8F3;
}

.instrucoes{
    --bs-link-color-rgb: var(--bd-callout-link);
    --bs-code-color: var(--bd-callout-code-color);
    padding: 0.85rem;
    margin-bottom: 0.55rem;
    color: var(--bd-callout-color, inherit);
    background-color: var(--bd-callout-bg, var(--bs-gray-100));
    border-left: 0.25rem solid var(--bd-callout-border, var(--bs-gray-300));
    --bd-callout-color: #664d03;
    --bd-callout-bg: #fff3cd;
    --bd-callout-border: #ffe69c;
    font-size: 15px;
}

.form-check-input.toggle-switch {
    width: 50px;
    height: 25px;
    position: relative;
    appearance: none; 
    background-color: #ccc;
    border-radius: 25px;
    transition: background-color 0.3s;
    cursor: pointer;
    margin: 2px 8px -7px -11px;
}

.form-check-input.toggle-switch::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: white;
    top: 3px;
    left: 4px;
    transition: transform 0.3s;
}

.form-check-input.toggle-switch:checked {
    background-color: #eeb600;
}

.form-check-input.toggle-switch:checked::before {
    transform: translateX(25px);
}

.instrucoes-caso{
    font-size: 14px;
    background-color: #fff8e1;
    padding: 9px;
}

.aviso-relatorio{
    border-radius: 6px;
    border: 1px solid #e1e1e1;
    border-left: 3px solid #FFC107;
}

.mapa-vitima{
    height: 575px;
    position: relative;
    outline-style: none;
    border: 5px solid #e8e8e8;
}

.mapa-local-de-crime-dash{
    height: 485px;
    position: relative;
    outline-style: none;
    border: 5px solid #e8e8e8;
}

.mapa-local-de-crime{
    height: 420px;
    position: relative;
    outline-style: none;
    border: 5px solid #e8e8e8;
}

.mapa-camera{
    height: 700px;
    position: relative;
    outline-style: none;
    border: 5px solid #e8e8e8;
}

.legenda-carrosel{
    color: #eab000;
    font-weight: 900;
    text-shadow: 0.1em 0.1em 0.05em #6d6d6d;
    font-size: 20px;
}

.cor-vales {
    color: var(--warning);
    font-weight: 800;
}

.cor-sistema{
    background-color: black;
}

.cor-preta{
    color: var(--primary_escuro);
}

.cor-primaria{
    background-color: var(--primary) !important;
}

.fundo-vermelho{
    background-color: var(--danger) !important;
}

.cor-vermelha{
    color: var(--danger) !important;
}

#olho{
    float: right;
    color: #777777ba;
    margin: -34px 19px 0px 0px;
    cursor: pointer;
}

.rotacao{
    transform: rotate(0deg);
}


.rip-branco{
    vertical-align: middle;
    border-style: none;
    width: 150px;
}

.icone-pcrn{
    vertical-align: middle;
    border-style: none;
    width: 60px;
}

.mrg{
    margin-left: 0rem !important;
    margin-right: 0rem !important;
}

.brasao-login{
    margin: 0px -15px 15px -17px;
}

.cursor{
    cursor: pointer;
}

.erro-validacao{
    color: var(--danger);
    font-size: 12px;
    font-weight: 700;
}

.erro{
    background-color: #700c03;
    color: white;
}

.fundo-branco{
    background-color: white;
}

.fundo-branco i::after{
    content: '+';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: 600;
    color:var(--warning);
}

.instrucoes{
    font-size: 13px;
    color: var(--primary_escuro);
    margin-top: 6px;
    text-align: justify;
    padding: 3px;
}

.text-dark{
    color: black !important;
}

.titulo-secao {
    background-color: var(--warning);
    color: black;
    border-radius: 5px !important;
}

.escala-media{
    scale: 1.3;
}

.marcador-cinza{
    background-color: #fffdf6;
    border-radius: 5px;
    padding: 7px;
}

.acesso-pessoal{
    margin-top: -3px;
    margin-bottom: 5px;
    font-size: 13px;
    color: #01ac48;
    font-weight: 600;
}

.header-caso{
    background-color: #e8e8e8;
    padding: 10px;
    border-radius: 5px;
}

.ql-editor {
    font-size: 20px;
}

.bg-amarelo-claro {
    background-color: #ffebb1 !important;
}

.accordion-button::after {
    flex-shrink: 0;
    width: 0.75rem;
    margin-left: auto;
    content: "";
    background-repeat: no-repeat;
    background-size: 0.75rem;
    transition: transform 0.2s ease-in-out;
    content: '+';
    font-weight: 900;
    font-size: 20px;
    color: #FF9800;
}

.vitima-foto {
    width: 100px;
    height: 100px;
    margin-top: -65px;
    transition: transform 0.5s;
}

.vitima-foto-ampliar:hover {
    transform: scale(1.7); 
    transition: transform 0.5s;
}

.cor-branca{
    background-color: white !important;
}

.tutorial-mci {
    font-size: 14px;
    padding: 0.85rem;
    margin-bottom: 0.55rem;
    color: var(--bd-callout-color, inherit);
    background-color: var(--bd-callout-bg, var(--bs-gray-100));
    border-left: 0.25rem solid var(--bd-callout-border, var(--bs-gray-300));
    --bs-link-color-rgb: var(--bd-callout-link);
    --bs-code-color: var(--bd-callout-code-color);
    --bd-callout-color: #664d03;
    --bd-callout-bg: #fff3cd;
    --bd-callout-border: #ffe69c;
}

.bootstrap-select .dropdown-toggle {
    background-color: #fff !important;
    border: 1px solid #ced4da !important; 
    color: #495057 !important; 
    height: 38px !important; 
}
.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select .dropdown-toggle:hover {
    box-shadow: none !important;
}

.selectpicker {
    position: relative;
    z-index: 1050; /* Certifique-se de que está acima do mapa */
}


.titulo-secao-tutorial {
    background-color: #ffb700;
    color: black;
    border-radius: 9px !important;
}

input[type="checkbox"] {
    accent-color: black;
}


.acesso-excecoes{
    margin-top: -3px;
    margin-bottom: 5px;
    font-size: 13px;
    color: #b91c00;
    font-weight: 600;
}

.texto-cortado {
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    max-width: 200px; 
}

.icone-top-menu-documento{
    color: #ffffff;
    margin-right: 10px;
}

.icone-top-menu-grafico{
    color: #000000;
    margin-right: 10px;
}

.icone-top-menu-documento:hover{
    color: var(--warning) !important;
}

.font-13{
    font-size: 13px;
}

.font-12{
    font-size: 12px;
}

.fundo-cinza-claro{
    background-color: #f8f8f8;
}

.cor-cinza-claro{
    color: #d6d6d6;
}

.fundo-amarelo-claro{
    background-color: #fff8e6;
}

.bola-verde{
    width: 18px;
    height: 18px;
    display: inline-block;
    background-color: rgb(1, 112, 1);
    border-radius: 16px;
    margin-bottom: -3px;
}

.bola-vermelha{
    width: 18px;
    height: 18px;
    display: inline-block;
    background-color: #970000;
    border-radius: 16px;
    margin-bottom: -3px;
}

.data-hora-log{
    font-size: 12px;
    font-weight: 700;
}

.titulos{
    border-left: 8px solid #fec500;
    padding-left: 8px;
    font-weight: 700;
    font-size: 24px;
}

.amarelo-weight{
    color: var(--warning);
    font-weight: 700;
}

.fw-8{
    font-weight: 800;
}

.overflow-hide{
    overflow: hidden;
}

.ribbon {
    width: 160px;
    height: 32px;
    font-size: 12px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    box-shadow: 0px 2px 3px rgba(136, 136, 136, 0.25);
    background: #f3af02;
    transform: rotate(45deg);
    position: absolute;
    right: -42px;
    top: 20px;
    padding-top: 7px;
}


.img-sigep{
    width: 440px;
    height: 215px;
    margin-top: 40px;
}

.zoom-container {
    position: relative;
    overflow: hidden; 
    border-radius: 18px; 
}

.zoom-container img {
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

#modalMapaEscolherLatLon {
    z-index: 1051 !important; 
}


.cabecalho{
    background-color: #f3f3f3;
    margin: -16px;
    padding: 17px;
    margin-bottom: 20px;
}

.instrucoes-localizacao {
    --bs-link-color-rgb: var(--bd-callout-link);
    --bs-code-color: var(--bd-callout-code-color);
    padding: 0.85rem;
    margin-bottom: 0.55rem;
    color: var(--bd-callout-color, inherit);
    background-color: var(--bd-callout-bg, var(--bs-gray-100));
    border-left: 0.25rem solid var(--bd-callout-border, var(--bs-gray-300));
    --bd-callout-color: #664d03;
    --bd-callout-bg: #fff3cd;
    --bd-callout-border: #ffe69c;
    font-size: 14px;
}

.natureza{
    color: #9c0000;
    text-decoration: underline;
    font-size: 14px;
}

.header{
    font-weight: 700;
    background-color: #fff5e7;
    padding: 11px;
    border-radius: 5px;
    font-size: 14px;
}

.zoom-container:hover img {
    transform: scale(1.5); 
    filter: brightness(1.2);
}

 /* Estilos para o modal lateral */
 .modal.left .modal-dialog {
    position: fixed;
    margin: 0;
    top: 0;
    left: 0;
    height: 100%;
    transform: translate3d(0, 0, 0);
  }

  .modal.left .modal-content {
    height: 100%;
    overflow-y: auto;
    border-radius: 0;
  }

  .modal.left .modal-body {
    padding: 15px 15px 80px;
  }

  /* Animações para o modal */
  .modal.left.fade .modal-dialog {
    left: -100%;
    transition: all 0.3s ease-out;
  }

  .modal.left.fade.show .modal-dialog {
    left: 0;
  }

.aviso-carregamento-recaptcha{
    display: block;
    color: rgb(175 2 2);
    font-size: 15px;
    text-align: center;
    margin-top: 5px;
}
 
.instrucoes-dash {
    color: #6c6c6c;
    font-size: 13px;
    text-align: justify;
    padding: 2px;
    margin-top: -4px;
}

/* Tela de fundo branca cobrindo o conteúdo */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 1s ease-out, visibility 1s ease-out;
}

/* Inicialmente visível */
#preloader.show {
    opacity: 1;
    visibility: visible;
}

/* Classe que some com suavidade */
#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

/* Spinner no centro */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #000000; 
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 250px;
}

@media screen and (max-width: 770px) {
    .spinner {
        width: 50px;
        height: 50px;
        border: 5px solid rgba(0, 0, 0, 0.1);
        border-top: 5px solid #000000; 
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-right: 0px;
    }
}

/* Animação do Spinner */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
