/* Notifications Widget Styles */

.notifications-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 320px;
    pointer-events: none;
}

.notification-card {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.notification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

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

.notification-card.hide {
    opacity: 0;
    transform: translateX(400px);
}

.notification-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.notification-content {
    min-width: 0;
}

.notification-text {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 4px;
    word-wrap: break-word;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Nunito', sans-serif;
}

.notification-time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Nunito', sans-serif;
}

/* Hover effect */
.notification-card:hover {
    transform: translateX(-5px) scale(1.02);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

/* Desktop only — hide on tablets and phones */
@media (max-width: 768px) {
    .notifications-widget {
        display: none !important;
    }
}

/* Animation keyframes */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(400px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(400px);
    }
}

