
/* Shared styles across all pages */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    transition: margin-left 0.3s ease;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #2d3748;
}

::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 4px;
}

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

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Efeitos de hover para cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Estilos do Chatbot */
.chat-message {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.3s ease-out;
}

.chat-message.user-message {
    justify-content: flex-end;
}

.chat-message.bot-message {
    justify-content: flex-start;
}

.message-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #ff580f 0%, #ff8c66 100%);
    order: 2;
}

.bot-message .message-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    order: 1;
}
.message-content {
    background: #2d3748;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    width: 100%;
    position: relative;
}
.user-message .message-content {
    background: linear-gradient(135deg, #ff580f 0%, #ff8c66 100%);
    order: 1;
    border-bottom-right-radius: 0.25rem;
}

.bot-message .message-content {
    background: #2d3748;
    order: 2;
    border-bottom-left-radius: 0.25rem;
}
.message-content p {
    margin: 0;
    line-height: 1.5;
}

.message-time {
    display: block;
    font-size: 0.75rem;
    color: #a0aec0;
    margin-top: 0.25rem;
    text-align: right;
}

.bot-message .message-time {
    text-align: left;
}
/* Estilos para tabelas */
table {
    border-collapse: separate;
    border-spacing: 0;
}

th {
    font-weight: 600;
    color: #a0aec0;
    font-size: 0.875rem;
}

td {
    font-size: 0.875rem;
}

/* Progress bars */
.progress-bar {
    transition: width 0.3s ease;
}

/* Responsividade */
@media (max-width: 768px) {
    main {
        margin-left: 0 !important;
        padding: 1rem !important;
    }
    
    .message-content {
        width: 100%;
    }
    
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
    
    table {
        display: block;
        overflow-x: auto;
    }
}
