/* ==================== FILTROS ==================== */
.directory-filters {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.filter-search {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.search-input {
    flex: 1;
    padding: 12px 20px;
    
    border-radius: 8px;
    transition: all 0.3s ease;
}
.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.search-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.search-button:hover{
    background: #2563eb;
    transform: translateY(-1px);
}
.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.filter-select {
    width: 100%;
    padding: 10px 16px;
    
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.filter-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
.btn-filter,
.btn-clear {
    padding: 10px 20px 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-filter{
    background: #10b981;
    color: white;
    border: none;
}
.btn-filter:hover{
    background: #059669;
    transform: translateY(-1px);
}
a.btn-clear {
    background-color: #ecf0f1;
    border-bottom: 3px solid #bdc3c7;
    color: #7f8c8d!important;
}
span.select2-selection.select2-selection--single{
	border-width: 1px !important;
}
#post-10551 button:not(.components-button):hover:not(.search_submit){
	background-color: #F9FAFC!important;
	color: #21e6c1!important;
}
button.select2-selection__clear{
	padding: 10px 0 10px 20px!important;
}

/* ==================== INFO DE RESULTADOS ==================== */
.results-info {
    margin-bottom: 20px;
}
.results-info p {
    margin: 0;
	font-weight: 500;
    color: #0066a6;
}

/* ==================== GRADE DE USUÁRIOS ==================== */
.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.user-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
	border: 1px solid #E6EAF2;
}
.user-card:hover {
    box-shadow: 0 8px 24px rgba(15, 241, 219, 0.15);
    transform: translateY(-4px);
    border: 1px solid #1990fd;
}
.user-avatar {
    text-align: center;
}
.user-avatar > img{
    width: 100px;
    height: 100px;
    border-radius: 50%!important;
    object-fit: cover;
}
.user-info{
    text-align: center;
}
.user-name{
	font-size: 18px;
    line-height: 24px;
    font-weight: 400;
	margin: 0 0 15px 0;
	color: #071021;
}
.user-function{
    margin: 0;
	font-weight: 600;
	color: #7A7E83;
}
.user-department {
    margin: 0;
	color: #7A7E83;
}
.user-unit {
    color: #7A7E83;
    margin: 0 0 12px 0;
	font-style: italic;
}
.user-contact{
    border-top: 1px solid #f3f4f6;
    padding-top: 12px;
    text-align: center;
}
p.user-mail,
p.user-phone {
	display: inline-block;
    align-items: center;
    margin: 0;
    font-size: 16px;
}
/* ==================== AÇÕES (EDITAR/EXCLUIR) ==================== */
.user-actions {
    display: flex;
    gap: 8px;
    border-top: 1px solid #f3f4f6;
    padding-top: 16px;
}
.btn-edit,
.btn-delete{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px 5px 12px!important;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-edit{
    background: #3498db!important;
    color: #FFF!important;
	border-bottom: 3px solid #2980b9!important;
}
.btn-edit:hover{
    background: #2980b9;
}
.btn-delete{
    background: #ecf0f1!important;
    color: #7f8c8d!important;
	border-bottom: 3px solid #bdc3c7!important;
}
.btn-delete:hover {
    background: #bdc3c7;
}

/* ==================== SEM RESULTADOS ==================== */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #FFF;
    border-radius: 12px;
}
.no-results p {
    font-size: 16px;
    color: #2c3a47;
    margin: 0;
}

/* ==================== PAGINAÇÃO ==================== */
.pagination {
    display: flex;
    justify-content: center!important;
    gap: 8px;
    margin-top: 40px;
}
.pagination a,
.pagination span {
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.pagination a {
    background: white;
    color: #7A7E83;
    
}
.pagination a:hover {
    background: #bdc3c7;
    color: white;
    border-color: #bdc3c7;
}
.pagination .current {
    background: #bdc3c7;
    color: white;
}

/* ==================== RESPONSIVO ==================== */
@media (max-width: 768px) {
    .users-grid {
        grid-template-columns: 1fr;
    }
    .filter-row {
        grid-template-columns: 1fr;
    }
    .filter-actions {
        flex-direction: column;
    }
    .btn-filter,
    a.btn-clear{
        width: 100%;
    }
    .search-button {
        padding: 12px 16px;
    }
}
@media (max-width: 480px) {
    .colaboradores-directory {
        padding: 10px;
    }
    .directory-filters {
        padding: 20px;
    }
    .user-card {
        padding: 16px;
    }
}