/* Dashboard Layout */
.dashboard-container {
    display: flex;
}

.sidebar {
    width: 220px;
    background: #181f2a;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#img-logo-dashboard{
    width: 100%;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    padding: 0 24px 0px 24px;
}

.hr-sidebar {
    color: #eaeaea;
}

.logo-dot {
    width: 12px;
    height: 12px;
    background: #ff6d00;
    border-radius: 50%;
    display: inline-block;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0 24px;
    margin: 0;
}

.sidebar-nav li {
    padding: 12px 3px;
    color: #b0b8c1;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
}

.sidebar-nav a{
    text-decoration: none;
}

.sidebar-nav .active,
.sidebar-nav li:hover{
    background: #232b3e;
    color: #fff;
}

.sidebar-nav .badge {
    background: #ff6d00;
    color: #fff;
    border-radius: 12px;
    font-size: 0.75rem;
    padding: 2px 8px;
    margin-left: 8px;
}

.nav-section {
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
}

.main-content {
    flex: 1;
    padding: 32px 40px;
    background: var(--color-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-bottom: 32px;
}

.search-input {
    background: #232b3e;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    color: #fff;
    width: 260px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #181f2a;
    text-decoration: none;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.content-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #181f2a;
}

.content-header .count {
    color: #696e73;
    font-size: 1rem;
    font-weight: 400;
}

.content-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* .btn-circle {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
} */

.contacts-table {
    background: #202736;
    border-radius: 12px;
    padding: 0 0 16px 0;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

.contacts-table table {
    width: 100%;
    border-collapse: collapse;
    color: #eaeaea;
}

.contacts-table th, .contacts-table td {
    padding: 14px 12px;
    text-align: left;
}

.contacts-table th {
    color: #b0b8c1;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid #232b3e;
}

.contacts-table tr {
    border-bottom: 1px solid #232b3e;
    transition: background 0.2s;
}

.contacts-table tr:hover {
    background: #232b3e;
}

.a-entidade-painel{
    text-decoration: none;
    color: #eaeaea;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    vertical-align: middle;
}

.user-info {
    display: inline-block;
    vertical-align: middle;
}

.user-name {
    font-weight: 600;
    color: #fff;
    display: block;
}

.user-role {
    font-size: 0.85rem;
    color: #b0b8c1;
}

.table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px 0 24px;
    color: #b0b8c1;
    font-size: 0.95rem;
}

.pagination {
    display: flex;
    gap: 4px;
    align-items: center;
}

.pagination button {
    background: #232b3e;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.pagination a{
    text-decoration: none;
    color: #fff;
}

.pagination button.active,
.pagination button:hover {
    background: #1564BF;
}


.div-create-dashboard{
    background: #202736;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    color: #eaeaea;
}

.div-create-dashboard form {
    width: 100%;
    
}

.div-create-autor{
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
}

.a-opcoes{
    text-decoration: none;
    color: #eaeaea;
}

.btn-salvar{
    background: var(--color-azul-btn);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-voltar{
    background: #686767;
    color: var(--color-white);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.btn-excluir{
    background: #dc3545;
    color: var(--color-white);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-salvar,
.btn-voltar, .btn-excluir{
    display: inline-block; 
    min-width: 120px;   
    text-align: center;
    box-sizing: border-box;
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
}

.btn-voltar:hover {
    background: #3d3d3d;
}

.btn-salvar:hover {
    background: var(--color-azul-btn-hover);
}
.btn-excluir:hover {
    background: #bb2d3b;
}

.div-btn-submit{
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.select2-selection__choice__display{
    color: black;
}


.input_pesquisar_list{
    padding: 10px;
    border-radius: 4px;
    border: none;
    outline: none;
    font-size: 1rem;
    background: #fff;
    color: #222;
}