/* 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;
}

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

.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: 1.8rem 1.4rem;
    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;
}

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

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

.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.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;
    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: 600;
    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: 18px;
    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;
}

.btn_selecionar_outro_veiculo {
    background: #E6E7E8;
    color: #000;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.2s;
    width: 100%;
    font-size: 14px;
}

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

/* INDEX*/