/* Estilos para la sección del Chatbot de IA */

/* Reutilizando estilos de la sección anterior para mantener la apariencia general */
.wheel-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background-color: #1f2937; /* bg-gray-800 */
}

.chatbot-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.chatbot-title {
    text-align: center;
    margin-bottom: 40px;
}

.chatbot-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.chatbot-title p {
    font-size: 1.125rem;
    color: #9ca3af; /* text-gray-400 */
}

.chatbot-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    justify-content: center;
}

.chatbot-window {
    flex: 2;
    min-width: 300px;
    background-color: #111827; /* card background */
    border-radius: 10px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.chat-messages {
    background-color: #1f2937; /* bg-gray-800 */
    border-radius: 8px;
}

.message {
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
}

.bot-message {
    background-color: #374151; /* bg-gray-700 */
    color: #ffffff;
    margin-right: auto;
}

.user-message {
    background-color: #f59e0b; /* gold-text/btn-primary color */
    color: #1f2937;
    margin-left: auto;
}

.chat-input input {
    border: 1px solid #4b5563; /* border-gray-600 */
}

.chat-input input:focus {
    border-color: #f59e0b; /* focus:border-yellow-500 */
}

.chatbot-info-card {
    flex: 1;
    min-width: 250px;
    background-color: #111827; /* card background */
    border-radius: 10px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.chatbot-info-card ul {
    list-style: none;
    padding-left: 0;
}

.chatbot-info-card li {
    display: flex;
    align-items: flex-start;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .chatbot-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .chatbot-window, .chatbot-info-card {
        flex: none;
        width: 100%;
    }
}
