/**
 * Catálogo de Produtos - Dashboard Premium
 * Compatibilidade: AngularJS 1.2.28 | IE9-11
 * Localização: /public/styles/css/catalogo-dashboard.css
 *
 * ARQUITETURA:
 * - Valores diretos do Design System (sem CSS variables para compatibilidade IE)
 * - Zero estilos inline no HTML
 * - Classes BEM leves para organização
 * - Pronto para alta densidade de dados
 * - Otimizado para performance e navegadores legados
 */

/* ==================== CONTAINER PRINCIPAL ==================== */

.catalogo-dashboard {
    min-height: 100vh;
    background: #f8fafc;
    padding: 32px 32px 64px;
}

.catalogo-dashboard-content {
    max-width: 1600px;
    margin: 0 auto;
}

/* ==================== HEADER ==================== */

.catalogo-header {
    margin-bottom: 0;
}

.catalogo-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 32px;
}

.catalogo-title-area {
    flex: 1;
}

/* Breadcrumb */
.catalogo-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 11px;
    color: #64748b;
}

.catalogo-breadcrumb a {
    color: #4F00D1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.catalogo-breadcrumb a:hover {
    color: #190834;
}

.catalogo-breadcrumb-separator {
    color: #94a3b8;
    font-size: 10px;
}

/* Titulo e subtitulo */
.catalogo-title {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.catalogo-subtitle {
    font-size: 16px;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

/* ==================== BARRA DE FILTROS HORIZONTAL ==================== */

.catalogo-filter-bar {
    background: #FFFFFF;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.catalogo-filter-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* ==================== FILTROS PREMIUM ==================== */

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

.catalogo-filter-selection {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.catalogo-filter-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.catalogo-filter-label i {
    font-size: 10px;
    color: #4F00D1;
}

/* Tags dos catálogos selecionados */
.catalogo-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.catalogo-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 14px;
    background: linear-gradient(135deg, #4F00D1, #7C3AED);
    color: #FFFFFF;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(79, 0, 209, 0.25);
    animation: catalogo-tag-enter 0.3s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes catalogo-tag-enter {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.catalogo-filter-tag-text {
    line-height: 1.2;
}

.catalogo-filter-tag-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 11px;
}

.catalogo-filter-tag-remove:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.catalogo-filter-tag-remove:active {
    transform: scale(0.95);
}

/* Campo de busca e dropdown */
.catalogo-filter-dropdown-container {
    position: relative;
    min-width: 280px;
}

.catalogo-filter-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.catalogo-filter-search-icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 12px;
    pointer-events: none;
}

.catalogo-filter-search {
    width: 100%;
    padding: 10px 40px 10px 36px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    transition: all 0.25s ease;
}

.catalogo-filter-search::placeholder {
    color: #94a3b8;
}

.catalogo-filter-search:hover:not(:disabled) {
    background: #FFFFFF;
    border-color: #cbd5e1;
}

.catalogo-filter-search:focus {
    outline: none;
    background: #FFFFFF;
    border-color: #4F00D1;
    box-shadow: 0 0 0 3px rgba(79, 0, 209, 0.1);
}

.catalogo-filter-search:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.catalogo-filter-dropdown-toggle {
    position: absolute;
    right: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 11px;
}

.catalogo-filter-dropdown-toggle:hover:not(:disabled) {
    background: #f1f5f9;
    color: #4F00D1;
}

.catalogo-filter-dropdown-toggle:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Dropdown list */
.catalogo-filter-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    background: #FFFFFF;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    animation: catalogo-dropdown-enter 0.25s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes catalogo-dropdown-enter {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.catalogo-filter-dropdown::-webkit-scrollbar {
    width: 8px;
}

.catalogo-filter-dropdown::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 0 8px 8px 0;
}

.catalogo-filter-dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.catalogo-filter-dropdown::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.catalogo-filter-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid #f1f5f9;
}

.catalogo-filter-dropdown-item:last-child {
    border-bottom: none;
}

.catalogo-filter-dropdown-item:hover {
    background: #f8fafc;
}

.catalogo-filter-dropdown-item-selected {
    background: #f1f5f9;
}

.catalogo-filter-dropdown-item-selected:hover {
    background: #e2e8f0;
}

.catalogo-filter-dropdown-check {
    font-size: 16px;
    color: #94a3b8;
    flex-shrink: 0;
}

.catalogo-filter-dropdown-item-selected .catalogo-filter-dropdown-check {
    color: #4F00D1;
}

.catalogo-filter-dropdown-text {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    line-height: 1.4;
}

.catalogo-filter-dropdown-item-selected .catalogo-filter-dropdown-text {
    font-weight: 600;
    color: #4F00D1;
}

.catalogo-filter-dropdown-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    color: #94a3b8;
    text-align: center;
    gap: 8px;
}

