.liloo-socialproof-root {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 1035;
    pointer-events: none;
    max-width: min(22rem, calc(100vw - 2.5rem));
}

.liloo-socialproof-root--right {
    left: auto;
    right: 1.25rem;
}

.liloo-socialproof-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: #fff;
    color: #111b21;
    border-radius: 0.625rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.liloo-socialproof-toast--visible {
    opacity: 1;
    transform: translateY(0);
}

.liloo-socialproof-toast--leaving {
    opacity: 0;
    transform: translateY(8px);
}

.liloo-socialproof-toast__icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.liloo-socialproof-toast__body {
    flex: 1;
    min-width: 0;
}

.liloo-socialproof-toast__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
    font-weight: 500;
    color: #000;
}

.liloo-socialproof-toast__text strong {
    font-weight: 700;
    color: #000;
}

.liloo-socialproof-toast__meta {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #667781;
}

.liloo-socialproof-toast__close {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: #8696a0;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0;
    margin: -0.15rem -0.25rem 0 0;
    cursor: pointer;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.15s ease, background 0.15s ease;
}

.liloo-socialproof-toast__close:hover {
    color: #111b21;
    background: rgba(0, 0, 0, 0.06);
}

@media (max-width: 575.98px) {
    .liloo-socialproof-root {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 5.5rem;
        max-width: none;
    }

    .liloo-socialproof-root--right {
        left: 0.75rem;
        right: 0.75rem;
    }
}

[data-bs-theme="dark"] .liloo-socialproof-toast {
    background: #233138;
    border-color: rgba(255, 255, 255, 0.08);
    color: #e9edef;
}

[data-bs-theme="dark"] .liloo-socialproof-toast__text,
[data-bs-theme="dark"] .liloo-socialproof-toast__text strong {
    color: #e9edef;
}

[data-bs-theme="dark"] .liloo-socialproof-toast__meta {
    color: #8696a0;
}

[data-bs-theme="dark"] .liloo-socialproof-toast__close:hover {
    color: #e9edef;
    background: rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: reduce) {
    .liloo-socialproof-toast {
        transition: opacity 0.15s ease;
        transform: none;
    }
    .liloo-socialproof-toast--visible,
    .liloo-socialproof-toast--leaving {
        transform: none;
    }
}
