﻿.notification-container {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 360px;
    max-width: calc(100vw - 32px);
}

.notification-toast {
    background: #ffffff;
    border-left: 5px solid #0d6efd;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    padding: 14px 16px;
    animation: notification-slide-in .25s ease-out;
    cursor: pointer;
}

.notification-toast:hover {
    box-shadow: 0 12px 36px rgba(0,0,0,.24);
}

.notification-toast-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
    font-weight: 700;
}

.notification-toast-header span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.notification-toast-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .notification-toast-title span {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 15px;
    }

.notification-toast-time {
    color: #888;
    font-size: 12px;
    font-weight: 400;
}

.notification-toast-message {
    margin-top: 6px;
    color: #555;
    font-size: 14px;
}

.notification-toast-close {
    border: none;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    color: #777;
}

.notification-toast-link {
    margin-top: 8px;
    font-size: 13px;
    color: #0d6efd;
    font-weight: 600;
}

.notification-toast.chat {
    border-left-color: #0d6efd;
}

.notification-toast.urgent {
    border-left-color: #dc3545;
}

.notification-toast.success {
    border-left-color: #198754;
}

@keyframes notification-slide-in {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification-toast.hiding {
    animation: notification-slide-out .25s ease-in forwards;
}

@keyframes notification-slide-out {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(40px);
    }
}