.vhak-chat-popup {
    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 360px;

    height: 500px;

    background: #ffffff;

    border-radius: 14px;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.20);

    z-index: 999999;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    font-family: Arial, sans-serif;
}


/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

.vhak-chat-header {

    height: 65px;

    background: #111827;

    color: #ffffff;

    padding: 12px 15px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    box-sizing: border-box;
}


.vhak-chat-header strong {

    display: block;

    font-size: 16px;
}


.vhak-chat-header small {

    display: block;

    margin-top: 3px;

    opacity: 0.7;

    font-size: 12px;
}


/*
|--------------------------------------------------------------------------
| Close Button
|--------------------------------------------------------------------------
*/

#vhak-chat-close {

    border: none;

    background: transparent;

    color: #ffffff;

    font-size: 28px;

    cursor: pointer;

    line-height: 1;

    padding: 0;
}


#vhak-chat-close:hover {

    opacity: 0.8;
}


/*
|--------------------------------------------------------------------------
| Messages
|--------------------------------------------------------------------------
*/

.vhak-chat-messages {

    flex: 1;

    padding: 15px;

    overflow-y: auto;

    background: #f5f7fa;

    box-sizing: border-box;
}


/*
|--------------------------------------------------------------------------
| Empty State
|--------------------------------------------------------------------------
*/

.vhak-chat-empty {

    text-align: center;

    color: #888888;

    margin-top: 180px;

    font-size: 14px;
}


/*
|--------------------------------------------------------------------------
| Message Form
|--------------------------------------------------------------------------
*/

.vhak-chat-form {

    display: flex;

    gap: 8px;

    padding: 10px;

    background: #ffffff;

    border-top: 1px solid #dddddd;

    box-sizing: border-box;
}


/*
|--------------------------------------------------------------------------
| Input
|--------------------------------------------------------------------------
*/

#vhak-chat-input {

    flex: 1;

    height: 42px;

    border: 1px solid #dddddd;

    border-radius: 8px;

    padding: 0 12px;

    outline: none;

    font-size: 14px;

    box-sizing: border-box;
}


#vhak-chat-input:focus {

    border-color: #111827;
}


/*
|--------------------------------------------------------------------------
| Send Button
|--------------------------------------------------------------------------
*/

.vhak-chat-form button {

    border: none;

    background: #111827;

    color: #ffffff;

    padding: 0 16px;

    border-radius: 8px;

    cursor: pointer;

    font-size: 14px;
}


.vhak-chat-form button:hover {

    opacity: 0.9;
}


/*
|--------------------------------------------------------------------------
| Chat Button
|--------------------------------------------------------------------------
*/

.vhak-chat-button {

    cursor: pointer;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 600px) {

    .vhak-chat-popup {

        right: 10px;

        bottom: 10px;

        width: calc(100% - 20px);

        height: 80vh;
    }

}