/* =============================================================================
   ESTILOS PERSONALIZADOS - PORTAL INDUSTRIAL DE GESTÃO DE ATIVOS
   ============================================================================= */

/* Barras de rolagem elegantes e escuras */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #090d16;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Animação dos pontos de digitação do Chatbot */
@keyframes typingBounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.3;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.typing-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #38bdf8;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

/* Efeito de brilho suave (Glow) */
.glow-emerald {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.glow-amber {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

.glow-blue {
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.25);
}

/* Transições suaves */
.transition-smooth {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card de Ficha Técnica - Otimização de Impressão */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }

    /* Esconde elementos de navegação e chat durante a impressão */
    aside,
    #sidebar-esquerda,
    #sidebar-direita,
    #chat-mensagens,
    #chat-input-container,
    #toast-container,
    button:not(.imprimir-visivel) {
        display: none !important;
    }

    #ficha-tecnica-container {
        display: block !important;
        position: static !important;
        width: 100% !important;
        background: #ffffff !important;
        color: #000000 !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }

    .imprimir-quebra-pagina {
        page-break-before: always;
    }
}
