/* ====================================================================
   SISTEMA DE APONTAMENTOS - ESTILOS COMPARTILHADOS
   Versão: TIMESTAMP-20250617103340 - ESPECIFICIDADE MÁXIMA
   Este arquivo contém todos os estilos comuns aos módulos SMT, THT e Qualidade
   ================================================================== */

/* Cores principais do sistema - Design Moderno */
:root {
    --cor-principal: #3498db;
    --cor-principal-hover: #2980b9;
    --cor-principal-light: rgba(52, 152, 219, 0.1);
    --cor-secundaria: #2c3e50;
    --cor-sucesso: #27ae60;
    --cor-warning: #f39c12;
    --cor-danger: #e74c3c;
    --background-gradient: linear-gradient(135deg, #aed4fb 0%, #e1eefb 100%);
    --card-gradient: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --border-radius-small: 8px;
}

/* ========================================
   ESTILOS PADRONIZADOS PARA ÍCONES DOS APONTAMENTOS
   ======================================== */

/* DEFINIÇÕES PRINCIPAIS - MÁXIMA ESPECIFICIDADE */
table tbody tr td i.bi.obs-indicator,
table tbody tr td i.bi.acoes-indicator, 
table tbody tr td i.bi.componentes-icon,
.table tbody tr td i.bi.obs-indicator,
.table tbody tr td i.bi.acoes-indicator,
.table tbody tr td i.bi.componentes-icon,
i.bi.obs-indicator,
i.bi.acoes-indicator,
i.bi.componentes-icon,
.obs-indicator,
.acoes-indicator,
.componentes-icon {
    /* Tamanho mais discreto */
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    
    /* Cor azul padrão com mais transparência */
    color: rgba(52, 152, 219, 0.4) !important;
    
    /* Fundo transparente com borda mais sutil */
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid rgba(52, 152, 219, 0.2) !important;
    border-radius: 6px !important;
    
    /* Layout e posicionamento */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    
    /* Fonte menor e cursor */
    font-size: 14px !important;
    cursor: pointer !important;
    
    /* Transições suaves */
    transition: all 0.3s ease !important;
    
    /* Reset de margens e padding menores */
    margin: 1px !important;
    padding: 4px !important;
    
    /* Garantir visibilidade */
    visibility: visible !important;
    
    /* Posicionamento */
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
}

/* EFEITOS HOVER - MÁXIMA ESPECIFICIDADE */
table tbody tr td i.bi.obs-indicator:hover,
table tbody tr td i.bi.acoes-indicator:hover,
table tbody tr td i.bi.componentes-icon:hover,
.table tbody tr td i.bi.obs-indicator:hover,
.table tbody tr td i.bi.acoes-indicator:hover,
.table tbody tr td i.bi.componentes-icon:hover,
i.bi.obs-indicator:hover,
i.bi.acoes-indicator:hover,
i.bi.componentes-icon:hover,
.obs-indicator:hover,
.acoes-indicator:hover,
.componentes-icon:hover {
    /* Efeito mais sutil no hover */
    transform: scale(1.05) !important;
    color: rgba(41, 128, 185, 0.6) !important;
    
    /* Fundo mais sutil no hover */
    background: rgba(52, 152, 219, 0.05) !important;
    background-color: rgba(52, 152, 219, 0.05) !important;
    
    /* Sombra mais sutil */
    box-shadow: 0 1px 4px rgba(52, 152, 219, 0.2) !important;
    
    /* Borda ligeiramente mais visível no hover */
    border-color: rgba(52, 152, 219, 0.4) !important;
}

/* ========================================
   ÍCONES DE CONTROLE - MANTENDO CORES ORIGINAIS
   ======================================== */

/* ÍCONE DE EDITAR (LÁPIS) - AZUL BOOTSTRAP */
.btn-outline-primary i.bi-pencil,
.btn-primary i.bi-pencil,
table tbody tr td .btn-outline-primary i.bi-pencil,
table tbody tr td .btn-primary i.bi-pencil,
i.bi.bi-pencil {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    color: #0d6efd !important; /* Azul Bootstrap original */
    background: transparent !important;
    background-color: transparent !important;
    border: 2px solid rgba(13, 110, 253, 0.3) !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 2px !important;
    padding: 6px !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
}

/* ÍCONE DE EXCLUIR (LIXEIRA) - VERMELHO BOOTSTRAP */
.btn-outline-danger i.bi-trash,
.btn-danger i.bi-trash,
table tbody tr td .btn-outline-danger i.bi-trash,
table tbody tr td .btn-danger i.bi-trash,
i.bi.bi-trash {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    color: #dc3545 !important; /* Vermelho Bootstrap original */
    background: transparent !important;
    background-color: transparent !important;
    border: 2px solid rgba(220, 53, 69, 0.3) !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 2px !important;
    padding: 6px !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
}

/* HOVER PARA ÍCONE DE EDITAR */
.btn-outline-primary:hover i.bi-pencil,
.btn-primary:hover i.bi-pencil,
table tbody tr td .btn-outline-primary:hover i.bi-pencil,
table tbody tr td .btn-primary:hover i.bi-pencil,
i.bi.bi-pencil:hover {
    transform: scale(1.1) !important;
    color: #0a58ca !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3) !important;
    border-color: rgba(13, 110, 253, 0.6) !important;
}

/* HOVER PARA ÍCONE DE EXCLUIR */
.btn-outline-danger:hover i.bi-trash,
.btn-danger:hover i.bi-trash,
table tbody tr td .btn-outline-danger:hover i.bi-trash,
table tbody tr td .btn-danger:hover i.bi-trash,
i.bi.bi-trash:hover {
    transform: scale(1.1) !important;
    color: #b02a37 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3) !important;
    border-color: rgba(220, 53, 69, 0.6) !important;
}

/* ESTILOS PARA ELEMENTOS FILHOS (i dentro dos containers) */
.obs-indicator i,
.acoes-indicator i,
.componentes-icon i,
table tbody tr td .obs-indicator i,
table tbody tr td .acoes-indicator i,
table tbody tr td .componentes-icon i {
    color: inherit !important;
    font-size: inherit !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* RESPONSIVIDADE - MOBILE */
@media (max-width: 768px) {
    table tbody tr td i.bi.obs-indicator,
    table tbody tr td i.bi.acoes-indicator, 
    table tbody tr td i.bi.componentes-icon,
    .table tbody tr td i.bi.obs-indicator,
    .table tbody tr td i.bi.acoes-indicator,
    .table tbody tr td i.bi.componentes-icon,
    i.bi.obs-indicator,
    i.bi.acoes-indicator,
    i.bi.componentes-icon,
    .obs-indicator,
    .acoes-indicator,
    .componentes-icon,
    .btn-outline-primary i.bi-pencil,
    .btn-primary i.bi-pencil,
    .btn-outline-danger i.bi-trash,
    .btn-danger i.bi-trash,
    i.bi.bi-pencil,
    i.bi.bi-trash {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        font-size: 14px !important;
        padding: 4px !important;
    }
}

/* ESTILOS ESPECÍFICOS PARA TABELA */
#tabelaApontamentos td .obs-indicator,
#tabelaApontamentos td .acoes-indicator,
#tabelaApontamentos td .componentes-icon,
#tabelaApontamentos i.obs-indicator,
#tabelaApontamentos i.acoes-indicator,
#tabelaApontamentos i.componentes-icon,
#tabelaApontamentos td .btn-outline-primary i.bi-pencil,
#tabelaApontamentos td .btn-primary i.bi-pencil,
#tabelaApontamentos td .btn-outline-danger i.bi-trash,
#tabelaApontamentos td .btn-danger i.bi-trash {
    margin-left: 4px !important;
    position: relative !important;
    top: 0 !important;
}

/* CENTRALIZAÇÃO DAS COLUNAS */
.col-obs, 
.col-acoes,
.col-controles {
    text-align: center !important;
    vertical-align: middle !important;
}

/* ÍCONE DE LIXEIRA - COR VERMELHA */
i.bi-trash,
i.bi-trash-fill,
.trash-icon,
.btn-danger i {
    color: #e74c3c !important;
}

.obs-indicator i,
.acoes-indicator i,
.componentes-icon i {
    font-size: inherit !important;
    color: inherit !important;
}

/* ====================================================================
   ÍCONES PADRONIZADOS DOS APONTAMENTOS - 32x32px
   ================================================================== */

/* Base comum para todos os ícones de apontamentos - MÁXIMA ESPECIFICIDADE POSSÍVEL */
table tbody tr td i.bi.obs-indicator,
table tbody tr td i.bi.acoes-indicator, 
table tbody tr td i.bi.componentes-icon,
.table tbody tr td i.bi.obs-indicator,
.table tbody tr td i.bi.acoes-indicator, 
.table tbody tr td i.bi.componentes-icon,
i.bi.obs-indicator,
i.bi.acoes-indicator, 
i.bi.componentes-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    background: transparent !important;
    border: 1px solid rgba(52, 152, 219, 0.2) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    vertical-align: middle !important;
    margin: 2px !important;
    position: relative !important;
    overflow: hidden !important;
    font-size: 14px !important;
    color: rgba(52, 152, 219, 0.4) !important;
}

