/**
 * Social Proof Notifications Styling
 *
 * @package WeymanBusinessHub
 */

/* Notification Container */
.whdr-social-proof-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transform: translateX(-120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.3s ease;
    opacity: 0;
    z-index: 999999;
    backdrop-filter: blur(10px);
    border-left: 4px solid #d63638;
}

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

/* Icon */
.whdr-sp-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Content */
.whdr-sp-content {
    flex: 1;
    min-width: 0;
}

.whdr-sp-message {
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
    margin-bottom: 4px;
}

.whdr-sp-message strong {
    font-weight: 600;
    color: #d63638;
}

.whdr-sp-message .vehicle-name {
    font-weight: 500;
    color: #000000;
}

.whdr-sp-time {
    font-size: 12px;
    color: #666666;
}

/* Close Button */
.whdr-sp-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #999999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.whdr-sp-close:hover {
    color: #000000;
}

/* Hover Effect */
.whdr-social-proof-notification:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whdr-social-proof-notification {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
}

/* Dark Theme Support */
@media (prefers-color-scheme: dark) {
    .whdr-social-proof-notification {
        background: #1a1a1a;
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.05);
    }

    .whdr-sp-message {
        color: #ffffff;
    }

    .whdr-sp-message .vehicle-name {
        color: #ffffff;
    }

    .whdr-sp-time {
        color: #aaaaaa;
    }

    .whdr-sp-close:hover {
        color: #ffffff;
    }
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateX(-120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-120%);
        opacity: 0;
    }
}
