.hirbo-widget {
    position: fixed;
    bottom: 6vh;
    right: 4vw;
    z-index: 9998;
    width: 12vh;
    height: 12vh;
    visibility: hidden;
}

.view-preview {
    width: 12vh;
    height: 12vh;
    margin: auto;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1s;
    cursor: pointer;
}

.view-preview-title {
    margin-top: 10px;
    text-align: center;
    visibility: hidden;
    padding: 0px 2px;
    font-size: 80%;
}

.view-preview-title p {
    background: #00000045;
    color: white;
    border-radius: 10px;
    font-weight: bold;
}

.view-preview:hover {
    transform: scale(1.2);
}

.hirbo-widget-icon:hover .view-preview-title
{
  visibility: visible;
  opacity: 1;
}

.chat-container { 
    width: 350px; 
    height: 500px; 
    display: flex; 
    flex-direction: column; 
    position: fixed;
    bottom: 2vh;
    right: 2vw;
    z-index: 9999;
    visibility: hidden;
}

.chat-header { 
    text-align: center; 
    background: #034f37;
    color: white;
    padding: 8px 5px;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.chat-header p {
    margin-bottom: 0;
    font-size: 1.3rem;
}

.chat-header button { 
    position: absolute;
    left: 1rem;
    background: none;
    border: none;
}

.chat-header button svg { 
    color: white;
}

.chat-messages {
    display: flex; 
    flex: 1;
    flex-direction: column-reverse;  
    overflow-y: auto; 
    padding: 10px; 
    background: #e6e6e6;
}

.chat-messages-reorder {
    display: flex;
    flex-direction: column;
    gap: 10px; 
    background: #e6e6e6;
}

.message { display: flex; }
.message.received { justify-content: flex-start; }
.message.sent { justify-content: flex-end; }

.message-bubble { 
    padding: 12px; 
    border-radius: 8px; 
    max-width: 70%; 
    font-size: .8rem;
}

.received .message-bubble { 
    background: #c4c4c4; 
}

.sent .message-bubble { 
    background: #393737; 
    color: white; 
}

.chat-input-area { 
    display: flex; 
    padding: 15px;
    background: #e6e6e6;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.chat-input-area input { 
    flex: 1; 
    border: 1px solid #dedede;
    border-radius: 10px;
    padding: 6px 8px;
}

.chat-input-area input:focus {
    outline: none; 
    border: 2px solid #034f37; 
}

.chat-input-area button {
    padding: 0;
    background: #393737;
    border: none;
    border-radius: 50%;
    width: 2.5vw;
    height: 5vh;
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-input-area button svg {
    color: white;
}