:root {
    --primary-color: #233a85; /* Azul Germani */
    --secondary-color: #3f51b5; /* Azul claro Germani */
    --accent-color: #205c3b; /* Detalhe antigo, pode ser usado para hover sutil */
    --text-primary: #23272b; /* Cinza escuro */
    --text-secondary: #6c757d; /* Cinza médio */
    --bg-light: #f8f9fa;
    --border-color: #dee2e6;
    --sidebar-width: 280px;
    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d3556 100%);
    color: white;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    color: white;
    background-color: rgba(255,255,255,0.1);
    border-left-color: var(--secondary-color);
}

.sidebar-nav .nav-link i {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
}

.sidebar-nav .nav-link span {
    font-weight: 500;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    padding: 30px;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d3556 100%);
    color: white;
    border-radius: 12px 12px 0 0 !important;
    border: none;
    padding: 15px 20px;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}
.btn-primary:hover, .btn-primary:focus {
    background: #1a2a5c !important;
    border-color: #1a2a5c !important;
}
.btn-success, .btn-success:focus, .btn-success:hover {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #fff !important;
}
.btn-info {
    background: #e3eafc !important;
    border-color: #b6c6f5 !important;
    color: var(--primary-color) !important;
}
.btn-info:hover, .btn-info:focus {
    background: #c5d2f7 !important;
    border-color: #8fa6e6 !important;
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: #212529;
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Forms */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid var(--border-color);
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(32, 92, 59, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

/* Tables */
.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    background-color: var(--bg-light);
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    color: var(--text-primary);
    padding: 15px;
}

.table tbody td {
    padding: 15px;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: rgba(32, 92, 59, 0.05);
}

/* Status badges */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 12px;
}

.badge.bg-success {
    background: var(--primary-color) !important;
    color: #fff !important;
}
.badge.bg-warning {
    background: #f5f5f5 !important;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
}
.badge.bg-danger {
    background: #e53935 !important;
    color: #fff !important;
}

/* User avatar */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.user-avatar-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

/* Charts */
.chart-container {
    position: relative;
    height: 300px;
}

