/* Система уведомлений - Dark Theme */
.notification-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.notification {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease;
    border-left: 4px solid #667eea;
}

.notification.success {
    border-left-color: #10b981;
}

.notification.error {
    border-left-color: #ef4444;
}

.notification.warning {
    border-left-color: #f59e0b;
}

.notification.info {
    border-left-color: #3b82f6;
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.notification.success .notification-icon {
    background: rgba(16, 185, 129, 0.2);
}

.notification.error .notification-icon {
    background: rgba(239, 68, 68, 0.2);
}

.notification.warning .notification-icon {
    background: rgba(245, 158, 11, 0.2);
}

.notification.info .notification-icon {
    background: rgba(59, 130, 246, 0.2);
}

.notification.success .notification-icon::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
}

.notification.error .notification-icon::before {
    content: '✕';
    color: #ef4444;
    font-weight: bold;
}

.notification.warning .notification-icon::before {
    content: '⚠';
    color: #f59e0b;
}

.notification.info .notification-icon::before {
    content: 'ℹ';
    color: #3b82f6;
    font-weight: bold;
}

.notification-content {
    flex: 1;
}

.notification-message {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.notification-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

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

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

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

/* Адаптивность */
@media (max-width: 768px) {
    .notification-container {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
    
    .notification {
        padding: 14px 16px;
    }
    
    .notification-message {
        font-size: 13px;
    }
}
