 @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;
        }

        ::-webkit-scrollbar {
        display: none;
        }
        .user-photo {
    width: 60px; /* Define a largura da imagem */
    height: 60px; /* Define a altura da imagem */
    border-radius: 50%; /* Torna a imagem circular */
    border: 3px solid #888; /* Adiciona uma borda de 2px com a cor #1d2634 */
    object-fit: cover; /* Garante que a imagem cubra todo o espaço sem distorção */
}
        .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{
            display: block;
            font-size: 14px;
            font-weight: 500;
            color: #333;
            margin-bottom: 5px;
            margin-left: 6px;
        }

        .input-field input, .input-field select {
            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;
        }

        .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 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;
        }

        .filters {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            gap: 10px;
        }

        .filters select {
            width: 100%;
            padding: 6px;
            border-radius: 16px;
            border: 1px solid #aaa;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.11);
            height: 42px;
            outline: none;
            font-size: 14px;
            color: #333;
        }

/* Contêiner flexível para os filtros */
.filters-wrapper {
    display: flex; /* Ativa o Flexbox */
    flex-wrap: wrap; /* Permite que os itens sejam quebrados para a próxima linha, se necessário */
    gap: 20px; /* Espaçamento entre os itens */
    justify-content: space-between; /* Distribui o espaço entre os itens */
}

/* Cada input-field para manter um tamanho mínimo */
.input-field {
    flex: 1; /* Permite que cada item cresça para ocupar o espaço disponível */
    min-width: 200px; /* Define um tamanho mínimo */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    width: 100%;
}

/* Ajuste para os selects e inputs */
.input-field select, 
.input-field input {
    width: 100%; /* Largura completa */
}
