#chatButton {

    position: fixed;

    right: 24px;

    bottom: 24px;

    width: 106px;

    height: 106px;

    border-radius: 50%;

    background: linear-gradient(135deg,
            #3b82f6,
            #2563eb);

    border: 5px solid #fff;

    color: white;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    cursor: pointer;

    z-index: 9999;

    box-shadow:
        0 12px 36px rgba(0, 0, 0, .28);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

    animation:
        chatPop .5s ease,
        chatPulse 6s infinite 5s;
}

#chatWindow {

    display: none;

    position: fixed;

    right: 24px;

    bottom: 100px;

    width: 430px;

    height: 680px;

    background: white;

    border-radius: 18px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);

    overflow: hidden;

    z-index: 9999;



    flex-direction: column;

}

#chatHeader {

    background: #2563eb;

    color: white;

    padding: 18px;

    font-weight: bold;

}

#chatMessages {

    flex: 1;

    overflow-y: auto;

    padding: 10px;

}

#chatInputArea {

    display: flex;

    gap: 8px;

    padding: 10px;

    border-top: 1px solid #eee;

    flex-shrink: 0;

    align-items: flex-end;

}

#chatInput {

    flex: 1;

    min-height: 44px;

    max-height: 120px;

    padding: 10px 12px;

    border: 1px solid #d1d5db;

    border-radius: 10px;

    resize: none;

    font-size: 14px;

    font-family: inherit;

    line-height: 1.5;

    overflow-y: auto;

    box-sizing: border-box;

}

#sendChatButton {

    width: 80px;

    height: 44px;

    flex-shrink: 0;

}

.chatIcon {

    font-size: 42px;

    line-height: 1;

}

.chatText {

    margin-top: -2px;

    font-size: 16px;

    font-weight: 700;

    letter-spacing: .5px;

}

#chatButton:hover {

    transform: scale(1.10);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .35);

}

@keyframes chatPop {

    0% {

        transform: scale(.8);

    }

    60% {

        transform: scale(1.1);

    }

    100% {

        transform: scale(1);

    }

}

@keyframes chatPulse {

    0% {

        transform: scale(1);

    }

    6% {

        transform: scale(1.08);

    }

    12% {

        transform: scale(1);

    }

    100% {

        transform: scale(1);

    }

}