/* DOG POSITION */
#dog-widget {
  position: fixed;
  bottom: -10px;
  right: -40px; /* fixed position */
  z-index: 999999;
}

#dog-img {
  width: 250px;
}

/* REMOVE ALL ANIMATION CLASSES */
.hidden {
    display: none !important;
}

/* CHATBOX */
#dog-chatbox {
    position: fixed;
    bottom: 200px;
    right: 20px;
    width: 300px;
    background: #fff;
    border: 2px solid #333;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    z-index: 999999;
    font-family: sans-serif;
}

#dog-chat-header {
    background: #333;
    color: #fff;
    padding: 8px;
    font-weight: bold;
}

#dog-chat-messages {
    padding: 10px;
    height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* MESSAGES */
#dog-chat-messages .user,
#dog-chat-messages .dog {
    padding: 8px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    max-width: 80%;
    word-wrap: break-word;
    font-size: 14px;
}

/* USER */
#dog-chat-messages .user {
    background: #d1e7ff;
    align-self: flex-end;
}

/* DOG */
#dog-chat-messages .dog {
    background: #eee;
    align-self: flex-start;
}

/* INPUT */
#dog-chat-input-wrap {
    display: flex;
    border-top: 1px solid #ccc;
}

#dog-chat-input {
    flex: 1;
    padding: 8px;
    border: none;
}

#dog-chat-send {
    width: 60px;
    border: none;
    background: #333;
    color: #fff;
    cursor: pointer;
}

/* MESSAGE BUBBLE */
#dog-message-bubble {
   position: fixed;
    right: 60px;
    background: yellow;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    z-index: 999999;
    bottom: 132px;
}
#dog-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#dog-chat-close {
    cursor: pointer;
    font-size: 16px;
    margin-left: auto;
}
span#dog-chat-close img {
    background: white !important;
}
span#dog-chat-close img {
    filter: invert(1) !important;
}


@media (max-width: 576px) {
  #dog-img {
    width: 180px;
}

#dog-message-bubble {
    right: 20px;
    bottom: 96px;
    font-size: 12px;
}


#dog-chatbox {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 260px;
}

div#dog-chat-header {
    font-size: 13px;
}

#dog-chat-messages {
    height: 130px;
}


#dog-chat-messages .user, #dog-chat-messages .dog {
    max-width: 90%;
    font-size: 12px;
}

input#dog-chat-input {
    font-size: 13px;
}

#dog-chat-send {
    font-size: 13px;
}
}