#mindgrowChatButton {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 62px;
    height: 62px;
    border: none;
    border-radius: 50%;
    background: #0756a5;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    z-index: 999999;
    box-shadow: 0 5px 25px rgba(0,0,0,0.25);
}

#mindgrowChatBox {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 360px;
    height: 500px;

    background: #ffffff;
    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 10px 45px rgba(0,0,0,0.25);

    z-index: 999998;

    display: none;

    flex-direction: column;
}

#mindgrowChatBox.active {
    display: flex;
}


/* HEADER */

#mindgrowChatHeader {
    height: 58px;
    min-height: 58px;

    background: #0756a5;
    color: #ffffff;

    padding: 0 15px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

#mindgrowChatHeader strong {
    font-size: 15px;
}

#mindgrowChatClose {
    border: none;
    background: #ffffff;
    color: #0756a5;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    cursor: pointer;

    font-weight: bold;
}


/* MESSAGE AREA */

#mindgrowChatMessages {
    flex: 1;

    min-height: 0;

    overflow-y: auto;

    padding: 15px;

    background: #f5f7fa;
}


/* MESSAGE */

.mindgrow-message {
    max-width: 88%;

    padding: 12px 14px;

    margin-bottom: 10px;

    border-radius: 12px;

    font-size: 14px;

    line-height: 1.5;
}

.mindgrow-message.bot {
    background: #ffffff;
    color: #222222;

    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.mindgrow-message.user {
    background: #0756a5;
    color: #ffffff;

    margin-left: auto;
}


/* INPUT AREA */

#mindgrowChatInputArea {
    height: 64px;
    min-height: 64px;

    display: flex;

    gap: 7px;

    padding: 10px;

    border-top: 1px solid #dddddd;

    background: #ffffff;
}

#mindgrowChatInput {
    flex: 1;

    min-width: 0;

    border: 1px solid #cccccc;

    border-radius: 9px;

    padding: 10px 12px;

    font-size: 14px;

    outline: none;
}

#mindgrowChatInput:focus {
    border-color: #0756a5;
}

#mindgrowChatSend {
    width: 62px;

    border: none;

    background: #0756a5;

    color: #ffffff;

    border-radius: 9px;

    cursor: pointer;

    font-weight: bold;

    font-size: 11px;
}

#mindgrowChatSend:hover {
    background: #064785;
}


/* MOBILE */

@media(max-width:600px) {

    #mindgrowChatButton {
        right: 15px;
        bottom: 15px;

        width: 58px;
        height: 58px;
    }

    #mindgrowChatBox {
        right: 10px;
        bottom: 10px;

        width: calc(100vw - 20px);

        height: 520px;

        max-height: calc(100vh - 20px);
    }
}

/* buttons design */

#mindgrowQuickButtons {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    padding: 8px 10px;

    background: #ffffff;

    border-top: 1px solid #eeeeee;
}

#mindgrowQuickButtons button {
    border: 1px solid #d5dce5;

    background: #ffffff;

    color: #0756a5;

    border-radius: 20px;

    padding: 7px 11px;

    font-size: 11px;

    cursor: pointer;

    transition: all 0.2s ease;
}

#mindgrowQuickButtons button:hover {
    background: #0756a5;

    color: #ffffff;

    border-color: #0756a5;
}

@media(max-width:600px) {

    #mindgrowQuickButtons {
        gap: 5px;

        padding: 7px;
    }

    #mindgrowQuickButtons button {
        font-size: 10px;

        padding: 6px 9px;
    }
}