.catalogo-filter-dropdown-empty i {
    font-size: 32px;
    opacity: 0.5;
}

.catalogo-filter-dropdown-empty span {
    font-size: 13px;
    font-weight: 500;
}

/* Hint */
.catalogo-filter-hint {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    padding: 0 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.catalogo-filter-hint i {
    font-size: 10px;
}

/* Action buttons */
.catalogo-action-buttons {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

/* ==================== KPI CARDS GRID ==================== */

.catalogo-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.catalogo-kpi-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
    animation: sg-card-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

/* Entrada escalonada dos cards */
.catalogo-kpi-card:nth-child(1) { animation-delay: 0ms; }
.catalogo-kpi-card:nth-child(2) { animation-delay: 100ms; }
.catalogo-kpi-card:nth-child(3) { animation-delay: 200ms; }
.catalogo-kpi-card:nth-child(4) { animation-delay: 300ms; }

.catalogo-kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: transparent;
}

/* Header do card KPI */
.catalogo-kpi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.catalogo-kpi-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Icones dos KPIs */
.catalogo-kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.catalogo-kpi-icon-purple {
    background: linear-gradient(135deg, rgba(79, 0, 209, 0.1) 0%, rgba(79, 0, 209, 0.05) 100%);
    color: #4F00D1;
}

.catalogo-kpi-icon-green {
    background: linear-gradient(135deg, rgba(115, 158, 115, 0.1) 0%, rgba(115, 158, 115, 0.05) 100%);
    color: #739E73;
}

.catalogo-kpi-icon-orange {
    background: linear-gradient(135deg, rgba(199, 145, 33, 0.1) 0%, rgba(199, 145, 33, 0.05) 100%);
    color: #C79121;
}

.catalogo-kpi-icon-blue {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 122, 255, 0.05) 100%);
    color: #007aff;
}

