/* 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;
    background: #ffffff;
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid #80808021;
}

.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;
    border: 1px solid #80808085;
}

.foto_input {
    display: none;
}

.dados_usuario h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

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

.secao_perfil {
    background: #ffffff;
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid #80808021;
}

.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: none;
}

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

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

.btn_salvar {
    background: #000064;
    color: #ffffff;
}

.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: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    color: #000000;
    width: 90%;
    max-width: 330px;
    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: #000000;
    margin-top: 0.5rem;
}

.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;
}

.lista_cartoes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.card_cartao {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

.acoes_cartao i {
    cursor: pointer;
    background-color: red;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 0.4rem;
}

.modal-content input {
    width: 100%;
    padding: 12px 14px;
    margin-top: 10px;
    border-radius: 12px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
    transition: 0.2s;
}

.modal-content input:focus {
    outline: none;
}

.modal-content button {
    margin-top: 14px;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: #2D3798;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

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

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

/* PERFIL */

/* INDEX */
.lista_veiculos {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card_veiculo {
    border: 1px solid #E6E7E8;
    background-color: white;
    border-radius: 12px;
    padding: 0.8rem;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    cursor: pointer;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.card_veiculo img {
    width: 60px;
}

.info_veiculo {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.info_veiculo strong {
    font-weight: 600;
}

.card_top {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
}

.icon {
    margin-left: auto;
    transition: 0.3s;
}

.card_detalhes {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
    box-sizing: border-box;
}

.card_veiculo.ativo .card_detalhes {
    display: flex;
}

.card_veiculo.ativo .icon {
    transform: rotate(180deg);
}

.titulo_opcao {
    font-weight: 600;
    font-size: 13px;
}

.linha_opcao {
    font-size: 13px;
    color: #666;
}

.peso {
    font-size: 12px;
    color: #2D3798;
    font-weight: 600;
}

.card_opcao {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    border: 1px solid #E6E7E8;
    border-radius: 12px;
    padding: 0.6rem;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.div_endereco_partida {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.div_inputs_busca_partida {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #80808021;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    background-color: white;
}

.div_inputs_busca_partida input {
    padding: 0.4rem;
    width: 100%;
}

.div_inputs_busca_partida input:focus {
    outline: none;
    border: none;
}

.div_endereco_partida i {
    color: #2D3798;
}

.btn_padrao_aplicativo {
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s;
    width: 100%;
}

.btn_padrao_aplicativo.voltar {
    background-color: #000000;
    color: white;
    border: none;
}

.btn_padrao_aplicativo.finalizar {
    background-color: #000064;
    color: white;
    border: none;
}

.div_btn_acoes_busca {
    display: flex;
    align-items: center;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
}

.card_veiculo.selecionado {
    border: 1px solid #2D3798;
}

.card_opcao.selecionado {
    border: 1px solid #2D3798;
}

.box_ajudante {
    display: flex;
    justify-content: space-between;
    background-color: white;
    align-items: center;
    border: 1px solid #E6E7E8;
    padding: 0.8rem;
    border-radius: 12px;
    gap: 1rem;
}

.info_ajudante {
    display: flex;
    flex-direction: column;
}

.titulo_ajudante {
    font-weight: 500;
    font-size: 14px;
}

.valor_ajudante {
    font-size: 12px;
    color: #666;
}

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

.btn_ajudante {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #000064;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

#qtdAjudante {
    width: 40px;
    text-align: center;
    border: none;
    font-weight: 600;
    font-size: 16px;
}

.total_ajudante {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 14px;
    color: #000064;
}

.total_ajudante strong {
    font-weight: 600;
}

.btn_selecionar_outro_veiculo {
    background: #ffffff;
    border: 1px solid #80808021;
    color: #000;
    padding: 0.8rem;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    width: 100%;
    font-size: 14px;
}

#div_campos_agendamento {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
}

.inputs_agendamento {
    display: flex;
    flex-direction: column;
}

.inputs_agendamento input {
    border: 1px solid #E6E7E8;
    border-radius: 12px;
    padding: 0.8rem;
    display: flex;
    gap: 0.8rem;
    align-items: start;
    cursor: pointer;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.inputs_agendamento input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 10px;
}

.inputs_agendamento span {
    margin-bottom: 0.3rem;
    font-size: 14px;
}

.inputs_agendamento input:focus {
    outline: none;
}

.div_tipo_solicitacao {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.container_step_02 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input_group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input_group_resumo_pedido {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.input_group input,
.input_group textarea {
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #80808021;
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
}

.input_group input:focus {
    outline: none;
}

.input_group textarea:focus {
    outline: none;
}

textarea {
    min-height: 80px;
    resize: none;
}

.upload_box {
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border: 1px solid #80808021;
    gap: 5px;
}

.upload_box i {
    font-size: 20px;
    color: #555;
}

.preview_fotos {
    display: none;
    gap: 10px;
    flex-wrap: wrap;
    grid-template-columns: 1fr 1fr;
}

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

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

.switch {
    position: relative;
    width: 45px;
    height: 25px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    background: #ccc;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    transition: .3s;
}

.slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: .3s;
}

.switch input:checked+.slider {
    background: #000;
}

.switch input:checked+.slider::before {
    transform: translateX(20px);
}

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

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

.item_check {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #80808021;
}

.texto_completar_cadastro {
    font-size: 14px;
}

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

.img_item {
    position: relative;
    width: 100%;
}

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

.btn_remover {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgb(255 0 0 / 80%);
    border: none;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 12px;
    cursor: pointer;
}

.lista_notas {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.item_nota {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #80808021;
}

.info_nota {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    font-size: 14px;
}

.info_nota i {
    color: #555;
}

.btn_remover_nota {
    background: rgb(255 0 0 / 80%);
    border: none;
    color: white;
    border-radius: 50%;
    min-width: 22px;
    min-height: 22px;
    font-size: 12px;
    cursor: pointer;
}

.nome_arquivo_notas {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.container_step_03 {
    display: flex;
    flex-direction: column;
}

.box_resumo_pedido {
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    border: 1px solid #80808021;
    margin: 1rem;
}

#mapaPedido {
    width: 100%;
    height: 320px;
    background: #f3f3f3;
    overflow: hidden;
}

.item_resumo,
.total_confirmacao {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #80808014;
}

.item_resumo strong,
.total_confirmacao strong {
    text-align: right;
    font-size: 14px;
    max-width: 60%;
    word-break: break-word;
}

.label_resumo {
    font-size: 14px;
    color: #666;
}

.bloco_resumo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #80808014;
}

.resumo_fotos {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

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

.lista_resumo_adicionais {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item_adicional_resumo {
    background: #f7f7f7;
    border: 1px solid #80808021;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
}

.total_confirmacao {
    margin-top: 8px;
    border-bottom: none;
    font-size: 16px;
}

.total_confirmacao span {
    font-size: 15px;
    font-weight: 600;
}

.total_confirmacao strong {
    font-size: 18px;
}

.container_conteudo_index {
    min-height: calc(100vh - 90.17px);
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 1rem;
}

.container_step_01,
.container_step_02 {
    margin: 1rem;
}

.texto_mapa_erro {
    font-size: 14px;
    color: #666;
    margin: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item_resumo strong {
    font-weight: 600;
}

.btn_desabilitado {
    opacity: 0.5;
    pointer-events: none;
}

@media(max-width: 350px) {
    .box_ajudante {
        flex-direction: column;
        justify-content: center;
    }
}

/* INDEX*/

/* HISTORICO */
.container_historico {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.titulo_secao {
    font-size: 16px;
    font-weight: 600;
}

.lista_pedidos {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pedido_status {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.status_andamento {
    background: #e3f2fd;
    color: #1565c0;
}

.pedido_id {
    font-size: 14px;
    color: #999;
    font-family: monospace;
}

.card_pedido {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid #80808021;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #80808014;
}

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

.info_rota {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info_item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.info_item i {
    width: 16px;
    color: #2D3798;
    font-size: 14px;
}

.info_item span {
    color: #555;
}

.detalhes_pedido {
    background: #f7f7f7;
    border-radius: 12px;
    border: 1px solid #80808021;
    padding: 12px;
    margin-top: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.detalhe_item {
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detalhe_valor {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.detalhe_label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}

.card_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #80808014;
}

.pedido_valor {
    font-size: 18px;
    font-weight: 700;
    color: #2D3798;
}

.pedido_valor_cancelado {
    font-size: 18px;
    font-weight: 700;
    color: #2D3798;
    text-decoration: line-through;
    opacity: 0.6;
}

.btn_refazer {
    background: #2D3798;
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn_cancelar {
    background: #ff0000;
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.status_concluido {
    background: #d2f6d5;
    color: #2e7d32;
}

.status_aguardando_pagamento {
    background: #fff3cd;
    color: #856404;
}

/* HISTORICO */



/* AGUARDANDO SOLICITAÇÃO */
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.timer {
    text-align: center;
    margin: 10px 0;
}

.timer span {
    font-size: 18px;
}

.btn_solicitacao {
    margin-top: 10px;
    width: 100%;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.btn_solicitacao.cancelar {
    background: #000;
    color: #fff;
    border: none;
    box-sizing: border-box;
}
/* AGUARDANDO SOLICITAÇÃO */