#vc-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: 'Segoe UI', sans-serif;
}

#vc-bubble {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a3a5c, #0e7c8a);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(14, 124, 138, .45);
}

#vc-bubble svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

#vc-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 340px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 520px;
    opacity: 0;
    pointer-events: none;
    transform: scale(.85);
    transition: .25s;
}

#vc-panel.open {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
}

.vc-header {
    background: linear-gradient(135deg, #1a3a5c, #0e7c8a);
    padding: 14px;
    color: #fff;
}

.vc-header-name {
    font-weight: 600;
    font-size: 14px;
}

.vc-header-status {
    font-size: 11px;
    opacity: .8;
}

.vc-messages {
    height: 320px;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vc-msg {
    max-width: 82%;
}

.vc-msg.user {
    align-self: flex-end;
}

.vc-msg.bot {
    align-self: flex-start;
}

.vc-bubble-msg {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
}

.bot .vc-bubble-msg {
    background: #f1f5f9;
}

.user .vc-bubble-msg {
    background: linear-gradient(135deg, #1a3a5c, #0e7c8a);
    color: #fff;
}

.vc-msg-time {
    font-size: 10px;
    color: #999;
    margin-top: 3px;
}

.vc-input-bar {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid #eee;
}

.vc-input-bar input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 8px 14px;
}

.vc-send {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a3a5c, #0e7c8a);
    cursor: pointer;
}

.vc-send svg {
    width: 16px;
    fill: #fff;
}

.vc-quick-replies {
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    border-top: 1px solid #f0f0f0;
}

.vc-qr {
    border: 1px solid #0e7c8a;
    border-radius: 50px;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 11px;
    color: #0e7c8a;
}

.vc-qr:hover {
    background: #0e7c8a;
    color: #fff;
}

.vc-nav-bar {
    display: flex;
    gap: 6px;
    padding: 0 8px 8px;
}

.vc-nav-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #ddd;
    background: #f8fafc;
    border-radius: 8px;
    padding: 7px 4px;
    cursor: pointer;
    font-size: 11px;
    line-height: 1;
    color: #1a3a5c;
    transition: .15s;
}

.vc-nav-btn i {
    font-size: 11px;
    line-height: 1;
}

.vc-nav-btn:hover {
    background: #eef2f5;
}

#vc-reset-btn {
    color: #b3261e;
    border-color: #f0d4d2;
}

.vc-powered {
    text-align: center;
    font-size: 10px;
    padding: 6px;
}