/* Social Proof Notification Styling */
.sp-notification {
    position: fixed;
    z-index: 2147483647;
    /* Max Z-Index */
    background: #ffffff;
    color: #333;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 300px;
    max-width: 380px;
    /* opacity: 0; */
    /* visibility: hidden; */
    font-family: 'Inter', sans-serif;
    border-left: 4px solid #2563eb;
    /* Default Accent */

    /* Animation Initial State */
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    /* transform: translateY(20px) scale(0.95); */
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bounce effect */
}

/* Modern Layout overrides */
.sp-notification.mode-modern {
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Dark Mode Support (using data-theme) */
[data-theme="dark"] .sp-notification {
    background: #18181b;
    /* Zinc 900 */
    color: #f4f4f5;
    border-left-color: #3b82f6;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Active State */
.sp-notification.sp-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Positioning & Specific Animations */
.sp-bottom-left {
    bottom: 20px;
    left: 20px;
    transform: translateX(-50px);
}

.sp-bottom-left.sp-show {
    transform: translateX(0);
}

.sp-bottom-right {
    bottom: 20px;
    right: 20px;
    transform: translateX(50px);
}

.sp-bottom-right.sp-show {
    transform: translateX(0);
}


/* Image Wrapper */
.sp-modern-img-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.sp-modern-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #e4e4e7;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .sp-modern-img {
    border-color: #27272a;
    background: #27272a;
}

/* Content */
.sp-modern-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sp-modern-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2px;
}

.sp-modern-subtitle {
    font-size: 0.75rem;
    color: #71717a;
    /* Zinc 500 */
}

[data-theme="dark"] .sp-modern-subtitle {
    color: #a1a1aa;
    /* Zinc 400 */
}

/* Badge */
.sp-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #059669;
    /* Emerald 600 */
    margin-top: 4px;
}

[data-theme="dark"] .sp-verified-badge {
    color: #34d399;
    /* Emerald 400 */
}

.sp-verified-icon {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

/* Close Button */
.sp-close-modern {
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 16px;
    color: #a1a1aa;
    cursor: pointer;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.2s;
}

.sp-notification:hover .sp-close-modern {
    opacity: 1;
}