 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

        

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Poppins", sans-serif;
        }

        

        

        body {
            display: flex;
            align-items: center;
            justify-content: center;
            /* overflow: hidden; */
        }

        .container {
            width: 103%;
            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;
        }

        .input-field label {
            font-size: 12px;
            font-weight: 500;
            color: #2e2e2e;
        }

        .input-field input {
            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);
        }

        .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;
            margin-top: 20px;
        }

        .styled-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.9em;
            font-family: "Poppins", sans-serif;
            text-align: left;
            background-color: #f3f3f3;
            border-radius: 15px;
        }

        .styled-table thead tr {
            background-color: #1d2634;
            color: #ffffff;
            text-align: left;
            font-weight: 400;
        }

        .styled-table th, .styled-table td {
            padding: 10px 8px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            text-transform: uppercase;
        }

        .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-editar, .styled-table .btn-excluir {
            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;
        }

        .btn-editar {
            color: #007bff;
        }

        .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: 60px;
        }

        .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: 35px;
            margin-bottom: 15px;
        }

        .form-modal-button:hover {
            background-color: #4b49ac;
        }

        /* Estilos para o filtro de busca */
.search-wrapper {
    width: 100%;
    display: flex;
    justify-content: center; /* Centraliza o campo de busca */
    margin-bottom: 20px;
}


.search-wrapper input {
    width: 97%;
    padding: 6px;
    border-radius: 16px;
    border: 1px solid #aaa;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.11);
    margin-left: 9px;
    margin-top: 9px;
    margin-block: 8px;
}


.input-field {
    display: flex;
    flex-direction: column; /* Coloca os elementos em coluna */
    align-items: flex-start; /* Alinha à esquerda */
    margin-bottom: 20px;
    width: 100%; /* Garante que ocupe a largura total da div pai */
}

.input-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px; /* Adiciona um espaço entre o label e o input */
    margin-left: 6px;
}

.input-field input {
    width: 100%; /* Largura completa */
    max-width: 400px; /* Define um tamanho máximo para o campo de busca */
    padding: 8px; /* Espaçamento interno */
    box-sizing: border-box; /* Inclui padding na largura */
    border: 1px solid #ccc; /* Cor da borda */
    border-radius: 5px; /* Bordas arredondadas */
    
    margin-top: 5px; /* Espaçamento superior */
}

