/* ZESTY BOND ASSISTANT */

#zb-chat-button {
    position: fixed;
    right: 25px;
    bottom: 90px;

    width: 60px;
    height: 60px;

    border: none;
    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #7c3aed,
        #2563eb
    );

    color: white;

    font-size: 27px;

    cursor: pointer;

    box-shadow:
        0 8px 25px rgba(0,0,0,.25);

    z-index: 9999;
}


#zb-chat-window {

    position: fixed;

    right: 25px;
    bottom: 95px;

    width: 360px;
    height: 520px;

    background: white;

    border-radius: 18px;

    box-shadow:
        0 15px 50px rgba(0,0,0,.25);

    overflow: hidden;

    display: none;

    flex-direction: column;

    z-index: 9999;
}


#zb-chat-window.zb-open {
    display: flex;
}


/* HEADER */

.zb-header {

    background: linear-gradient(
        135deg,
        #0f9d58,
        #2563eb
    );

    color: white;

    padding: 16px;

    display: flex;

    justify-content: space-between;

    align-items: center;
}


.zb-header strong {
    display: block;
    font-size: 16px;
}


.zb-header small {
    opacity: .85;
}


#zb-close {

    border: none;

    background: transparent;

    color: white;

    font-size: 28px;

    cursor: pointer;
}


/* MESSAGES */

#zb-messages {

    flex: 1;

    padding: 15px;

    overflow-y: auto;

    background: #f7f8fa;
}


.zb-message {

    padding: 10px 13px;

    margin-bottom: 10px;

    border-radius: 14px;

    max-width: 85%;

    line-height: 1.4;

    font-size: 14px;
}


.zb-bot {

    background: white;

    color: #222;

    border: 1px solid #e5e7eb;

    margin-right: auto;
}


.zb-user {

    background: #2563eb;

    color: white;

    margin-left: auto;
}


/* OPTIONS */

.zb-options {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 12px;
}


.zb-option {

    border: none;

    border-radius: 20px;

    padding: 9px 13px;

    color: white;

    background: linear-gradient(
        135deg,
        #7c3aed,
        #ec4899
    );

    cursor: pointer;

    font-size: 13px;
}


.zb-option:hover {

    transform: translateY(-1px);

    filter: brightness(1.08);
}


/* INPUT */

.zb-input-area {

    display: flex;

    padding: 10px;

    border-top: 1px solid #ddd;

    background: white;

    gap: 7px;
}


#zb-input {

    flex: 1;

    min-width: 0;

    border: 1px solid #ddd;

    border-radius: 20px;

    padding: 10px 13px;

    outline: none;
}


#zb-send {

    border: none;

    border-radius: 20px;

    padding: 10px 15px;

    background: #0f9d58;

    color: white;

    cursor: pointer;
}


/* MOBILE */

@media (max-width: 600px) {

    #zb-chat-window {

        right: 10px;
        left: 10px;

        bottom: 80px;

        width: auto;

        height: 70vh;

        max-height: 560px;
    }


    #zb-chat-button {

        right: 15px;

        bottom: 15px;
    }

}