
.vcr-floating {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99999;
    font-family: inherit;
}

.vcr-toggle {
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    background: #61ce70;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

.vcr-panel {
    width: 360px;
    max-width: calc(100vw - 30px);
    background: #111;
    color: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
}

.vcr-inline .vcr-panel {
    width: 100%;
    max-width: 720px;
    display: block !important;
}

.vcr-header {
    position: relative;
    padding: 16px 46px 14px 16px;
    background: #000;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.vcr-header strong {
    display: block;
    font-size: 16px;
}

.vcr-header span {
    display: block;
    font-size: 12px;
    opacity: .75;
    margin-top: 3px;
}

.vcr-close {
    position: absolute;
    right: 12px;
    top: 10px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.vcr-messages {
    height: 360px;
    overflow-y: auto;
    padding: 14px;
    background: #171717;
}

.vcr-msg {
    margin: 0 0 10px;
    padding: 11px 13px;
    border-radius: 14px;
    line-height: 1.35;
    font-size: 14px;
}

.vcr-msg.bot {
    background: #242424;
    color: #fff;
    border-top-left-radius: 4px;
}

.vcr-msg.user {
    background: #61ce70;
    color: #000;
    margin-left: 34px;
    border-top-right-radius: 4px;
}

.vcr-products {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.vcr-product {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 10px;
    align-items: center;
    padding: 9px;
    background: #fff;
    color: #111;
    border-radius: 12px;
    text-decoration: none !important;
}

.vcr-product img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 8px;
    background: #f4f4f4;
}

.vcr-product strong {
    display: block;
    font-size: 13px;
    color: #111;
}

.vcr-product span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #333;
}

.vcr-form {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: #000;
}

.vcr-input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    padding: 11px 13px;
    background: #171717;
    color: #fff;
    outline: none;
}

.vcr-form button {
    border: 0;
    border-radius: 999px;
    padding: 0 15px;
    background: #61ce70;
    color: #000;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 600px) {
    .vcr-floating {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .vcr-panel {
        width: 100%;
    }

    .vcr-toggle {
        width: 100%;
    }

    .vcr-messages {
        height: 330px;
    }
}
