/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --info-color: #1abc9c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --border-color: #bdc3c7;
    --sidebar-width: 280px;
    --navbar-height: 60px;
    --toolbar-height: 50px;
    --z-modal: 1000;
    --z-navbar: 100;
    --z-toolbar: 99;
    --z-sidebar: 90;
    --z-dropdown: 80;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* Modal de Login */
.modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: var(--z-modal);
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-content.large {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--danger-color);
}

.close-modal:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.login-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.btn-login {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login:hover {
    background: #2980b9;
}

.btn-login:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

#manualLoginForm {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.form-input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--secondary-color);
    color: white;
    padding: 0 2rem;
    height: var(--navbar-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-navbar);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background-color: rgba(255, 255, 255, 0.1);
    outline: 2px solid var(--primary-color);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-logout {
    padding: 0.5rem 1rem;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s, transform 0.3s;
}

.btn-logout:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-logout:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Toolbar */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 0 2rem;
    height: var(--toolbar-height);
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    z-index: var(--z-toolbar);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 600px;
}

.search-box i {
    color: #666;
}

.search-box input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.search-box input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.search-box select {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: white;
    cursor: pointer;
}

.search-box select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.toolbar-actions {
    display: flex;
    gap: 10px;
}

.btn-action {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn-action:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-action:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.btn-danger {
    background: var(--danger-color);
}

.btn-danger:hover {
    background: #c0392b;
}

/* Container Principal */
.container {
    display: flex;
    margin-top: calc(var(--navbar-height) + var(--toolbar-height));
    min-height: calc(100vh - var(--navbar-height) - var(--toolbar-height));
    transition: margin-left 0.3s;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: white;
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    position: fixed;
    top: calc(var(--navbar-height) + var(--toolbar-height));
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    z-index: var(--z-sidebar);
    transition: left 0.3s;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    padding: 0.8rem 1rem;
    margin-bottom: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu li:hover {
    background: #f0f2f5;
}

.nav-menu li.active {
    background: var(--primary-color);
    color: white;
}

.nav-menu li:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.filter-btn {
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.filter-btn:hover:not(.active) {
    background: #f0f2f5;
}

.filter-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.status-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.status-label {
    color: #666;
    font-size: 0.9rem;
}

.status-value {
    font-weight: bold;
    color: var(--secondary-color);
}

/* Conteúdo Principal */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 2rem;
    transition: margin-left 0.3s;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.section-header h2 {
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.btn-pagination {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-pagination:hover {
    background: #f0f2f5;
}

.btn-pagination:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Cards de Posts */
.posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.post-card:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.post-card-header {
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-card-header.parented {
    background-color: #d4edda;
    color: #155724;
}

.post-author {
    font-weight: bold;
}

.post-payout {
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    font-size: 0.9rem;
}

.post-type {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 6px;
    margin-left: 8px;
    border-radius: 4px;
    background-color: #e2e3e5;
    color: #495057;
}

.post-card-header.parented .post-type {
    background-color: #d4edda;
    color: #155724;
}

.post-card-body {
    padding: 1rem;
}

.post-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.post-excerpt {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-app {
    font-size: 0.85rem;
    color: #555;
    background-color: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 8px;
    font-weight: 500;
    font-family: sans-serif;
}

.post-app[data-app="Hive.blog"] {
    background-color: #e0f7fa;
    color: #006064;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 1rem;
}

.post-tag {
    background: #f0f2f5;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    color: #666;
}

.post-card-footer {
    padding: 1rem;
    background: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

.post-date {
    font-size: 0.8rem;
    color: #666;
}

.post-actions {
    display: flex;
    gap: 5px;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 1rem;
    transition: color 0.3s;
    padding: 0.5rem;
    border-radius: 5px;
}

.btn-icon:hover {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-icon.flagged {
    color: var(--danger-color);
}

.btn-icon:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    text-align: center;
    padding: 3rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 200px;
    flex-direction: column;
}

.loading.hidden {
    display: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Ranking */
.ranking-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.ranking-item:hover {
    background: #f9f9f9;
}

.ranking-rank {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
}

.ranking-info {
    flex: 1;
}

.ranking-author {
    font-weight: bold;
    color: var(--secondary-color);
}

.ranking-stats {
    display: flex;
    gap: 1rem;
    margin-top: 0.3rem;
}

.ranking-stat {
    font-size: 0.9rem;
    color: #666;
}

.ranking-stat strong {
    color: var(--primary-color);
}

/* Moderação */
.moderation-tools {
    display: flex;
    gap: 10px;
}

.moderation-filters {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.moderation-table-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow-x: auto;
}

.moderation-table {
    width: 100%;
    border-collapse: collapse;
}

.moderation-table th,
.moderation-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.moderation-table th {
    background: #f8f9fa;
    font-weight: bold;
    color: var(--secondary-color);
}

.moderation-table tr:hover {
    background: #f9f9f9;
}

.risk-badge {
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
}

.risk-high {
    background: #ffeaea;
    color: var(--danger-color);
}

.risk-medium {
    background: #fff4e6;
    color: var(--warning-color);
}

.risk-low {
    background: #e6f7ff;
    color: var(--info-color);
}

.moderation-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.high-risk {
    background: #ffeaea;
    color: var(--danger-color);
}

.stat-icon.medium-risk {
    background: #fff4e6;
    color: var(--warning-color);
}

.stat-icon.low-risk {
    background: #e6f7ff;
    color: var(--info-color);
}

.stat-icon.total-flagged {
    background: #f0e6ff;
    color: #8e44ad;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

/* Busca Avançada */
.advanced-search {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.search-form {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    flex: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.btn-primary {
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-primary:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.btn-large {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Estatísticas */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-chart {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.stat-chart h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.summary-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.summary-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-good {
    color: var(--success-color);
    font-weight: bold;
}

.status-warning {
    color: var(--warning-color);
    font-weight: bold;
}

.status-bad {
    color: var(--danger-color);
    font-weight: bold;
}

/* Flagged Container Específico */
#flaggedContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

#flaggedContainer .post-card {
    flex: 0 0 calc(33.333% - 1rem);
    margin: 0;
    min-width: 280px;
}

#flaggedContainer .post-card:hover {
    transform: scale(1.03);
}

#flaggedContainer .flag-details {
    background-color: #f8f9fa;
    padding: 8px;
    margin-top: 5px;
    border-left: 4px solid #ff9800;
    font-size: 0.85rem;
}

#flaggedContainer .flag-details p {
    margin: 3px 0;
}

#flaggedContainer .clear-flag-btn {
    margin-top: 5px;
    font-size: 0.85rem;
    padding: 3px 6px;
}

/* Paginação do flagged-section */
#flagged-section .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

#flagged-section .pagination button {
    padding: 5px 10px;
    border: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

#flagged-section .pagination button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#flagged-section .pagination button:hover:not(:disabled) {
    background-color: #0056b3;
}

#flagged-section .pagination span {
    font-weight: bold;
    font-size: 0.9rem;
}

/* Configurações no modal */
.settings-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.settings-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.setting-item {
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #f9f9f9;
    border-radius: 5px;
}

.setting-item label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 100%;
}

.setting-item select,
.setting-item input[type="number"] {
    padding: 0.3rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    background: white;
}

.setting-item select:focus,
.setting-item input[type="number"]:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.mute-user-btn.muted {
    color: var(--danger-color);
}

.mute-user-btn:hover {
    color: var(--danger-color);
}

.muted-user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    margin-bottom: 5px;
    border-radius: 5px;
}

.muted-username {
    font-weight: bold;
}

.no-muted-users {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* Responsividade */
@media (max-width: 1200px) {
    .sidebar {
        width: 250px;
    }
    
    .main-content {
        margin-left: 250px;
    }
    
    .advanced-search {
        grid-template-columns: 1fr;
    }
    
    #flaggedContainer .post-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    
    .sidebar {
        position: fixed;
        left: -250px;
        transition: left 0.3s;
        z-index: var(--z-sidebar);
        width: 250px;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .toolbar-actions {
        flex-wrap: wrap;
    }
    
    #flaggedContainer .post-card {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }
    
    .toolbar {
        padding: 0 1rem;
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 1rem;
        top: var(--navbar-height);
    }
    
    .search-box {
        width: 100%;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .section-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .moderation-filters {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .filter-group {
        flex-wrap: wrap;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .container {
        margin-top: calc(var(--navbar-height) + 3rem);
        min-height: calc(100vh - var(--navbar-height) - 3rem);
    }
    
    .sidebar {
        top: calc(var(--navbar-height) + 3rem);
    }
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.post-card, .ranking-item, .stat-card, .summary-card {
    animation: fadeIn 0.5s ease-out;
}

/* Utilitários */
.hidden {
    display: none !important;
}

button, 
[role="button"], 
.btn-action, 
.filter-btn, 
.btn-pagination,
.btn-icon {
    cursor: pointer;
}

/* Estados de focus para acessibilidade */
.btn-action:focus,
.btn-primary:focus,
.filter-btn:focus,
.btn-pagination:focus,
.btn-icon:focus,
.btn-logout:focus,
.menu-toggle:focus,
.close-modal:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

/* Estilos para gráficos */
.stat-chart {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.stat-chart h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

/* Melhorias na responsividade */
@media (max-width: 768px) {
    .post-detail-actions {
        flex-direction: column;
    }
    
    .post-detail-actions button {
        width: 100%;
    }
    
    .ranking-actions {
        flex-direction: column;
        gap: 5px;
    }
}

/* Classes para status */
.status-good {
    color: var(--success-color);
    font-weight: bold;
}

.status-warning {
    color: var(--warning-color);
    font-weight: bold;
}

.status-bad {
    color: var(--danger-color);
    font-weight: bold;
}

@keyframes slideIn {
        from { transform: translateX(100%); opacity: 0; }
        to { transform: translateX(0); opacity: 1; }
    }
    
    @keyframes slideOut {
        from { transform: translateX(0); opacity: 1; }
        to { transform: translateX(100%); opacity: 0; }
    }
    
    .no-posts, .no-results {
        text-align: center;
        padding: 3rem;
        color: #666;
        font-size: 1.2rem;
        grid-column: 1 / -1;
    }
    
    .post-detail-header {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 8px;
    }
    
    .post-detail-content .content-box {
        max-height: 300px;
        overflow-y: auto;
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 5px;
        margin: 1rem 0;
        white-space: pre-wrap;
        font-family: monospace;
    }
    
    .post-detail-actions {
        display: flex;
        gap: 1rem;
        margin: 2rem 0;
        flex-wrap: wrap;
    }
    
    .post-detail-metadata pre {
        max-height: 200px;
        overflow-y: auto;
        background: #2c3e50;
        color: white;
        padding: 1rem;
        border-radius: 5px;
        font-size: 0.9rem;
    }
    
    .ranking-rank.first {
        background: #FFD700;
        color: #000;
    }
    
    .ranking-rank.second {
        background: #C0C0C0;
        color: #000;
    }
    
    .ranking-rank.third {
        background: #CD7F32;
        color: #000;
    }
    
    .text-danger {
        color: #e74c3c;
    }
    
    .error-message {
        text-align: center;
        padding: 3rem;
        color: #e74c3c;
        background: #ffeaea;
        border-radius: 10px;
        margin: 2rem 0;
    }
    
    .error-message i {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .flag-details {
        padding: 1rem;
        background: #fff3cd;
        border-top: 1px solid #ffeaa7;
        border-radius: 0 0 10px 10px;
    }
    
    .search-result-item {
        background: white;
        padding: 1.5rem;
        margin-bottom: 1rem;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .search-result-item h5 {
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }
    
    .search-result-item .excerpt {
        color: #666;
        font-size: 0.9rem;
        margin: 0.5rem 0;
    }
    
    .search-summary {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid #3498db;
    }
    
    /* Estilos para temas */
    .theme-dark {
        --primary-color: #3498db;
        --secondary-color: #2c3e50;
        --background-color: #1a1a1a;
        --text-color: #ffffff;
        --card-background: #2d2d2d;
        --border-color: #404040;
        --light-color: #2d2d2d;
        --danger-color: #e74c3c;
        --success-color: #27ae60;
        --warning-color: #f39c12;
        --info-color: #1abc9c;
    }
    
    .theme-dark body {
        background-color: var(--background-color);
        color: var(--text-color);
    }
    
    .theme-dark .post-card,
    .theme-dark .ranking-container,
    .theme-dark .moderation-table-container,
    .theme-dark .stat-chart,
    .theme-dark .summary-card,
    .theme-dark .search-form,
    .theme-dark .search-result-item,
    .theme-dark .modal-content,
    .theme-dark .sidebar,
    .theme-dark .toolbar {
        background-color: var(--card-background);
        color: var(--text-color);
        border-color: var(--border-color);
    }
    
    .theme-dark .modal-content {
        background-color: var(--card-background);
        color: var(--text-color);
    }
    
    .theme-dark .modal-content .form-input,
    .theme-dark .modal-content select,
    .theme-dark .modal-content input[type="number"] {
        background-color: #3d3d3d;
        color: var(--text-color);
        border-color: var(--border-color);
    }
    
    .theme-dark .setting-item {
        background-color: #3d3d3d;
    }
    
    .theme-dark .btn-primary {
        background-color: var(--primary-color);
        color: white;
    }
    
    .theme-dark .post-detail-content .content-box {
        background-color: #3d3d3d;
        color: var(--text-color);
    }
    
    .theme-dark .post-detail-metadata pre {
        background-color: #2c3e50;
        color: white;
    }
    
    .theme-dark .navbar {
        background-color: var(--secondary-color);
    }
    
    .theme-dark .post-card-header {
        background-color: var(--primary-color);
    }
    
    .theme-dark .sidebar-section h3,
    .theme-dark .section-header h2,
    .theme-dark .search-summary h4 {
        color: var(--text-color);
    }
    
    .theme-dark .status-label,
    .theme-dark .post-excerpt,
    .theme-dark .ranking-stat {
        color: #cccccc;
    }