/* Hover para todos os ícones azuis - UNIFICADO */
table tbody tr td i.bi.obs-indicator:hover,
table tbody tr td i.bi.acoes-indicator:hover,
table tbody tr td i.bi.componentes-icon:hover,
.table tbody tr td i.bi.obs-indicator:hover,
.table tbody tr td i.bi.acoes-indicator:hover,
.table tbody tr td i.bi.componentes-icon:hover,
i.bi.obs-indicator:hover,
i.bi.acoes-indicator:hover,
i.bi.componentes-icon:hover {
    color: rgba(41, 128, 185, 0.6) !important;
    background: rgba(52, 152, 219, 0.05) !important;
    border-color: rgba(52, 152, 219, 0.4) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 1px 4px rgba(52, 152, 219, 0.2) !important;
}

/* Estilos específicos removidos - usando estilo unificado acima */

/* Ícones dos botões de controle - Mais discretos */
.btn-outline-primary .bi-pencil {
    color: rgba(52, 152, 219, 0.4) !important;
    font-size: 14px;
}

.btn-outline-danger .bi-trash {
    color: #e74c3c !important;
    font-size: 14px;
}

/* Hover para botões de controle */
.btn-outline-primary:hover .bi-pencil {
    color: white !important;
}

.btn-outline-danger:hover .bi-trash {
    color: white !important;
}

