body {
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0;
}

/* BOTÓN FLOTANTE */
#chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    font-size: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
}

/* CHATBOT */
.chat-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 360px;
    height: 600px;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    z-index: 1000;
}

.oculto {
    display: none;
}

/* HEADER */
.chat-header {
    background: #075E54;
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    position: relative;
}

#close-chat {
    position: absolute;
    right: 12px;
    top: 10px;
    cursor: pointer;
}

/* BREADCRUMB */
#breadcrumb {
    background: #e0e0e0;
    padding: 6px 10px;
    font-size: 12px;
    color: #333;
}

/* CHAT */
.chat-box {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background: #e5ddd5;
}

/* MENSAJES */
.message {
    max-width: 85%;
    padding: 10px;
    margin: 6px 0;
    border-radius: 8px;
    font-size: 14px;
}

.user {
    background: #dcf8c6;
    margin-left: auto;
}

.bot {
    background: white;
}

.typing {
    font-style: italic;
    color: #555;
}

/* BOTONES */
.buttons {
    display: flex;
    flex-direction: column;
}

.buttons button {
    margin: 5px 0;
    padding: 12px;
    border-radius: 6px;
    border: none;
    color: white;
    cursor: pointer;
}

/* INPUT */
.input-area {
    position: relative;
    padding: 8px;
    background: #f0f0f0;
}

input {
    width: 100%;
    padding: 12px;
    border-radius: 20px;
    border: none;
    outline: none;
}

/* AUTOCOMPLETE */
#autocomplete {
    position: absolute;
    bottom: 55px;
    left: 8px;
    right: 8px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
    max-height: 150px;
    overflow-y: auto;
    z-index: 10;
}

#autocomplete div {
    padding: 10px;
    cursor: pointer;
}

#autocomplete div:hover {
    background: #f0f0f0;
}
