.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.module-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
}

.module-header h2 {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 700;
}

.search-box {
    position: relative;
}

.search-box input {
    padding-left: 30px;
    width: 220px;
}

.search-box::before {
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.filter-controls {
    display: flex;
    gap: 10px;
}

.filter-controls select {
    width: 180px;
}

.date-filter input {
    width: 200px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
}

.badge-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    box-shadow: 0 2px 5px rgba(39, 174, 96, 0.3);
}

.badge-warning {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    color: #2c3e50;
    box-shadow: 0 2px 5px rgba(243, 156, 18, 0.3);
}

.badge-danger {
    background: linear-gradient(135deg, #e74c3c, #ec7063);
    color: white;
    box-shadow: 0 2px 5px rgba(231, 76, 60, 0.3);
}

.badge-info {
    background: linear-gradient(135deg, #3498db, #5dade2);
    color: white;
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.3);
}

.badge-secondary {
    background: linear-gradient(135deg, #7f8c8d, #95a5a6);
    color: white;
    box-shadow: 0 2px 5px rgba(127, 140, 141, 0.3);
}

.comunicado-item {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
    border-left: 3px solid var(--accent-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.comunicado-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.comunicado-header h4 {
    color: var(--text-color);
    margin: 0;
    font-weight: 600;
}

.comunicado-content {
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 8px;
    font-size: 0.78rem;
}

.comunicado-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

.comunicado-footer .date {
    color: #999;
}

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

.report-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.report-card {
    text-align: center;
    padding: 14px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.report-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-light);
}

.report-card i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.report-card h4 {
    color: var(--text-color);
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

.report-card p {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 0.75rem;
}

.loading {
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.loading::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

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

.error {
    text-align: center;
    padding: 30px;
    font-size: 1rem;
    color: var(--danger-color);
    background: linear-gradient(135deg, #ffe5e5, #ffcccc);
    border-radius: 10px;
    border: 2px solid var(--danger-color);
}

.btn-sm {
    padding: 1px 4px;
    font-size: 0.55rem;
    gap: 2px;
    box-shadow: none;
}

.mb-3 {
    margin-bottom: 1rem;
}

form .form-group:last-child {
    margin-bottom: 0;
}