/* Contenedor flotante */
#kimi-chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
}

/* Botón flotante */
#kimi-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #0a3d62;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

/* Caja del chat */
#kimi-body {
    width: 320px;
    max-width: 90vw;
    height: 450px;
    max-height: 70vh;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
    overflow: hidden;
}

/* Mensajes */
#kimi-messages {
    flex: 1 1 auto;
    padding: 10px;
    overflow-y: auto;
}
#kimi-messages .user { text-align: right; color: #0a3d62; margin: 6px 0; }
#kimi-messages .bot  { text-align: left;  color: #333; margin: 6px 0; }

#kimi-messages .bot p {
    margin: 0 0 0.6em;
    line-height: 1.5;
}
#kimi-messages .bot a {
    color: #0a3d62;
    text-decoration: underline;
}
#kimi-messages .bot strong {
    font-weight: 700;
}
#kimi-messages .bot em {
    font-style: italic;
}

/* Input + botón */
#kimi-form {
    display: flex;
    border-top: 1px solid #eee;
    background: #fafafa;
}
#kimi-input {
    flex: 1 1 auto;
    border: none;
    padding: 10px 12px;
    font-size: 14px;
}
#kimi-send {
    padding: 0 16px;
    background: #0a3d62;
    color: #fff;
    border: none;
    cursor: pointer;
}

#kimi-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://japonalia.com/wp-content/uploads/2019/11/Logo-Yoroi.png') no-repeat center center;
     background-size: 60px 60px; /* Ajusta el tamaño de la imagen */
    color: #f0be0c;
    border: none;
    border-radius: 50px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap; /* Evita que el texto se envuelva */
    width: 150px; /* Ajusta el ancho del botón */
    height: 50px; /* Ajusta la altura del botón */
}

#kimi-toggle span {
    font-size: 12px; /* Tamaño del texto */
    font-weight: bold;
}