  /* Estilos gerais */
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

        /* Estilo para o Modal */
.timeline-modal {
    display: none; /* Oculto por padrão */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.timeline-modal-content {
    background-color: #fff;
  margin: 1% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 1158px;
  position: relative;
}

.timeline-modal-content h2 {
    text-align: center;
    margin-bottom: 20px;
}

.timeline-modal .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.timeline-modal .close:hover {
    color: red;
}

/* Estilo para a Linha do Tempo */
.timeline-container {
    position: relative;
    margin: 20px 0;
}

.timeline {
    list-style-type: none;
    padding: 0;
    position: relative;
    margin-left: 20px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 30px;
    width: 3px;
    height: 100%;
    background-color: #ddd;
    top: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 15px;
    height: 15px;
    background-color: #fff;
    border-radius: 50%;
    border: 3px solid #1d2634;
}

.timeline-item .timeline-date {
    font-weight: bold;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.timeline-item .timeline-content {
    margin-left: 50px;
    padding: 10px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    position: relative;
}

.timeline-item .timeline-content:before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 10px;
    height: 10px;
    background-color: #1d2634;
    border-radius: 50%;
}

.timeline-icon {
    position: absolute;
    left: -45px;
    top: 15px;
    font-size: 24px;
    color: #1d2634;
}

.timeline-details {
    padding-left: 10px;
}

.timeline-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.timeline-item p {
    font-size: 14px;
    color: #666;
}




        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Poppins", sans-serif;
        }

        ::-webkit-scrollbar {
        display: none;
        }

        body {
            display: flex;
            align-items: center;
            overflow: -moz-scrollbars-none; /* Firefox */
            -ms-overflow-style: none;       /* IE e Edge */
        }

        .container {
            width: 100%;
            border-radius: 6px;
            padding: 12px;
            background-color: #fff;
        }

        .container header {
            position: relative;
            font-size: 20px;
            font-weight: 600;
            color: #333;
        }

        .container header::before {
            content: "";
            position: absolute;
            left: 0;
            bottom: -2px;
            height: 3px;
            width: 27px;
            border-radius: 8px;
            background-color: #1d2634;
        }

        .container form {
            position: relative;
            margin-top: 16px;
            min-height: 200px;
            background-color: #fff;
        }

        .container form .details {
            margin-top: 30px;
        }

        .container form .title {
            display: block;
            margin-bottom: 8px;
            font-size: 16px;
            font-weight: 500;
            margin: 6px 0;
            color: #333;
        }

        .container form .fields {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
        }

        form .fields .input-field {
            display: flex;
            width: calc(100% / 2 - 15px);
            flex-direction: column;
            position: relative;
        }

        .input-field label {
            font-size: 12px;
            font-weight: 500;
            color: #2e2e2e;
        }

        .input-field input, .input-field select, .input-field textarea {
            font-size: 14px;
            font-weight: 400;
            color: #333;
            border-radius: 5px;
            outline: none;
            border: 1px solid #aaa;
            padding: 0 15px;
            height: 42px;
            margin: 8px 0;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.13);
            resize: none;
        }

        .date-buttons {
            position: absolute;
            right: 10px;
            top: 0px;
            display: flex;
            gap: 4px;
            left: 90px;
        }

        .date-buttons button {
            padding: 2px 8px;
            font-size: 12px;
            border: none;
            border-radius: 3px;
            cursor: pointer;
            background-color: #1d2634;
            color: #fff;
        }

        .container form button {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 45px;
            max-width: 200px;
            width: 100%;
            outline: none;
            color: #fff;
            border-radius: 5px;
            margin: 25px 0;
            background-color: #1d2634;
            transition: all 0.3s linear;
            cursor: pointer;
            text-decoration: none;
        }

        form button:hover {
            background-color: #4b49ac;
        }

        form button i {
            margin: 0 6px;
        }

        /* .table-wrapper {
            overflow-x: hidden;
            border-radius: 15px !important;
            margin-top: 20px;
        } */

        .table-wrapper {
            overflow-x: auto; /* Ajuste para manter o arredondamento sem cortar */
            border-radius: 15px !important;
            margin-top: 20px;
            
        }

        .table-wrapper table {
            border-radius: 15px !important;
            overflow: hidden; /* Para evitar que os conteúdos excedam o arredondamento */
        }

        .styled-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.8em;
            font-family: "Poppins", sans-serif;
            text-align: left;
            background-color: #f3f3f3;
        }

        .styled-table thead tr {
            background-color: #1d2634;
            color: #ffffff;
            text-align: left;
            font-weight: 400;
        }

        .styled-table th, .styled-table td {
            padding: 10px 7px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            text-transform: uppercase;
            text-align: center; /* Centraliza o texto nas células */
            vertical-align: middle; /* Opcional: centraliza o texto verticalmente */
        }

        .styled-table tbody tr {
            border-bottom: 1px solid #dddddd;
        }

        .styled-table tbody tr:nth-of-type(even) {
            background-color: #f3f3f3;
        }

        .styled-table tbody tr:hover {
            background-color: #f1f1f1;
        }

        .styled-table .btn-excluir,
        .styled-table .btn-editar,
        .styled-table .btn-visualizar {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 23px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            padding: 0;
            margin-right: 4px;
            vertical-align: middle;
        }

        .styled-table .btn-editar {
            color: #007bff;
        }

        .styled-table .btn-excluir {
            color: #dc3545;
        }

        /* Estilos para o modal de mensagem */
        .modal {
            display: none;
            position: fixed;
            z-index: 1;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.4);
            padding-top: 0px;
        }

        .modal-content {
            background-color: #fefefe;
            margin: 5% auto;
            padding: 20px;
            border: 1px solid #888;
            width: 50%;
            border-radius: 8px;
        }

        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
        }

        .close:hover,
        .close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }

        .modal-button {
            padding: 10px 20px;
            background-color: #1d2634;
            border: none;
            border-radius: 5px;
            color: #fff;
            cursor: pointer;
        }

        .modal-button:hover {
            background-color: #4b49ac;
        }

        /* Estilos para o modal de cadastro/edição */
        .form-modal {
            display: none;
            position: fixed;
            z-index: 1;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.4);
            padding-top: 60px;
        }

        .form-modal-content {
            background-color: #fff;
            margin: 5% auto;
            padding: 20px;
            border: 1px solid #888;
            width: 50%;
            border-radius: 8px;
        }

        .form-modal-close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
        }

        .form-modal-close:hover,
        .form-modal-close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }

        .form-modal-button {
            padding: 10px 20px;
            background-color: #1d2634;
            border: none;
            border-radius: 5px;
            color: #fff;
            cursor: pointer;
            margin-top: 36px;
            margin-bottom: 5px;
            
        }

        .form-modal-button:hover {
            background-color: #4b49ac;
        }

        /* Estilos para os filtros */
        .filters {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
        }

        .filters .input-field {
            width: calc(25% - 10px);
            position: relative;
        }

        .filters .input-field label {
            display: block;
            margin-bottom: 5px;
            font-size: 14px;
            font-weight: 500;
            color: #333;
        }

        .filters .input-field input,
        .filters .input-field select {
            width: 100%;
            padding: 8px;
            border-radius: 5px;
            border: 1px solid #aaa;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.13);
        }

        .cadastro .switch {
            position: relative;
            background-color: blueviolet;
            width: 130px;
            height: 40px;
            border-radius: 40px;
            display: flex;
            align-items: center;
            padding: 5px;
            transition: all .5s ease-in-out;
            cursor: pointer;
            margin-top: 48px;
            margin-left: 15px;
        }

        .cadastro .slider {
            position: absolute;
            background-color: white;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            transform: translateX(90px); /* Ajustar mais para a direita */
            transition: all .6s ease-in-out;
        }

        .cadastro .slider-text {
            width: 45px;
            height: 30px;
            margin-top: 11px;
            transition: all .5s ease-in-out;
            margin-left: 1px;
            font-size: 12px;
            color: #fff;
        }

        .cadastro {
            display: flex;
        }

        #chk {
            display: none;
        }

        #chk:checked ~ .switch {
            background-color: #1d2634;
        }

        #chk:checked ~ .switch .slider {
            transform: translateX(0); /* Mover para a esquerda quando marcado */
        }

        .switch {
            position: relative;
            display: inline-block;
            width: 120px;
            height: 34px;
        }

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        input:checked + .slider {
            background-color: #2196F3;
        }

        input:checked + .slider:before {
            transform: translateX(86px);
        }

        .third-button {
                width: 118px;
                text-align: center;
                background: #4b49ac; /*Parte de baixo do botão*/
                border-radius: 8px;
                color: #FFF;
                padding: 0;
                outline-offset: 4px;
                font-size: 12px;
                margin: 5px;
                transition: background-color 0.3s ease; /* Transição suave para a mudança de cor */
            }

            .third-button span {
                display: block;
                padding: 9px 20px;
                border-radius: 8px;
                background: #1d2634; /*Parte de cima do botão*/
                transform: translateY(-5px); /* Mantém o efeito de descida */
                transition: transform 0.2s ease, background-color 0.3s ease; /* Transição suave para cor e movimento */
                width: 100%;
                text-align: center;
            }

            .third-button:hover {
                background-color: #4b49ac; /* Nova cor do botão ao passar o mouse */
            }

            .third-button:hover span {
                background-color: #4b49ac; /* Nova cor de fundo do span ao passar o mouse */
                transform: translateY(-4px); /* Mantém a leve descida ao passar o mouse */
            }

            .third-button:active span {
                transform: translateY(-1px); /* Leve movimento ao clicar */
            }

            .third-button.active span {
                background-color: #4b49ac; /* Cor de fundo fixa para o botão ativo */
                transform: translateY(-4px); /* Mantém o efeito de leve descida */
            }

        @media (max-width: 600px) {
    .filters .input-field input,
        .filters .input-field select {
            
            width: 100%;
            /* padding: 8px; */
            border-radius: 5px;
            border: 1px solid #aaa;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.13);
    }.filters .input-field {
            width: calc(52% - 11px);
        }.container {
            width: 100%;
            border-radius: 6px;
            padding: 12px;
            background-color: #fff;
        }
        }

        .info-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        
        .info-table td {
            padding: 10px;
            border-bottom: 1px solid #ddd;
            text-align: left;
        }
        
        .info-table tr:last-child td {
            border-bottom: none;
        }
        
        .info-table td:first-child {
            font-weight: bold;
            color: #333;
        }

        /* Estilos para o custom select */
        .custom-select-wrapper {
            position: relative;
            display: inline-block;
            width: 100%;
        }

        .custom-select {
            position: relative;
            font-family: Arial, sans-serif;
        }

        .custom-select-trigger {
            position: relative;
            display: block;
            width: 100%;
            padding: 10px;
            font-size: 14px;
            color: #333;
            background: #fff;
            border: 1px solid #ccc;
            cursor: pointer;
        }

        .custom-select-trigger .arrow {
            position: absolute;
            top: 50%;
            right: 15px;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            pointer-events: none;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-top: 6px solid #333;
        }

        .custom-select.open .custom-select-trigger .arrow {
            border-top: none;
            border-bottom: 6px solid #333;
        }

        .custom-options {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            max-height: 200px;
            overflow-y: auto;
            background: #fff;
            border: 1px solid #ccc;
            z-index: 999;
            display: none; /* Corrigido: permanece oculto até ser aberto */
            flex-direction: column; /* Mantém as opções como coluna, caso esteja usando flexbox */
        }


        .custom-select.open .custom-options {
            display: block;
        }

        .custom-option {
            padding: 10px;
            font-size: 14px;
            color: #333;
            cursor: pointer;
            display: block; /* Adicione esta linha */
        }


        .custom-option:hover {
            background: #f2f2f2;
        }

        .custom-search {
            /* padding: 10px; */
            border-bottom: 1px solid #ccc;
        }

        .custom-search input {
            width: 100%;
            padding: 5px;
            box-sizing: border-box;
        }

        .input-field .custom-select-wrapper {
            width: 100%;
        }

        .input-field label {
            display: block;
            margin-bottom: 5px;
        }











