#chat-box {
    height: 400px;
    overflow-y: auto;
    padding: 15px;
}

.message {
    margin-bottom: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 80%;
}

.message.bot {
    background: #f1f1f1;
}

.message.user {
    background: #d1ffd6;
    margin-left: auto;
}

#chat-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    height: 450px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 99999;
}

#chat-header {
    background: #111;
    color: white;
    padding: 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

#chat-box {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}

.chat-input-area {
    display: flex;
    border-top: 1px solid #ddd;
}

#chat-input {
    flex: 1;
    padding: 10px;
    border: none;
}

#chat-send {
    padding: 10px;
    background: #111;
    color: white;
    border: none;
}

#chat-bubble {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: #124c3e;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    z-index: 99999;
}

#chat-bubble-wrapper {

    position: fixed;
    bottom: 100px;
    right: 20px;

    z-index: 99999;

}

#chat-tooltip {

    position: absolute;

    bottom: 75px;
    right: 0;

    background: #222;
    color: #fff;

    padding: 10px 14px;

    border-radius: 10px;

    font-size: 14px;

    width: 220px;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition: all .25s ease;

    box-shadow: 0 5px 20px rgba(0,0,0,.2);

}

#chat-bubble-wrapper:hover #chat-tooltip {

    opacity: 1;
    visibility: visible;

    transform: translateY(0);

}