/* ============================================
   Social Proof Popup Bubble (SW-265)
   Toast-style notification for Instant Quote page
   ============================================ */

.srm-social-proof-bubble {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9990;
    max-width: 380px;
    width: calc(100% - 48px);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 18px 44px 18px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    border-left: 4px solid #5EBF40;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.srm-social-proof-bubble.srm-sp-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.srm-social-proof-bubble.srm-sp-dismissing {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.3s ease-in, transform 0.3s ease-in;
}

.srm-social-proof-bubble .srm-sp-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #EBF7E6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}

.srm-social-proof-bubble .srm-sp-content {
    flex: 1;
    min-width: 0;
}

.srm-social-proof-bubble .srm-sp-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
    margin: 0;
    font-weight: 400;
}

.srm-social-proof-bubble .srm-sp-text strong {
    color: #142F57;
    font-weight: 700;
}

.srm-social-proof-bubble .srm-sp-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #999999;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    transition: background 0.2s, color 0.2s;
}

.srm-social-proof-bubble .srm-sp-close:hover {
    background: #f0f0f0;
    color: #333333;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 480px) {
    .srm-social-proof-bubble {
        bottom: 16px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
        padding: 14px 40px 14px 14px;
        gap: 10px;
    }

    .srm-social-proof-bubble .srm-sp-icon {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }

    .srm-social-proof-bubble .srm-sp-text {
        font-size: 13px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .srm-social-proof-bubble {
        transition: opacity 0.15s ease;
        transform: none !important;
    }

    .srm-social-proof-bubble.srm-sp-dismissing {
        transition: opacity 0.15s ease;
        transform: none !important;
    }
}
