/**
 * Social Proof Notification – UniTV Recargas Pro
 * Aparência minimalista e elegante
 *
 * @since 1.0.0
 */

.urp-social-proof {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    max-width: 360px;
    width: calc(100% - 32px);
}

/* Posições */
.urp-social-proof--bottom-left {
    bottom: 24px;
    left: 16px;
}

.urp-social-proof--bottom-right {
    bottom: 24px;
    right: 16px;
}

.urp-social-proof--top-left {
    top: 24px;
    left: 16px;
}

.urp-social-proof--top-right {
    top: 24px;
    right: 16px;
}

/* Notificação */
.urp-sp-notification {
    pointer-events: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: urpSpSlideIn 0.4s ease-out;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.urp-sp-notification.urp-sp-hiding {
    opacity: 0;
    transform: translateY(10px);
}

.urp-sp-notification__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.urp-sp-notification__body {
    flex: 1;
    min-width: 0;
}

.urp-sp-notification__message {
    font-size: 0.88rem;
    color: #1f2937;
    line-height: 1.4;
    font-weight: 500;
    margin: 0;
}

.urp-sp-notification__time {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 2px;
}

.urp-sp-notification__close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    margin-top: -2px;
    transition: color 0.15s ease;
}

.urp-sp-notification__close:hover {
    color: #4b5563;
}

/* Animação de entrada */
@keyframes urpSpSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .urp-social-proof {
        max-width: calc(100% - 24px);
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .urp-sp-notification {
        padding: 12px 14px;
    }

    .urp-sp-notification__message {
        font-size: 0.82rem;
    }
}
