﻿
/* Notifications System */

.notification-container {
    position: fixed;
    right: 0.781rem;
    bottom: 0.781rem;
    display: flex;
    flex-direction: column;
    gap: 0.391rem;
    width: 16rem;
    z-index: 10000;
    pointer-events: none;
}

.notification {
    display: flex;
    align-items: center;
    gap: 0.547rem;
    padding: 0.781rem 1rem;
    background: #17191d;
    border: 1px solid #353941;
    border-radius: 0.313rem;
    color: #e8eaf0;
    box-shadow: 0 0.391rem 1.172rem rgba(0, 0, 0, .45);
    animation: notification-in 0.2s ease-out;
    font-size: 0.844rem;
    pointer-events: auto;
}

.notification-icon {
    flex-shrink: 0;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
}

.notification-message {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
}

.notification.closing {
    animation: notification-out 0.2s ease-in forwards;
}

@keyframes notification-in {
    from {
        opacity: 0;
        transform: translateX(1.172rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes notification-out {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(1.172rem);
    }
}