.sg-assistant {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 2000;
}

.sg-assistant__toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sg-assistant__toggle:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

.sg-assistant__panel {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 380px;
    height: 500px;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    overflow: hidden;
}

.sg-assistant__panel.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.sg-assistant__header {
    padding: 1.25rem;
    background: var(--accent);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sg-assistant__messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sg-msg__bubble {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    max-width: 85%;
    font-size: 0.9rem;
}

.sg-msg--bot .sg-msg__bubble {
    background: var(--border-color);
    color: var(--text-main);
    border-bottom-left-radius: 4px;
}

.sg-msg--user .sg-msg__bubble {
    background: var(--accent);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* Адаптація для мобільних */
@media (max-width: 480px) {
    .sg-assistant__panel {
        right: 10px;
        left: 10px;
        width: auto;
        bottom: 80px;
        height: 70vh;
    }
}