/* Tamanho dos ícones internos - Mais discreto */
.obs-indicator i,
.acoes-indicator i,
.componentes-icon i {
    font-size: 14px !important;
    pointer-events: none;
}

/* Botões de controle - Tamanho padronizado */
.btn-group-sm .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    margin: 1px;
}

/* ESTABILIZAÇÃO GLOBAL PARA BOTÕES - PREVINE PROBLEMAS DE LAYOUT */
.btn:not(.btn-group-sm .btn) {
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
}

/* ESPECIAL PARA BOTÕES PRINCIPAIS DO SISTEMA - ESTABILIZAÇÃO TOTAL */
#btnIniciarProducao,
#btnConfirmarIniciarProducao {
    display: inline-block !important;
    vertical-align: middle !important;
    text-align: center !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    /* LARGURA FIXA PARA EVITAR "SALTOS" */
    min-width: 160px !important;
    width: auto !important;
    font-weight: 600 !important;
    /* PROTEÇÃO CONTRA ANIMAÇÕES EXTERNAS */
    animation: none !important;
    transform: none !important;
    /* ESTABILIZAÇÃO DE RENDERIZAÇÃO */
    will-change: auto !important;
    backface-visibility: hidden !important;
}

/* PROTEÇÃO PARA ÍCONES DENTRO DOS BOTÕES PRINCIPAIS */
#btnIniciarProducao i,
#btnConfirmarIniciarProducao i {
    animation: none !important;
    transform: none !important;
    display: inline !important;
    vertical-align: middle !important;
}

/* FORÇA MÁXIMA - SOBRESCREVE QUALQUER CLASSE BOOTSTRAP */
button#btnIniciarProducao.btn.btn-primary {
    min-width: 160px !important;
    width: auto !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    display: inline-block !important;
    text-align: center !important;
    line-height: 1.2 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

/* Efeito especial para ícone de lixeira - Vermelho */
.btn-outline-danger {
    border-color: rgba(231, 76, 60, 0.3) !important;
    color: #e74c3c !important;
}

.btn-outline-danger:hover {
    background: rgba(231, 76, 60, 0.1) !important;
    border-color: #e74c3c !important;
    color: #c0392b !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.25);
}

