/* ===========================
   SOCIAL PROOF NOTIFICATIONS
   =========================== */

#socialProofContainer {
    position: fixed;
    top: 100px;
    left: 20px;
    z-index: 9999;
    pointer-events: none;
}

.social-proof-notification {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #FF8C00;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 360px;
    max-width: 420px;
    transform: translateX(-120%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    cursor: pointer;
}

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

.social-proof-notification.hide {
    transform: translateX(-120%);
    opacity: 0;
}

.social-proof-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #FF8C00 0%, #FFA033 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 20px rgba(255, 140, 0, 0.5);
    }
}

.social-proof-content {
    flex: 1;
}

.social-proof-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0A3D5C;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.social-proof-action {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #2C3E50;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.social-proof-time {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #FF8C00;
    margin-top: 0.5rem;
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 160, 51, 0.15) 100%);
    border-radius: 6px;
    border: 1px solid rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-proof-notification:hover .social-proof-time {
    background: linear-gradient(135deg, #FF8C00 0%, #FFA033 100%);
    color: white;
    border-color: #FF8C00;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}

.social-proof-close {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #8A9AA8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.2s ease;
    line-height: 1;
}

.social-proof-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #0A3D5C;
}

/* Badge styles for different types */
.social-proof-notification.ebook .social-proof-icon {
    background: linear-gradient(135deg, #219EBC 0%, #0A3D5C 100%);
}

.social-proof-notification.ebook {
    border-left-color: #219EBC;
}

/* Responsive */
@media (max-width: 768px) {
    /* Ocultar social proof en móvil - estorba en pantallas pequeñas */
    #socialProofContainer {
        display: none !important;
    }
}