/* Estilo base para todos os botões que possuem a classe form-modal-button */
.dt-button.form-modal-button {
    padding: 5px 15px; /* Mantém o mesmo padding em todos os estados */
    background-color: #1d2634;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    margin-top: 10px; /* Ajustado para alinhar com os demais controles */
    margin-bottom: 5px;
    margin-right: 5px;
    font-size: 12px;
    transition: background-color 0.3s ease; /* Suaviza apenas a mudança de cor */
    transform: none; /* Garante que não haja transformação */
}

/* Efeito de hover para os botões do DataTables */
.dt-button.form-modal-button:hover,
.dt-button.form-modal-button:active,
.dt-button.form-modal-button:focus {
    background-color: #4b49ac !important; /* Força a cor do hover */
    color: #fff !important; /* Força a cor do texto */
    padding: 5px 15px !important; /* Mantém o mesmo padding */
    margin-top: 10px !important;
    margin-bottom: 5px !important;
    margin-right: 5px !important;
    border: none !important; /* Garante que não haja borda adicional */
    transform: none !important; /* Garante que não haja transformação */
    box-shadow: none !important; /* Remove qualquer sombra que possa afetar o tamanho */
    outline: none !important; /* Remove qualquer borda de foco que possa aumentar o botão */
}

/* Efeito de foco para os botões */
.dt-button.form-modal-button:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(75, 73, 172, 0.5); /* Ajuste o efeito de foco para corresponder ao seu design */
}

