.chat-container {
    display: none;
    position: fixed;
    right: 5%;
    bottom: 5%;
    z-index: 9;
    max-width: 350px;
    margin: 2rem auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    font-family: "Inter", system-ui, sans-serif;
}

.chat-header {
    background: #092c4a;
    border-radius: 40px;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    box-shadow: 0 0 6px rgba(255,255,255,.6);
}

.chat-header>#minimizeChat {
    background:none;
    border:none;
    color:white;
    font-size:18px;
    cursor: pointer;
    font-size: 14px;
}

.chat-header>#minimizeChat>img {
    margin-right: 10px;
}

.chat-messages {
    background: #ffffff;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px;
    scroll-behavior: smooth;
}

.bot-message>p {
    background: #f1f2f7;
    padding: 10px 16px;
    margin-bottom: 1rem;
    border-radius: 16px 16px 16px 4px;
    color: #21252d;
    max-width: 80%;
    font-size: 13px;
    line-height: 1.4;
    align-self: flex-start;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.25s ease-out;
}

.user-message {
    background: #f0f2f7;
    padding: 10px 16px;
    border-radius: 16px 16px 4px 16px;
    color: #1f2937;
    max-width: 80%;
    font-size: 15px;
    align-self: flex-end;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    animation: fadeIn 0.25s ease-out;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-option-btn {
    background: #ffffff;
    border: 1px solid #c6ccdc;
    padding: 10px 14px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.18s ease-in-out;
}

.chat-option-btn:hover {
    background: #f4f5f8;
    border-color: #aeb4c4;
    transform: translateY(-2px);
}

.chat-restart-area {
    padding: 16px;
    border-top: 1px solid #eef0f6;
    background: #fafbfe;
    text-align: center;
    display: none;
}

.restart-btn {
    background: #c6ccdc;
    color: #fff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.restart-btn:hover {
    background: #b3bacc;
    transform: translateY(-2px);
}

.chat-input-area form {
    display: flex;
    padding: 10px;
    gap: 8px;
    border-top: 1px solid #eceef3;
    background: #fafbfe;
}

.chat-input-area input {
    flex: 1;
    border: 1px solid #d4d7df;
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 15px;
    background: #ffffff;
}

.chat-input-area button {
    background: #092c4a;
    border: none;
    border-radius: 14px;
    padding: 10px 16px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-input-area button:hover {
    background: #b3bacc;
    transform: translateY(-2px);
}

/* ------------------------------
   ANIMACIONES
---------------------------------*/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #c6ccdc;
    border-radius: 3px;
}

.chat-option-btn.active {
    background-color: lightblue;

}
