/* Chat Widget Styles */
#chat-widget-button:hover {
    transform: scale(1.1);
}

#chat-widget-window {
    animation: slideUp 0.3s ease-out;
}

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

#chat-messages {
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

#chat-messages::-webkit-scrollbar {
    width: 6px;
}

#chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

#chat-messages::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

#chat-input:focus {
    border-color: var(--widget-color, #0066cc);
}

#chat-send:hover:not(:disabled) {
    transform: scale(1.1);
}

#chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Estilos para botones rápidos */
.chat-quick-btn {
    transition: all 0.2s ease;
}

.chat-quick-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
}

.chat-quick-btn:active {
    transform: translateY(0);
}

.chat-message.chat-system.welcome-message {
    animation: fadeIn 0.5s ease-in;
}

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

@media (max-width: 480px) {
    #chat-widget-window {
        width: calc(100vw - 20px);
        height: calc(100vh - 100px);
        right: 10px !important;
        left: 10px !important;
        bottom: 80px;
    }
    
    .chat-quick-btn {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
}