/* Efeito especial para ícone de edição - Mais discreto */
.btn-outline-primary {
    border-color: rgba(52, 152, 219, 0.6) !important;
    color: rgba(52, 152, 219, 0.8) !important;
}

.btn-outline-primary:hover {
    background: rgba(52, 152, 219, 0.1) !important;
    border-color: rgba(52, 152, 219, 0.8) !important;
    color: rgba(41, 128, 185, 0.9) !important;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .obs-indicator,
    .acoes-indicator,
    .componentes-icon {
        width: 28px !important;
        height: 28px !important;
        margin: 1px;
    }
    
    .obs-indicator i,
    .acoes-indicator i,
    .componentes-icon i {
        font-size: 14px !important;
    }
    
    .btn-group-sm .btn {
        width: 28px;
        height: 28px;
    }
}

/* Reset e configurações globais */
body {
    background: var(--background-gradient);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    padding-top: 90px;
    color: var(--cor-secundaria);
    overflow-x: hidden;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    flex: 1 0 auto;
}

/* ====================================================================
   CARDS MODERNOS
   ================================================================== */
.card {
    background: var(--card-gradient);
    box-shadow: var(--shadow-medium);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

/* Cabeçalho dos cards com gradiente moderno */
.card-header,
.card > .card-header,
div.card-header,
.card-header.bg-primary {
    background: linear-gradient(135deg, var(--cor-principal), var(--cor-principal-hover)) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 12px 20px !important;
    border-bottom: none !important;
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    pointer-events: none;
}

.card-header span {
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.card-header i {
    font-size: 0.85rem;
    margin-right: 0.4rem;
}

/* ====================================================================
   BOTÕES MODERNOS
   ================================================================== */
.btn {
    border-radius: var(--border-radius-small);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cor-principal), var(--cor-principal-hover));
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--cor-principal-hover), #1f5f8b);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--cor-sucesso), #229954);
    box-shadow: var(--shadow-light);
}

.btn-success:hover {
    background: linear-gradient(135deg, #229954, #1e8449);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    box-shadow: var(--shadow-light);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268, #495057);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, var(--cor-warning), #e67e22);
    box-shadow: var(--shadow-light);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, var(--cor-danger), #c0392b);
    box-shadow: var(--shadow-light);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.btn-light {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    color: var(--cor-secundaria);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: var(--cor-secundaria);
}

/* ====================================================================
   FORMULÁRIOS MODERNOS
   ================================================================== */
.form-control {
    border-radius: var(--border-radius-small);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.form-control:focus {
    border-color: var(--cor-principal);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    background-color: #ffffff;
}

.form-select {
    border-radius: var(--border-radius-small);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.form-select:focus {
    border-color: var(--cor-principal);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    background-color: #ffffff;
}

/* ====================================================================
   TABELAS MODERNAS
   ================================================================== */
.table {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

/* Estilo do cabeçalho da tabela removido - usando estilo específico do módulo */
/* .table thead th - removido para permitir que o estilo original table-header-row funcione */

.table tbody tr {
    transition: all 0.3s ease;
}

/* Hover removido para melhorar performance */

.table tbody td {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px;
    vertical-align: middle;
    text-align: center;
    font-weight: 500;
}

/* ====================================================================
   PAGINAÇÃO MODERNA
   ================================================================== */
.pagination .page-link {
    border-radius: var(--border-radius-small);
    margin: 0 2px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--cor-principal);
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pagination .page-link:hover {
    background: var(--cor-principal);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--cor-principal), var(--cor-principal-hover));
    color: white;
    box-shadow: var(--shadow-medium);
}

/* ====================================================================
   RODAPÉ PADRONIZADO
   ================================================================== */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    padding: 0;
    display: flex;
    align-items: center;
}

.footer .container {
    padding-top: 0;
    padding-bottom: 0;
    height: 100%;
}

.footer .d-flex {
    height: 100%;
    align-items: center;
}

.developer-credit {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ====================================================================
   ANIMAÇÕES COMPARTILHADAS
   ================================================================== */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

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

.slide-in {
    animation: slideIn 0.15s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ====================================================================
   RESPONSIVIDADE
   ================================================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .card {
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .table {
        font-size: 0.85rem;
    }
    
    .card-header {
        padding: 10px 15px;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 80px;
    }
    
    .card-header {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}