.gpg-live-chat {
    bottom: 22px;
    font-family: Arial, sans-serif;
    position: fixed;
    right: 22px;
    z-index: 5000;
}

.gpg-chat-toggle {
    background: #0f766e;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(15, 118, 110, .28);
    color: #fff;
    font-weight: 700;
    min-height: 48px;
    min-width: 96px;
    padding: 12px 18px;
}

.gpg-chat-toggle strong {
    background: #dc2626;
    border-radius: 999px;
    display: inline-block;
    font-size: 11px;
    margin-left: 8px;
    min-width: 19px;
    padding: 2px 5px;
}

.gpg-chat-panel {
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    bottom: 62px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .22);
    overflow: hidden;
    position: absolute;
    right: 0;
    width: 350px;
}

.gpg-chat-head {
    align-items: center;
    background: #0f766e;
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 14px;
}

.gpg-chat-head span {
    display: block;
    font-size: 12px;
    opacity: .9;
}

.gpg-chat-head button {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 24px;
}

.gpg-chat-body {
    background: #f8fafc;
    max-height: 310px;
    min-height: 190px;
    overflow-y: auto;
    padding: 12px;
}

.gpg-chat-empty {
    color: #64748b;
    font-size: 13px;
    padding: 35px 10px;
    text-align: center;
}

.gpg-chat-message {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 9px;
    max-width: 86%;
    padding: 8px 10px;
}

.gpg-chat-message.staff {
    background: #dbeafe;
    border-color: #93c5fd;
    margin-left: auto;
}

.gpg-chat-message small {
    color: #64748b;
    display: block;
    font-size: 11px;
    margin-bottom: 3px;
}

.gpg-chat-form {
    border-top: 1px solid #e2e8f0;
    padding: 10px;
}

.gpg-chat-form input,
.gpg-chat-form textarea {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
    padding: 9px;
    width: 100%;
}

.gpg-chat-identity {
    display: grid;
    gap: 6px;
    grid-template-columns: 1fr;
}

.gpg-chat-form button {
    background: #0f766e;
    border: 0;
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    padding: 10px 12px;
    width: 100%;
}

@media (max-width: 480px) {
    .gpg-live-chat {
        bottom: 14px;
        left: 12px;
        right: 12px;
    }

    .gpg-chat-panel {
        bottom: 60px;
        left: 0;
        right: 0;
        width: auto;
    }
}
