.chat-header a {
    text-decoration: none;
    color: white;
}

.copyright {
    font-size: 12px;
    text-align: center;
}

.copyright a {
    text-decoration: none;
    color: #343c41;
}

#chatbot-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 15px;
    border: none;
    background-color: #1087FF;
    color: white;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 1001;

    animation: glow 1.5s ease-in-out infinite;
}

/* Crear la animación de resplandor */
@keyframes glow {
    0% {
        box-shadow: 0 0 10px #1087FF, 0 0 20px #1087FF, 0 0 30px #1087FF;
    }
    50% {
        box-shadow: 0 0 20px #1087FF, 0 0 40px #1087FF, 0 0 50px #1087FF;
    }
    100% {
        box-shadow: 0 0 10px #1087FF, 0 0 20px #1087FF, 0 0 30px #1087FF;
    }
}

#chatbot-toggle-btn:hover {
    background-color: #0074CC;
}

.chatbot-popup {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    width: 450px;
    max-width: 90%;
    z-index: 1000;
}

.chat-header {
    background-color: #1087FF;
    color: white;
    padding: 15px 20px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#close-btn {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 10px;
    cursor: pointer;
}

.chat-box {
    max-height: 350px;
    overflow-y: auto;
    padding: 15px 20px;
    background-color: #f9f9f9;
}

.chat-input {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-top: 1px solid #ddd;
}

#user-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 12px;
    outline: none;
    font-family: "Poppins", sans-serif;
}

#send-btn {
    padding: 10px 20px;
    border: none;
    background-color: #1087FF;
    color: white;
    border-radius: 12px;
    margin-left: 10px;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}


#send-btn:hover {
    background-color: #0074CC;
}

.user-message, .bot-message {
    padding: 14px;
    border-radius: 15px;
    margin-bottom: 15px;
    margin-top: 15px;
    max-width: 80%;
    word-wrap: break-word;
    position: relative;
}

.user-message {
    background-color: #f3f3f3;
    color: #333;
    align-self: flex-end;
}

.user-message::before {
    content: "\1F468"; /* Man emoji */
    position: absolute;
    bottom: -17px;
    right: -20px;
    background-color: #1087FF;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.bot-message {
    background-color: #1087FF;
    color: white;
    align-self: flex-start;
    margin-right: 10px;
}

.bot-message::before {
    content: "\1F916"; /* Robot emoji */
    position: absolute;
    bottom: -17px;
    left: -14px;
    background-color: #1087FF;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.button-container {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.button-container button {
    padding: 10px 50px;
    border: none;
    background-color: #1087FF;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button-container button:hover {
    background-color: #0074CC;
}
