/* Social Proof Popup Styles */
:root {
    --kb-sp-bg: #fff;
    --kb-sp-text: #333;
    --kb-sp-radius: 50px;
    --kb-sp-border: none;
    --kb-sp-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    --kb-sp-img-radius: 10px;
    --kb-sp-img-border: none;
}

#kb-social-proof-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--kb-sp-bg);
    color: var(--kb-sp-text);
    border-radius: var(--kb-sp-radius);
    border: var(--kb-sp-border);
    box-shadow: var(--kb-sp-shadow);
    padding: 10px;
    display: flex;
    align-items: center;
    max-width: 350px;
    z-index: 9999;
    font-family: 'Arial', sans-serif;
    /* Use theme font if possible */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
    cursor: pointer;
}

#kb-social-proof-popup.kb-sp-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kb-sp-image-container {
    width: 60px;
    height: 60px;
    border-radius: var(--kb-sp-img-radius);
    border: var(--kb-sp-img-border);
    /* Slight roundness or full circle? Screenshot looks like stack of clothes, maybe just fit cover */
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 15px;
    background-color: #f0f0f0;
}

.kb-sp-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kb-sp-content {
    font-size: 14px;
    line-height: 1.4;
    color: inherit;
}

.kb-sp-content strong {
    font-weight: 600;
}

/* Specific styling for highlighted parts if we wrap them in spans */
.kb-sp-product-name {
    color: inherit;
    /* User requested to use same text color */
    font-weight: bold;
}

.kb-sp-customer-name {
    color: inherit;
    /* User requested to use same text color */
    font-weight: bold;
}

.kb-sp-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    color: #999;
    cursor: pointer;
    display: none;
    /* Hidden by default, show on hover maybe? */
}

#kb-social-proof-popup:hover .kb-sp-close {
    display: block;
}

@media (max-width: 480px) {
    #kb-social-proof-popup {
        left: 10px;
        bottom: 10px;
        right: 10px;
        max-width: none;
        border-radius: 15px;
    }
}