/**
 * DeMV Platform - NFT Notifications CSS
 * Styling for NFT marketplace notifications
 */

/* Notification Container */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
    pointer-events: none;
}

/* Individual Notification */
.notification {
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideIn 0.3s ease forwards;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    backdrop-filter: blur(5px);
    border-left: 4px solid transparent;
}

/* Notification Animation */
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.notification-removing {
    animation: slideOut 0.3s ease forwards;
}

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

/* Notification Types */
.notification-success {
    background-color: rgba(0, 200, 83, 0.9);
    color: white;
    border-left-color: #00c853;
}

.notification-error {
    background-color: rgba(244, 67, 54, 0.9);
    color: white;
    border-left-color: #d32f2f;
}

.notification-info {
    background-color: rgba(3, 169, 244, 0.9);
    color: white;
    border-left-color: #0288d1;
}

.notification-warning {
    background-color: rgba(255, 152, 0, 0.9);
    color: white;
    border-left-color: #f57c00;
}

/* Notification Icon */
.notification-icon {
    font-size: 1.2rem;
}

/* Notification Content */
.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin: 0 0 5px 0;
}

.notification-message {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Close Button */
.notification-close {
    background: none;
    border: none;
    color: white;
    opacity: 0.7;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    transition: opacity 0.2s;
}

.notification-close:hover {
    opacity: 1;
}

/* Progress Bar */
.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.7);
    animation: progress 5s linear forwards;
}

@keyframes progress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Cyberpunk Theme Enhancements */
.notification {
    border: 1px solid rgba(var(--accent-color-rgb), 0.5);
}

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

/* Dark Mode Adjustments */
@media (prefers-color-scheme: dark) {
    .notification {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification {
        padding: 12px 15px;
    }
    
    .notification-title {
        font-size: 0.95rem;
    }
    
    .notification-message {
        font-size: 0.85rem;
    }
}