/* Valor principal do KPI */
.catalogo-kpi-value {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

/* Indicador de tendência */
.catalogo-kpi-trend {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
}

.catalogo-kpi-trend-positive {
    color: #739E73;
}

.catalogo-kpi-trend-negative {
    color: #dc2626;
}

.catalogo-kpi-trend-neutral {
    color: #94a3b8;
}

/* ==================== GRÁFICOS ==================== */

.catalogo-charts-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.catalogo-chart-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.catalogo-chart-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tamanhos de grid */
.catalogo-chart-large {
    grid-column: span 8;
}

.catalogo-chart-medium {
    grid-column: span 4;
}

.catalogo-chart-half {
    grid-column: span 6;
}

.catalogo-chart-full {
    grid-column: span 12;
}

/* Header do gráfico */
.catalogo-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.catalogo-chart-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.catalogo-chart-actions {
    display: flex;
    gap: 8px;
}

/* Corpo do gráfico */
.catalogo-chart-body {
    position: relative;
    min-height: 320px;
    overflow: visible !important; /* Permite tooltip sair do container */
}

/* Canvas dos gráficos - Fonte premium */
.catalogo-chart-body canvas {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    max-height: 100%;
}

/* Garante que tooltips não sejam cortados */
.catalogo-chart-card {
    overflow: visible !important;
}

.catalogo-chart-card .catalogo-chart-body {
    z-index: 1;
}

/* Placeholder para gráficos ainda não implementados */
.catalogo-chart-placeholder {
    width: 100%;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 12px;
    gap: 16px;
}

.catalogo-chart-placeholder i {
    font-size: 48px;
    color: #94a3b8;
    opacity: 0.3;
}

.catalogo-chart-placeholder-text {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

/* ==================== TABELA TOP NCMs ==================== */

.catalogo-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.catalogo-table-header {
    background: #f1f5f9;
}

.catalogo-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.catalogo-table th:first-child {
    border-radius: 12px 0 0 12px;
}

.catalogo-table th:last-child {
    border-radius: 0 12px 12px 0;
}

.catalogo-table td {
    padding: 20px 20px;
    font-size: 11px;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
}

.catalogo-table tr:last-child td {
    border-bottom: none;
}

.catalogo-table tbody tr {
    transition: background 0.2s ease;
}

.catalogo-table tbody tr:hover {
    background: #f1f5f9;
}

/* Coluna de ranking */
.catalogo-table-rank {
    width: 48px;
    text-align: center;
    font-weight: 700;
    color: #94a3b8;
}

.catalogo-table-rank-top {
    color: #4F00D1;
    font-size: 16px;
}

/* Colunas especializadas */
.catalogo-table-ncm {
    font-weight: 600;
    color: #0f172a;
}

.catalogo-table-count {
    font-weight: 700;
    color: #0f172a;
    text-align: right;
}

.catalogo-table-percent {
    text-align: right;
    font-weight: 600;
    color: #64748b;
}

/* Badges na tabela */
.catalogo-table-badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.catalogo-table-badge-importado {
    background: rgba(115, 158, 115, 0.1);
    color: #739E73;
}

.catalogo-table-badge-nacional {
    background: rgba(0, 122, 255, 0.1);
    color: #007aff;
}

/* ==================== FOOTER ==================== */

.catalogo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.catalogo-footer-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #64748b;
}

.catalogo-footer-info i {
    color: #4F00D1;
}

/* ==================== ESTADOS - LOADING ==================== */

.catalogo-skeleton {
    background: linear-gradient(
        90deg,
        #f1f5f9 0%,
        #f8fafc 50%,
        #f1f5f9 100%
    );
    background-size: 200% 100%;
    animation: sg-skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: 12px;
}

.catalogo-skeleton-kpi {
    height: 180px;
}

.catalogo-skeleton-chart {
    height: 320px;
}

/* ==================== ESTADOS - EMPTY ==================== */

.catalogo-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px;
    gap: 16px;
}

.catalogo-empty-state i {
    font-size: 80px;
    color: #94a3b8;
    opacity: 0.3;
}

.catalogo-empty-state-title {
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.catalogo-empty-state-text {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    text-align: center;
    max-width: 400px;
}

/* ==================== ESTADOS - ERROR ==================== */

.catalogo-error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px;
    gap: 16px;
}

.catalogo-error-state i {
    font-size: 80px;
    color: #dc2626;
    opacity: 0.5;
}