/* Wrapper para os controles superiores */
.top-controls {
    display: flex;
    align-items: center;
    gap: 15px; /* Espaço entre o seletor, os botões e o campo de busca */
    margin-bottom: 20px; /* Espaço entre os controles e a tabela */
}

/* Estilo para o seletor de quantidade (lengthMenu) */
.dataTables_length {
    margin-right: 0; /* Remover qualquer margem adicional */
}

/* Botões de exportação */
.dt-buttons {
    display: flex;
    gap: 10px; /* Espaçamento entre os botões */
    margin-right: 0; /* Remover margem adicional */
}

/* Campo de busca */
.dataTables_filter {
    display: flex;
    align-items: center;
    gap: 5px; /* Espaço entre o texto 'Buscar:' e o campo de input */
}

/* Campo de busca input */
.dataTables_filter input {
    margin-left: 5px; /* Espaço entre o texto 'Buscar:' e o campo de input */
}

.dataTables_wrapper .dataTables_scroll {
    border-radius: 15px !important;
    overflow: hidden; /* Evita que o conteúdo sobrescreva a borda arredondada */
}

/* Estilo para garantir que os elementos de botões também se adaptem ao arredondamento */
.dataTables_wrapper .dataTables_scrollBody {
    border-radius: 15px !important;
    overflow: hidden;
}


