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

.notification {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(30, 30, 30, 0.98));
    border: 2px solid;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideInRight 0.3s ease-out;
    pointer-events: auto;
    min-width: 300px;
}

.notification.hiding {
    animation: slideOutRight 0.3s ease-in forwards;
}

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

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

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.3s;
    flex-shrink: 0;
}

.notification-close:hover {
    color: var(--text-primary);
}

/* Success */
.notification.success {
    border-color: #4caf50;
}

.notification.success .notification-icon {
    color: #4caf50;
}

/* Error */
.notification.error {
    border-color: #f44336;
}

.notification.error .notification-icon {
    color: #f44336;
}

/* Warning */
.notification.warning {
    border-color: var(--secondary-color);
}

.notification.warning .notification-icon {
    color: var(--secondary-color);
}

/* Info */
.notification.info {
    border-color: #2196F3;
}

.notification.info .notification-icon {
    color: #2196F3;
}

/* Responsive */
@media (max-width: 768px) {
    .notification-container {
        top: 70px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .notification {
        min-width: auto;
        padding: 0.875rem 1.25rem;
    }

    .notification-content {
        font-size: 0.9rem;
    }
}