.catalogo-error-state-title {
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.catalogo-error-state-text {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    text-align: center;
    max-width: 400px;
}

/* ==================== CONTROLE DE VISIBILIDADE DE ESTADOS ==================== */

/* Estados ocultos por padrão */
.catalogo-state-loading,
.catalogo-state-empty,
.catalogo-state-error {
    display: none;
}

/* Ativação via classes no container */
.catalogo-dashboard.state-loading .catalogo-state-normal {
    display: none;
}
.catalogo-dashboard.state-loading .catalogo-state-loading {
    display: block;
}
.catalogo-dashboard.state-loading .catalogo-kpi-grid.catalogo-state-loading {
    display: grid;
}
.catalogo-dashboard.state-loading .catalogo-charts-grid.catalogo-state-loading {
    display: grid;
}

.catalogo-dashboard.state-empty .catalogo-state-normal {
    display: none;
}
.catalogo-dashboard.state-empty .catalogo-state-empty {
    display: flex;
}

.catalogo-dashboard.state-error .catalogo-state-normal {
    display: none;
}
.catalogo-dashboard.state-error .catalogo-state-error {
    display: flex;
}

/* ==================== ANIMAÇÕES ==================== */

@keyframes sg-card-enter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sg-skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ==================== RESPONSIVIDADE ==================== */

/* Tablet e abaixo */
@media (max-width: 1200px) {
    .catalogo-chart-large,
    .catalogo-chart-medium,
    .catalogo-chart-half {
        grid-column: span 12;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .catalogo-dashboard {
        padding: 16px;
    }

    .catalogo-title {
        font-size: 28px;
    }

    .catalogo-kpi-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .catalogo-header-top {
        flex-direction: column;
    }

    .catalogo-filters {
        width: 100%;
    }

    .catalogo-filter-select {
        flex: 1;
        min-width: auto;
    }

    .catalogo-kpi-value {
        font-size: 28px;
    }

    .catalogo-footer {
        flex-direction: column;
        gap: 16px;
    }

    /* Tabela responsiva - scroll horizontal */
    .catalogo-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* ==================== CATÁLOGOS EM ATIVIDADE ==================== */

.catalogo-link {
    color: #4F00D1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.catalogo-link:hover {
    color: #7C3AED;
    text-decoration: underline;
}

.catalogo-link:active {
    color: #190834;
}

.catalogo-catalogos-scroll {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: auto;
}

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

.catalogo-table-catalogos thead {
    position: sticky;
    top: 0;
    background: #f8fafc;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.catalogo-table-catalogos thead th {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.catalogo-table-catalogos tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.15s ease;
}

.catalogo-table-catalogos tbody tr:hover {
    background-color: #f8fafc;
}

.catalogo-table-catalogos tbody tr:last-child {
    border-bottom: none;
}

.catalogo-table-catalogos tbody td {
    padding: 14px 16px;
    font-size: 13px;
    color: #334155;
}

.catalogo-table-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.catalogo-badge-importado {
    background-color: #dbeafe;
    color: #1e40af;
}

.catalogo-badge-analise {
    background-color: #fef3c7;
    color: #92400e;
}

.catalogo-badge-engenharia {
    background-color: #e0e7ff;
    color: #3730a3;
}

.catalogo-badge-aprovado {
    background-color: #d1fae5;
    color: #065f46;
}

.catalogo-badge-revisao {
    background-color: #fce7f3;
    color: #9f1239;
}

.catalogo-table-etapa-vazio {
    opacity: 0.5;
}

.catalogo-chart-subtitle {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
}

/* Scrollbar customizada para a tabela */
.catalogo-catalogos-scroll::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.catalogo-catalogos-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.catalogo-catalogos-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.catalogo-catalogos-scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ==================== TABELA COMPACTA (NCMs) ==================== */

.catalogo-table-compact {
    font-size: 13px;
}

.catalogo-table-compact thead th {
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.catalogo-table-compact tbody td {
    padding: 10px 12px;
}

.catalogo-table-compact tbody tr {
    border-bottom: 1px solid #e2e8f0;
}

.catalogo-table-compact tbody tr:last-child {
    border-bottom: none;
}

.catalogo-table-compact tbody tr:hover {
    background-color: #f8fafc;
}

/* ==================== ACESSIBILIDADE ==================== */

/* Foco visível para navegação por teclado */
.catalogo-filter-select:focus-visible,
.catalogo-action-buttons button:focus-visible {
    outline: 2px solid #4F00D1;
    outline-offset: 2px;
}

/* Redução de movimento para usuários com preferência */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .catalogo-kpi-card {
        animation: none !important;
    }
}

/* ==================== IMPRESSÃO ==================== */

@media print {
    .catalogo-dashboard {
        padding: 0;
        background: white;
    }

    .catalogo-action-buttons,
    .catalogo-chart-actions {
        display: none;
    }

    .catalogo-kpi-card,
    .catalogo-chart-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
