.notification-toast-region {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1500;
    display: grid;
    width: min(380px, calc(100vw - 32px));
    gap: 10px;
    pointer-events: none;
}

.notification-toast {
    display: grid;
    gap: 5px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3px solid #e4b34b;
    border-radius: 10px;
    background: #25282d;
    color: #f5f6f7;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
    font: inherit;
    text-align: left;
    cursor: pointer;
    pointer-events: auto;
    animation: notification-toast-in 180ms ease-out;
}

.notification-toast:hover,
.notification-toast:focus-visible {
    border-color: rgba(228, 179, 75, 0.55);
    background: #2d3036;
    outline: none;
}

.notification-toast-title,
.notification-toast-message,
.notification-toast-hint {
    display: block;
}

.notification-toast-title {
    font-weight: 700;
}

.notification-toast-message {
    color: #c9cdd2;
    font-size: 0.9rem;
    line-height: 1.4;
}

.notification-toast-hint {
    color: #e4b34b;
    font-size: 0.78rem;
    font-weight: 600;
}

.notification-toast-leaving {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease;
}

@keyframes notification-toast-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .notification-toast-region {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .notification-toast,
    .notification-toast-leaving {
        animation: none;
        transition: none;
    }
}
