
/* =========================================================
   NISE CHATBOT
   File: /chatbot/chatbot.css
   ========================================================= */


/* =========================================================
   CHAT BUTTON
   ========================================================= */

#nise-chatbot-button {
    font-family: Arial, sans-serif !important;
    box-sizing: border-box !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}


/* =========================================================
   CHAT WINDOW
   ========================================================= */

#nise-chatbot-window {
    font-family: Arial, sans-serif !important;
    box-sizing: border-box !important;
}

#nise-chatbot-window *,
#nise-chatbot-window *::before,
#nise-chatbot-window *::after {
    box-sizing: border-box !important;
}


/* =========================================================
   HEADER
   ========================================================= */

.nise-chat-header {
    flex-shrink: 0 !important;
}

.nise-chat-header strong {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
}

.nise-chat-header small {
    color: #ffffff !important;
}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

#nise-chat-close {
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

#nise-chat-close:hover {
    opacity: 0.8 !important;
}


/* =========================================================
   MESSAGE AREA
   ========================================================= */

#nise-chat-messages {
    scrollbar-width: thin;
    scrollbar-color: #cccccc transparent;
}


/* Chrome / Edge / Safari */

#nise-chat-messages::-webkit-scrollbar {
    width: 6px;
}

#nise-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

#nise-chat-messages::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 10px;
}


/* =========================================================
   BOT MESSAGE
   ========================================================= */

.nise-bot-message {
    font-family: Arial, sans-serif !important;
}


/* =========================================================
   USER MESSAGE
   ========================================================= */

.nise-user-message {
    font-family: Arial, sans-serif !important;
}


/* =========================================================
   INPUT
   ========================================================= */

#nise-chat-input {
    font-family: Arial, sans-serif !important;
}

#nise-chat-input::placeholder {
    color: #999999 !important;
}

#nise-chat-input:focus {
    border-color: #d71920 !important;
}


/* =========================================================
   SEND BUTTON
   ========================================================= */

#nise-chat-send {
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;

    transition: transform 0.15s ease,
                opacity 0.15s ease !important;
}

#nise-chat-send:hover {
    opacity: 0.9 !important;
    transform: scale(1.05) !important;
}

#nise-chat-send:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    #nise-chatbot-button {
        width: 55px !important;
        height: 55px !important;
        font-size: 25px !important;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    #nise-chatbot-button {
        width: 52px !important;
        height: 52px !important;
        font-size: 23px !important;
    }

}