/* Reset e fonte geral */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    overflow-x: hidden;
}
/**/
/* Containers principais */
.container {
    max-width: 900px;
    margin: 50px auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    box-sizing: border-box;
}

.main_container {
    width: 95%;
    
    margin: 10px auto;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.main_content {
    width: 100%;
}

/* Título */
h1, h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1a1a1a;
    font-weight: 600;
}

h1 { font-size: 2em; }
h2 { font-size: 1.8em; }

/* Tabela */
.user_list_container {
    overflow-x: auto;
    padding: 0px; /* ou 0 se quiser bem justo */
    margin: 20px auto;
    max-width: 900px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}



.funcionarios-table {
    width: 100%;
    border-collapse: collapse; /* para que as bordas se unam */
    min-width: 600px;

    border-spacing: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    font-size: 1em;
    
}

.funcionarios-table th, .funcionarios-table td {
    padding: 7px 20px;
    text-align: left;
    border: 1px solid #e4e4e4;
}

.funcionarios-table th {
    background-color: #e4e4e4;
    color: #151515;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.funcionarios-table tr {
    transition: background 0.3s;
}

/*.funcionarios-table tr:hover {
    background-color: #cce0ff;
}*/



.funcionarios-table td {
    color: #333;
}

/* Responsividade para celular */
@media (max-width: 768px) {
    .container, .main_container {
        width: 95%;
        margin: 10px auto;
        padding: 15px;
    }

    .funcionarios-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 0.9em;
    }

    .funcionarios-table th, .funcionarios-table td {
        padding: 10px 12px;
    }
}




/* Container do formulário */
.form_cadastro {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 600px;
    margin: 20px auto;
    font-family: 'Poppins', sans-serif;
}

/* Espaçamento entre grupos de campos */
.form_cadastro label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form_cadastro input[type="text"],
.form_cadastro input[type="tel"],
.form_cadastro input[type="email"],
.form_cadastro select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form_cadastro input:focus,
.form_cadastro select:focus {
    border-color: #005999;
    box-shadow: 0 0 5px rgba(0,102,255,0.3);
    outline: none;
}



/* Checkbox estilizado */
.checkbox-label {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0f9cca;
    margin-right: 10px;
}

/* Botões */
.form_cadastro button[type="submit"] {
    padding: 12px 25px;
    background-color: #0f9cca;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.form_cadastro button[type="submit"]:hover {
    background-color: #23acd9;
    transform: translateY(-2px);
}
.form-group {
    display: block;
    margin-top: 10px;    /* distância acima do campo */
    margin-bottom: 15px; /* distância abaixo do campo */
}

.btn-cancel {
    background-color: #95a5a6;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    margin-left: 10px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-cancel:hover {
    background-color: #7f8c8d;
}

.btn-delete {
    background-color: #e74c3c;
    text-align: center;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    
}

.btn-delete:hover {
    background-color: #c0392b;
}

/* Responsivo */
@media (max-width: 600px) {
    .form_cadastro {
        width: 100%;
        padding: 15px;
        margin: 10px auto;
    }
}






/* Formulário de filtros */
.filter-form {
    display: flex;
    flex-wrap: wrap;       /* permite quebrar linhas em telas pequenas */
    gap: 10px;             /* espaço entre os elementos */
    align-items: center;   /* alinha verticalmente */
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 20px auto;
}

.filter-form input[type="text"],
.filter-form input[type="date"],
.filter-form select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.95em;
    flex: 1;              /* ocupa o espaço disponível */
    min-width: 120px;
}

.filter-form button {
    padding: 8px 15px;
    background-color: #0f9cca;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95em;
    transition: background 0.3s;
}

.filter-form button:hover {
    background-color: #23acd9;
}
