/* Стили уведомлений для OpenRust */

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateX(100%);
    transition: all 0.3s ease;
    max-width: 300px;
    backdrop-filter: blur(10px);
}

.notification.notification-show {
    transform: translateX(0);
}

.notification.notification-hide {
    transform: translateX(100%);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-content i {
    font-size: 1.2rem;
}

/* Типы уведомлений */
.notification-success {
    border-left: 4px solid #28a745;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(32, 201, 151, 0.1));
}

.notification-success i {
    color: #28a745;
}

.notification-error {
    border-left: 4px solid #dc3545;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(200, 35, 51, 0.1));
}

.notification-error i {
    color: #dc3545;
}

.notification-warning {
    border-left: 4px solid #ffc107;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(224, 168, 0, 0.1));
}

.notification-warning i {
    color: #ffc107;
}

.notification-info {
    border-left: 4px solid #17a2b8;
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.2), rgba(19, 132, 150, 0.1));
}

.notification-info i {
    color: #17a2b8;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .notification {
        top: 80px;
        right: 15px;
        left: 15px;
        max-width: calc(100% - 30px);
    }
}
