/* Detroit Dawg Pound Social Proof Widget Styles */

#ddp-social-proof-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999999;
    max-width: 350px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(-120%);
    opacity: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

#ddp-social-proof-container.ddp-show {
    transform: translateX(0);
    opacity: 1;
}

#ddp-social-proof-container.ddp-social-proof-hidden {
    transform: translateX(-120%);
    opacity: 0;
}

.ddp-social-proof-content {
    display: flex;
    padding: 15px;
    position: relative;
    align-items: center;
    gap: 15px;
}

.ddp-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.ddp-close-btn:hover {
    color: #333;
}

.ddp-product-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
}

.ddp-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ddp-proof-details {
    flex: 1;
    min-width: 0;
    padding-right: 20px;
}

.ddp-customer-name {
    font-weight: 700;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.ddp-location {
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
}

.ddp-product-name {
    font-size: 13px;
    color: #1a1a1a;
    margin-bottom: 4px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
}

.ddp-time-ago {
    font-size: 11px;
    color: #999;
    margin-bottom: 6px;
}

.ddp-verified {
    display: flex;
    align-items: center;
    margin-top: 6px;
}

.ddp-verified-badge {
    height: 35px !important;
    width: auto;
    opacity: 0.85;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    #ddp-social-proof-container {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
        bottom: 10px;
    }
    
    .ddp-product-image {
        width: 60px;
        height: 60px;
    }
    
    .ddp-social-proof-content {
        padding: 12px;
        gap: 12px;
    }
}

/* Detroit/Pistons themed accent (optional enhancement) */
#ddp-social-proof-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C8102E 0%, #1D428A 100%);
}

/* Hover effect */
#ddp-social-proof-container:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

/* Animation for when product changes */
.ddp-proof-details.ddp-updating {
    animation: fadeContent 0.3s ease-in-out;
}

@keyframes fadeContent {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
