﻿body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.chat-container {
    width: 420px;
    height: 600px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

.chat-header {
    background-color: #4D1515;
    padding: 12px;
    display: flex;
    align-items: center;
    color: white;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #fff;
}

.nombre {
    font-weight: bold;
    font-size: 16px;
}

.chat-log {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-bubble {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 20px;
    line-height: 1.4;
    font-size: 14px;
    white-space: pre-wrap;
}

    .chat-bubble.user {
        align-self: flex-end;
        background-color: #dcf8c6;
    }

    .chat-bubble.Kommit {
        align-self: flex-start;
        background-color: #f1f0f0;
    }

.chat-input-container {
    padding: 10px;
    display: flex;
    border-top: 1px solid #ccc;
}

#user-input {
    flex: 1;
    border-radius: 20px;
    padding: 10px;
    border: 1px solid #ccc;
}

button {
    background-color: #4D1515;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 16px;
    margin-left: 10px;
    cursor: pointer;
}
#mic-btn {
    background-color: #fff;
    color: #ff6a00;
    font-size: 20px;
    border: 1px solid #ccc;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.3s;
}

    #mic-btn:hover {
        background-color: #f9f9f9;
        transform: scale(1.05);
    }

.iframe-contenido {
    width: 100%;
    height: 400px;
    border: none;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.menu-inicial button {
    background-color: #4D1515;
    color: #fff;
    border: none;
    padding: 10px;
    margin: 4px 0;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

    .menu-inicial button:hover {
        background-color: #a80d23;
    }

.volver-menu {
    background-color: #ededed;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px 16px;
    margin-top: 8px;
    cursor: pointer;
    font-size: 14px;
    display: inline-block;
    font-weight: bold;
    color: #333;
}

    .volver-menu:hover {
        background-color: #e0e0e0;
    }
