/* Configurações Globais */
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utilitário: Esconder barra de rolagem (mas manter funcionalidade) */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Sistema de Abas (Animação) */
.tab-content {
    display: none;
    animation: fadeEffect 0.3s ease-in-out;
}
.tab-content.active {
    display: block;
}
@keyframes fadeEffect {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Timeline (Histórico/Auditoria) */
.timeline-item {
    position: relative;
    padding-left: 24px;
    padding-bottom: 24px;
    border-left: 2px solid #e5e7eb;
}
.timeline-item:last-child {
    border-left: 2px solid transparent;
}
.timeline-dot {
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #4f46e5; /* Indigo */
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #4f46e5;
}

/* Regras de Impressão (Logística) */
@media print {
    body * {
        visibility: hidden;
    }
    #print-area, #print-area * {
        visibility: visible;
    }
    #print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        background: white;
    }
    .no-print {
        display: none !important;
    }
    /* Evitar quebra de página dentro de cards */
    .bg-white, .border, .rounded {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}