body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f6fa;
    height: 100%;
}

html, body {
    height: 100%;
}

.chatbot-container {
    width: 100%;
    height: 100%;
    max-width: 320px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(131, 211, 242, 0.2);
    display: flex;
    flex-direction: column;
}

.banner {
    background: linear-gradient(135deg, #005baa, #e6f2ff);
    color: white;
    padding: 0;
}

.banner-header {
    background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/2/22/Triangle_background.png/1200px-Triangle_background.png') center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.bot-avatar {
    width: 80px;
}

.banner-content {
    background-color: rgba(32, 38, 39, 0.6);
    padding: 15px;
    text-align: center;
}

.banner-content h1 {
    font-size: 16px;
    margin: 0 0 8px;
}

.banner-content p {
    margin: 0;
    font-size: 13px;
}

.chat-box {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    word-wrap: break-word;        
    overflow-wrap: break-word;    
    white-space: pre-wrap;        /* Respeta saltos de línea y permite envolver texto */
}

.user-message {
    min-width:80%;
    font-size: 13px;
    text-align: left;
    margin: 10px 0;
    background:#178FEB;
    color: rgb(56, 43, 43);
    padding: 12px 16px;
    border-radius: 15px;
    display: inline-block;
    max-width: 100%;
}

.bot-message {
    font-size: 13px;
    text-align: left;
    margin: 10px 0;
    background: #f7f7f7;
    color: #333;
    padding: 12px 16px;
    border-radius: 15px;
    display: inline-block;
    width: 95%;
}

.input-container {
    display: flex;
    border-top: 2px solid #ddd;
    align-items: center;
}

.input-container input {
    width: 70%;
    flex-grow: 1;
    border: none;
    padding: 15px;
    font-size: 16px;
    border-bottom-left-radius: 15px;
}

.input-container button {
    background: #ffffff;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 16px;
}

.reset-button {
    background: #ffffff; /* mismo color que enviar */
    border: none;
    height: 80%; /* alto igual al botón enviar */
    width: 30px; /* ancho fijo para el botón reset */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    cursor: pointer;
    border-bottom-right-radius: 15px;
}

.reset-icon {
    width: 30px;
    height: 30px;
    filter: 100%; /* ícono en blanco sobre azul  invert(100%)*/
}
.send-button{
    background: #ffffff; /* mismo color que enviar */
    border: none;
    height: 80%; /* alto igual al botón enviar */
    width: 30px; /* ancho fijo para el botón reset */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    cursor: pointer;
    border-bottom-right-radius: 15px;
}
.send-icon{
    width: 30px;
    height: 30px;
    filter: 100%;
}
.option-button, .buttons button {
    font-size: 13px;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 3px solid #178FEB;
    background: white;
    color: #178FEB;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.option-button:last-child, .buttons button:last-child {
    margin-bottom: 0;
}

.option-button:hover, .buttons button:hover {
    background: #178FEB;
    color: white;
}

.options-container, .buttons {
    display: flex;
    flex-direction: column;
    padding: 10px;
}