/* Toast notifications */
.toast {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.toast.success {
    background: var(--primary-color);
    color: #fff;
}

.toast.error {
    background: #e53935;
    color: #fff;
}

/* Tabs */
.nav-tabs {
    border-bottom: 2px solid var(--border-color);
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 8px 8px 0 0;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 12px 20px;
    margin-right: 5px;
}

.nav-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

/* Feed styles (mantidos do anterior) */
.post-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.post-header {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.post-avatar, .post-avatar-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.post-avatar-icon {
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.post-media-container {
    position: relative;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    max-height: 600px;
    overflow: hidden;
}

.post-media, .post-video {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    display: block;
    background: #f8f9fa;
}

.post-video {
    cursor: pointer;
}

.post-video.muted::after {
    content: '🔇';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.post-actions {
    padding: 12px 16px;
    display: flex;
    gap: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.action-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 8px;
    border-radius: 50%;
}

.action-btn:hover {
    background-color: rgba(0,0,0,0.05);
}

.action-btn.liked i {
    color: var(--secondary-color);
}

.likes-count {
    font-weight: 600;
    color: var(--text-primary);
    margin: 8px 16px 12px 16px;
    padding: 0;
}

.post-text {
    padding: 0 16px 12px;
    color: var(--text-primary);
    line-height: 1.5;
}

.post-text .username {
    font-weight: 600;
    color: var(--text-primary);
}

.comments-section {
    padding: 0 16px 16px;
}

.comments-list {
    max-height: 200px;
    overflow-y: auto;
}

.comment-item {
    display: flex;
    align-items: start;
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px 0;
}

.comment-avatar, .comment-avatar-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.comment-avatar-icon {
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.comment-content {
    flex: 1;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 18px;
    font-size: 14px;
}

.comment-author {
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 4px;
}

.comment-time {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.view-more-comments {
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    padding: 8px 0;
    font-weight: 500;
}

.comment-form {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.comment-input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    background: #f8f9fa;
}

.comment-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.comment-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.comment-submit:hover {
    background-color: #2d6a4f;
}

.comment-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Header styles */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1050;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .sidebar-overlay.show {
        opacity: 1;
        visibility: visible;
    }
    
    .main-content {
        margin-left: 0;
        padding: 15px;
    }
    
    .likes-count {
        margin: 6px 16px 8px 16px;
    }
    
    .dropdown .btn-link {
        padding: 8px 12px;
        margin-right: 8px;
        border-radius: 50%;
        transition: background-color 0.2s ease;
    }
    
    .dropdown .btn-link:hover {
        background-color: rgba(0,0,0,0.05);
    }
    
    /* Ajustes para o header mobile */
    header.d-md-none {
        position: sticky;
        top: 0;
        z-index: 1030;
    }
    
    /* Ajustes para o sidebar no mobile */
    .sidebar-header {
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .sidebar-nav {
        padding: 15px 0;
    }
    
    .sidebar-nav .nav-link {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .sidebar-nav .nav-link i {
        width: 24px;
        font-size: 18px;
    }
    
    /* Ajustes para o filtro de datas no mobile */
    .reports-header {
        background: white;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        margin-bottom: 20px;
    }
    
    .date-filter-container {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 15px;
        border: 1px solid #e9ecef;
    }
    
    .date-filter-container .form-label {
        color: #495057;
        font-weight: 500;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .date-filter-container .form-control {
        border: 1px solid #ced4da;
        border-radius: 6px;
        font-size: 14px;
        padding: 8px 12px;
        transition: all 0.2s ease;
    }
    
    .date-filter-container .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }
    
    .date-filter-container .btn {
        border-radius: 6px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 12px;
        padding: 10px 16px;
        transition: all 0.2s ease;
    }
    
    .date-filter-container .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    /* Ajustes para os cards de relatórios no mobile */
    .card {
        margin-bottom: 15px;
    }
    
    .card-header {
        padding: 12px 15px;
    }
    
    .card-header h5 {
        font-size: 16px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    /* Ajustes para os gráficos no mobile */
    canvas {
        max-height: 250px;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 576px) {
    .reports-header {
        padding: 15px;
    }
    
    .date-filter-container {
        padding: 12px;
    }
    
    .date-filter-container .row {
        margin: 0;
    }
    
    .date-filter-container .col-6 {
        padding: 0 5px;
    }
    
    .date-filter-container .form-control {
        font-size: 13px;
        padding: 6px 8px;
    }
    
    .date-filter-container .btn {
        font-size: 11px;
        padding: 8px 12px;
    }
    
    .card-header h5 {
        font-size: 14px;
    }
    
    .card-header h5 i {
        font-size: 12px;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Modal improvements */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d6a4f 100%);
    color: white;
    border-radius: 12px 12px 0 0;
    border: none;
}

.modal-header .btn-close {
    filter: invert(1);
}

/* Chart improvements */
canvas {
    border-radius: 8px;
}

/* Filtro de datas - Desktop */
.reports-header {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.date-filter-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.date-filter-container .form-label {
    color: #495057;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.date-filter-container .form-control {
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 14px;
    padding: 10px 15px;
    transition: all 0.2s ease;
    background: white;
}

.date-filter-container .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    background: white;
}

.date-filter-container .btn {
    border-radius: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    padding: 12px 20px;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d6a4f 100%);
    border: none;
    color: white;
}

.date-filter-container .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #0056b3 0%, #1e4d2b 100%);
}

.date-filter-container .btn:active {
    transform: translateY(0);
}

/* Tags e Filtros */
.tags-filter-container {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.tags-filter-container:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    font-size: 13px;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.tag-item:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-1px);
    text-decoration: none;
    color: #495057;
}

.tag-item.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.tag-item .tag-count {
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    margin-left: 6px;
    font-weight: 500;
}

.tag-item:not(.active) .tag-count {
    background: #6c757d;
    color: white;
}

/* Tags nas postagens */
.post-tags {
    margin: 12px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #f1f3f4;
    border: 1px solid #e8eaed;
    border-radius: 18px;
    font-size: 12px;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.post-tag:hover {
    background: #e8eaed;
    border-color: #dadce0;
    transform: translateY(-1px);
    text-decoration: none;
    color: #5f6368;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.post-tag i {
    font-size: 10px;
    margin-right: 6px;
    opacity: 0.8;
}

/* Layout do feed no desktop */
@media (min-width: 768px) {
    .feed-container {
        max-width: 800px;
        margin: 0 auto;
        width: 100%;
    }
    
    .post-card {
        margin-bottom: 24px;
        border-radius: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        width: 100%;
    }
    
    .post-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-text {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    
    .post-media-container {
        margin: 16px 0;
        border-radius: 12px;
        overflow: hidden;
        background: #f8f9fa;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 200px;
        max-height: 600px;
    }
    
    .post-actions {
        margin: 16px 0;
        padding: 0;
    }
    
    .action-btn {
        padding: 12px 16px;
        margin-right: 16px;
        border-radius: 8px;
        font-size: 16px;
    }
    
    .likes-count {
        margin: 12px 0 16px 0;
        font-size: 14px;
        font-weight: 500;
    }
    
    .comments-section {
        margin-top: 16px;
    }
    
    .comment-form {
        margin-top: 16px;
        padding: 16px 0;
    }
    
    .comment-input {
        padding: 12px 16px;
        border-radius: 20px;
        font-size: 14px;
    }
    
    .comment-submit {
        padding: 8px 16px;
        border-radius: 16px;
        font-size: 13px;
    }
    
    /* Garantir que o filtro tenha a mesma largura dos posts */
    .tags-filter-container {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .filter-indicator {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Responsividade para tags */
@media (max-width: 768px) {
    .post-tags {
        margin: 10px 12px;
        gap: 6px;
    }
    
    .post-tag {
        padding: 4px 10px;
        font-size: 11px;
        border-radius: 16px;
    }
    
    .post-tag i {
        font-size: 9px;
        margin-right: 4px;
    }
}

/* Responsividade para indicador de filtro */
@media (max-width: 768px) {
    .filter-indicator {
        margin-bottom: 15px;
    }
    
    .filter-indicator .alert {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .filter-indicator .btn-outline-info {
        font-size: 11px;
        padding: 3px 6px;
    }
} 

/* Botão de filtro no header */
#showFilterBtn {
    border-radius: 20px;
    font-size: 13px;
    padding: 6px 12px;
    transition: all 0.2s ease;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

#showFilterBtn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#showFilterBtn:active {
    transform: translateY(0);
}

/* Responsividade para botão de filtro */
@media (max-width: 768px) {
    #showFilterBtn {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .gap-2 {
        gap: 0.5rem !important;
    }
} 

/* Botão ver mais/ver menos tags */
.tag-more-btn {
    background: #e3f2fd !important;
    border-color: #2196f3 !important;
    color: #1976d2 !important;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tag-more-btn:hover {
    background: #2196f3 !important;
    border-color: #1976d2 !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.tag-more-btn .tag-count {
    background: rgba(33, 150, 243, 0.2) !important;
    color: #1976d2 !important;
}

.tag-more-btn:hover .tag-count {
    background: rgba(255, 255, 255, 0.3) !important;
    color: white !important;
}

/* Animação para transição de tags */
.tags-list {
    transition: all 0.3s ease;
}

.tags-list .tag-item {
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade para botões ver mais */
@media (max-width: 768px) {
    .tag-more-btn {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .tag-more-btn .tag-count {
        font-size: 10px;
        padding: 1px 4px;
    }
} 

/* Campo de busca para tags */
#tagSearchContainer .input-group {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#tagSearchContainer .input-group-text {
    background: #f8f9fa;
    border: 1px solid #ced4da;
    border-right: none;
    color: #6c757d;
}

#tagSearchContainer .form-control {
    border: 1px solid #ced4da;
    border-left: none;
    border-right: none;
    font-size: 14px;
    padding: 8px 12px;
}

#tagSearchContainer .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

#tagSearchContainer .btn {
    border: 1px solid #ced4da;
    border-left: none;
    background: #f8f9fa;
    color: #6c757d;
    padding: 8px 12px;
    transition: all 0.2s ease;
}

#tagSearchContainer .btn:hover {
    background: #e9ecef;
    color: #495057;
}

/* Responsividade para campo de busca */
@media (max-width: 768px) {
    #tagSearchContainer .form-control {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    #tagSearchContainer .btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    #tagSearchContainer .input-group-text {
        font-size: 12px;
        padding: 6px 10px;
    }
} 

/* Indicadores de loading e fim */
#loadingIndicator, #endIndicator {
    padding: 40px 20px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin: 20px 0;
    transition: all 0.3s ease;
}

#loadingIndicator:hover, #endIndicator:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

#loadingIndicator .loader {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#endIndicator {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
}

#endIndicator .fa-check-circle {
    color: #28a745;
    animation: fadeInUp 0.5s ease;
}

/* Responsividade para indicadores */
@media (max-width: 768px) {
    #loadingIndicator, #endIndicator {
        padding: 30px 15px;
        margin: 15px 0;
    }
    
    #loadingIndicator .loader {
        width: 32px;
        height: 32px;
        border-width: 2px;
    }
} 

/* Indicador de filtro ativo */
.filter-indicator {
    margin-bottom: 20px;
}

.filter-indicator .alert {
    border-radius: 16px;
    border: 1px solid #bee5eb;
    background: linear-gradient(135deg, #d1ecf1 0%, #cce7ff 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.filter-indicator .alert:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.filter-indicator .btn-outline-info {
    border-color: #17a2b8;
    color: #17a2b8;
    font-size: 12px;
    padding: 4px 8px;
}

.filter-indicator .btn-outline-info:hover {
    background: #17a2b8;
    border-color: #17a2b8;
    color: white;
}

/* Responsividade para tags no filtro */
@media (max-width: 768px) {
    .tags-filter-container {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .tags-list {
        gap: 6px;
    }
    
    .tag-item {
        padding: 5px 10px;
        font-size: 12px;
    }
} 

/* Tabela de postagens no dashboard */
#postsTable {
    font-size: 14px;
}

#postsTable th {
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    padding: 12px 8px;
}

#postsTable td {
    padding: 12px 8px;
    vertical-align: middle;
}

#postsTable .badge {
    font-size: 11px;
    padding: 4px 8px;
}

