/* ALERTAS */
.container_alertas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.data_alerta {
    align-items: end;
    justify-content: end;
    display: flex;
    margin-top: 0.5rem;
}

.card_alerta {
    background: #ffffff;
    color: #000000;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.card_alerta>span {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

/* ALERTAS */

/* PERFIL */
.perfil_header {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.div_foto_perfil {
    position: relative;
}

.div_espaco_perfil {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.div_foto_perfil img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #000000;
    position: relative;
}

.icone_camera {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #ffffff;
    color: #1b1f2a;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

.foto_input {
    display: none;
}

.dados_usuario h2 {
    margin: 0;
    font-size: 1.1rem;
}

.dados_usuario span {
    font-size: 0.9rem;
    color: #aaa;
}

.secao_perfil {
    background: #ffffff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.secao_perfil h3 {
    margin-bottom: 0.7rem;
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
}

.div_inputs_perfil {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.div_dois_perfil_vertical {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 140px;
}

.div_dois_perfil_vertical span {
    font-size: 14px;
}

.div_dois_perfil_vertical input {
    width: 100%;
    padding: 8px 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    background-color: white;
    box-sizing: border-box;
}

.div_dois_perfil_vertical input:focus {
    outline: 1px solid #00000070;
}

.acoes_perfil {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn_padrao {
    border: none;
    border-radius: 8px;
    padding: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn_salvar {
    background: linear-gradient(90deg, #ffcc00, #ffaa00);
    color: #1b1f2a;
}

.btn_logout {
    background: #212224;
    color: #ffffff;
}

.btn_excluir {
    background: #ff0000;
    color: #ffffff;
}

.linha_dupla {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.linha_dupla .div_dois_perfil_vertical {
    flex: 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal.hide {
    opacity: 0;
}

.modal-content {
    background-color: #3F444A;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.8rem 1.4rem;
    text-align: center;
    color: white;
    width: 90%;
    max-width: 330px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    animation: fadeInScale 0.3s ease forwards;
    transform: scale(0.9);
    box-sizing: border-box;
}

.modal-content h2 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #EAEAEA;
}

.icon-sucesso,
.icon-erro {
    font-size: 52px;
    margin-bottom: 1rem;
}

.icon-sucesso {
    color: #ddb40e;
}

.icon-erro {
    color: #ff4f4f;
}

.btn_modal {
    margin-top: 1rem;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    width: 100%;
    transition: 0.2s ease;
}

.btn_modal_erro {
    background-color: #E53935;
}

.btn_modal_sucesso {
    background: linear-gradient(90deg, #ffcc00, #ffaa00);
    color: black;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.87);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* PERFIL */

/* INDEX */
.card_rota {
    background: #ffffff;
    border-radius: 8px;
    padding: 0.8rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 14px;
}

.card_rota img {
    border-radius: 6px;
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.div_busca_index {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.select_busca_rota {
    min-width: 110px;
}

.data_rota {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 14px;
}

.titulo_local {
    font-weight: 500;
}

.descricao_rota {
    color: #434b55;
    font-weight: 400;
    font-size: 14px;
}

.icone_rota {
    color: #979797;
}

.titulo_rota {
    font-weight: 500;
}

.container_card_rota {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card_rota {
    position: relative;
}

.status_rota {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
}

.div_status_rota {
    position: relative;
    display: flex;
    flex-direction: column;
}

.status_pendente {
    background: #f59e0b;
}

.status_concluido {
    background: #22c55e;
}

.card_rota.concluido {
    opacity: 0.7;
}

.card_rota.concluido img {
    filter: grayscale(40%);
}

/* INDEX */

/* SERVICO */
.card_tipo_operacao {
    background: #ffffff;
    border-radius: 8px;
    padding: 0.8rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    font-size: 14px;
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.card_tipo_operacao i {
    font-size: 24px;
}

.div_tipo_operacao {
    display: flex;
    gap: 1rem;
}

.descricao_tipo_operacao {
    color: #434b55;
    font-weight: 400;
    font-size: 14px;
}

.div_titulo_tipo_operacao {
    background: #ffffff;
    border-radius: 8px;
    padding: 0.6rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    font-size: 14px;
    flex: 1;
    text-align: center;
    font-weight: 500;
}

.titulo_tipo_operacao {
    font-weight: 500;
}

.container_tipo_operacao {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card_mapa_servico {
    background: #ffffff;
    border-radius: 8px;
    padding: 0.8rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 14px;
}

.card_atendimento_servico {
    background: #ffffff;
    border-radius: 8px;
    padding: 0.8rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 14px;
}

.texto_destaque_servico {
    font-weight: 500;
}

.btn_abrir_mapa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #50A7DC, #3E98CC);
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.card_registro_entrada {
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lista_equipamentos {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card_equipamento {
    display: flex;
    gap: 10px;
    flex-direction: column;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.card_equipamento img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.nome_equipamento {
    font-weight: 600;
    display: block;
}

.descricao_equipamento {
    font-size: 12px;
    color: #6b7280;
}

#input_foto_entrada {
    display: none;
}

.observacao_servico {
    width: 100%;
    padding: 8px 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    background-color: white;
    box-sizing: border-box;
}

.div_dois_servico_vertical{
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.div_dois_servico_vertical span{
    font-size: 14px;
}

.btn_continuar_servico{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    background: #3E98CC;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.container_inputs_registro_servico{
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.div_voltar {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    min-height: 36px;
    min-width: 36px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    width: fit-content;
    cursor: pointer;
}

.div_voltar {
    display: none;
}

.container_equipamento{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.container_finalizacao{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.titulo_finalizacao{
    font-weight: 600;
}
/* SERVICO */

/* FINANCEIRO */
.card_financeiro {
    background: #ffffff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
    cursor: pointer;
    gap: 0.5rem;
}

.titulo_financeiro {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.valor_financeiro {
    font-size: 14px;
    font-weight: 700;
    width: max-content;
}

.valor_financeiro.gasto {
    color: #F70202;
}

.valor_financeiro.inicial {
    color: #0081FF;
}

.data_financeiro {
    font-size: 12px;
    color: #434b55;
}

.icone_acao {
    color: #6b7280;
    font-size: 14px;
}

.div_dados_financeiro {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.container_cards_financeiro {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.btn_adicionar_gastos {
    background-color: #3F444A;
    color: white;
    padding: 0.4rem;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container_informativos {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.div_informativos_financeiros {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0.4rem;
    border-radius: 8px;
    min-width: 96px;
    color: white;
}

.div_informativos_financeiros.inicial {
    background-color: #0081FF;
}

.div_informativos_financeiros.gasto {
    background-color: #F70202;
}

.div_informativos_financeiros.saldo {
    background-color: #007500;
}

.titulo_informativos_financeiros {
    font-size: 14px;
}

.valor_informativo_financeiro {
    font-weight: 600;
    font-size: 14px;
}

.titulo_inputs_cadastro {
    font-size: 14px;
}

.div_input_despesa {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.8;
    width: 14px;
    height: 14px;
    cursor: pointer;
    position: absolute;
    right: 4px;
}

input[type="date"] {
    position: relative;
    padding-right: 40px;
    font-size: 12px;
}

.modal_padrao {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
}

.modal_conteudo {
    background: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    padding: 16px;
    max-height: 90%;
    overflow: auto;
    scrollbar-width: none;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.modal_header i {
    cursor: pointer;
}

.modal_body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal_body input,
.modal_body select,
.modal_body textarea {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    box-sizing: border-box;
    gap: 1rem;
    border: 1px solid #ddd;
    transition: all 0.25s ease;
    outline: none;
}

.modal_footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn_cancelar {
    background: #3F444A;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    flex: 1;
    cursor: pointer;
    color: white;
}

.btn_salvar {
    background: #16a34a;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    flex: 1;
    cursor: pointer;
}

.preview_container {
    width: 100%;
    aspect-ratio: 1 / 1.3;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.preview_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.texto_preview {
    font-size: 12px;
    color: #7b7b7b;
}

#input_comprovante {
    display: none;
}

.btn_upload_comprovante {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    background: #3E98CC;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 0rem;
    margin-bottom: 0.5rem;
}

.campo_visualizacao {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.campo_visualizacao .label {
    font-size: 14px;
}

.campo_visualizacao span {
    font-size: 14px;
}

.imagem_visualizacao {
    width: 100%;
    aspect-ratio: 1 / 1.3;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* FINANCEIRO */


/* OCORRÊNCIAS */

.container_ocorrencias {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card_ocorrencia {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.topo_ocorrencia {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tipo_ocorrencia {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.tipo_ocorrencia.impeditiva {
    background: #fee2e2;
    color: #dc2626;
}

.tipo_ocorrencia.impeditiva_img {
    background: #fee2e2;
    color: #dc2626;
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 12px;
}

.tipo_ocorrencia.normal {
    background: #e0f2fe;
    color: #0284c7;
}

.data_ocorrencia {
    font-size: 12px;
    color: #9ca3af;
}

.local_ocorrencia {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    display: flex;
    gap: 6px;
    align-items: center;
}

.descricao_ocorrencia {
    font-size: 13px;
    color: #4b5563;
}

.card_rota_ocorrencia {
    background: #f9fafb;
    border-radius: 8px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    gap: 0.4rem;
    font-size: 14px;
}

.footer_ocorrencia {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.info_ocorrencia {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

.box_info {
    background: #f9fafb;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #111827;
    border: 1px solid #ddd;
}

.fotos_visualizacao {
    display: flex;
    align-items: center;
    overflow: auto;
    gap: 1rem;
}

.img_foto_ocorrencia {
    aspect-ratio: 1/1;
    width: 160px;
    border-radius: 8px;
}

/* OCORRÊNCIAS */