/* Row action context menu and toast notifications. */

.rowActionsMenu {
    position: fixed;
    z-index: 120;
    min-width: 170px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(16, 24, 40, 0.18);
}

.rowActionsMenu button {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 7px;
    padding: 8px 9px;
    background: transparent;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    font-size: 12px;
}

.rowActionsMenu button:hover {
    background: var(--surface-soft);
}

.rowActionsMenu button.danger {
    color: var(--danger);
}

.toastRegion {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 200;
    display: grid;
    gap: 8px;
    width: min(360px, calc(100% - 36px));
}

.toast {
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(16, 24, 40, 0.18);
    font-size: 13px;
    animation: toastIn 0.18s ease-out;
}

.toast.error {
    border-left-color: var(--danger);
}

.toast.success {
    border-left-color: var(--success);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

