.app-notifications {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(420px, calc(100% - 32px));
    z-index: 10000;
    pointer-events: none;
}

.app-notifications__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-notifications__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
    pointer-events: auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.app-notifications__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.app-notifications__item--info {
    background: rgba(45, 55, 72, 0.95);
}

.app-notifications__item--success {
    background: rgba(22, 101, 52, 0.95);
}

.app-notifications__item--warning {
    background: rgba(245, 158, 11, 0.95);
}

.app-notifications__item--error {
    background: rgba(185, 28, 28, 0.95);
}

.app-notifications__content {
    flex: 1 1 auto;
    min-width: 0;
}

.app-notifications__title {
    margin: 0 0 4px;
    font-weight: 400;
    font-size: 14px;
}

.app-notifications__message {
    margin: 0;
    word-wrap: break-word;
}

.app-notifications__actions {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.app-notifications__action {
    border: none;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.18);
    color: inherit;
    transition: background 0.2s ease, color 0.2s ease;
}

.app-notifications__action:hover,
.app-notifications__action:focus-visible {
    background: rgba(255, 255, 255, 0.3);
    outline: none;
}

.app-notifications__action--primary {
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
}

.app-notifications__action--danger {
    background: rgba(239, 68, 68, 0.95);
    color: #ffffff;
}

.app-notifications__action--secondary {
    background: rgba(255, 255, 255, 0.18);
    color: inherit;
}

.app-notifications__close {
    border: none;
    background: transparent;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.app-notifications__close:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

.app-toast-enter-active,
.app-toast-leave-active {
    transition: all 0.25s ease;
}

.app-toast-enter-from,
.app-toast-leave-to {
    opacity: 0;
    transform: translateY(-12px);
}