#postsTable .btn-group-sm .btn {
    padding: 4px 8px;
    font-size: 12px;
}

#postsTable .text-truncate {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Preview de mídia no modal */
#editMidiaPreview .alert {
    border-radius: 8px;
    border: 1px solid #bee5eb;
}

#editMidiaPreview img,
#editMidiaPreview video {
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsividade para tabela de postagens */
@media (max-width: 768px) {
    #postsTable {
        font-size: 12px;
    }
    
    #postsTable th,
    #postsTable td {
        padding: 8px 4px;
    }
    
    #postsTable .text-truncate {
        max-width: 120px;
    }
    
    #postsTable .btn-group-sm .btn {
        padding: 3px 6px;
        font-size: 11px;
    }
}

/* Comments Management */
.comment-content {
    max-width: 300px;
}

/* Avatar icon for comments management */
.user-avatar-icon {
    width: 32px;
    height: 32px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 14px;
}

.user-avatar-icon i {
    color: #6c757d;
}

/* Melhorias na diferenciação visual dos comentários */
.comment-text {
    line-height: 1.4;
    word-wrap: break-word;
}

.comment-username {
    font-weight: 600;
    color: #1a1a1a;
    margin-right: 4px;
}

.comment-text .comment-username {
    font-weight: 600;
    color: #1a1a1a;
    margin-right: 4px;
}

.comment-time {
    color: #8e8e93;
    font-size: 12px;
    margin-left: 8px;
}

.comment-content .fw-bold {
    color: var(--dark-color);
    margin-bottom: 4px;
}

.post-info {
    max-width: 200px;
}

.post-info .fw-bold {
    color: var(--primary-color);
    margin-bottom: 2px;
}

#commentsTable .table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

#commentsTable .btn-group .btn {
    border-radius: 6px;
    margin: 0 2px;
}

#commentsTable .btn-outline-info:hover {
    background-color: var(--info-color);
    border-color: var(--info-color);
}

#commentsTable .btn-outline-danger:hover {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
} 