/* Уведомления */
.notification-alert {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1060;
    min-width: 300px;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification-alert.alert-success {
    background-color: rgba(25, 135, 84, 0.95) !important;
    color: #fff !important;
    border-color: rgba(20, 108, 67, 0.9) !important;
}
.notification-alert.alert-success .btn-close {
    filter: brightness(0) invert(1);
}
.notification-alert.alert-info {
    background-color: rgba(13, 110, 253, 0.95) !important;
    color: #fff !important;
    border-color: rgba(10, 88, 202, 0.9) !important;
}
.notification-alert.alert-info .btn-close {
    filter: brightness(0) invert(1);
}
.notification-alert.alert-warning {
    background-color: rgba(255, 193, 7, 0.95) !important;
    color: #1a1a1a !important;
    border-color: rgba(230, 170, 0, 0.9) !important;
}
.notification-alert.alert-danger {
    background-color: rgba(220, 53, 69, 0.95) !important;
    color: #fff !important;
    border-color: rgba(176, 42, 55, 0.9) !important;
}
.notification-alert.alert-danger .btn-close {
    filter: brightness(0) invert(1);
}

.notification-achievement {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.95) 0%, rgba(255, 152, 0, 0.95) 100%) !important;
    border: 1px solid rgba(230, 170, 0, 0.9);
    color: #0d0d0d;
    opacity: 1;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}
.notification-achievement strong {
    color: #0d0d0d;
}
.notification-achievement .btn-close {
    filter: invert(1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .notification-alert {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

.alert {
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
